Page MenuHomeFreeBSD

Constantify lookup key in ifa_ifwith* functions.
ClosedPublic

Authored by melifaro on Aug 23 2015, 10:55 AM.
Tags
None
Referenced Files
F148055249: D3464.diff
Sun, Mar 15, 11:21 AM
Unknown Object (File)
Mon, Mar 9, 4:20 PM
Unknown Object (File)
Thu, Mar 5, 4:21 PM
Unknown Object (File)
Thu, Mar 5, 4:29 AM
Unknown Object (File)
Sun, Feb 15, 5:18 PM
Unknown Object (File)
Dec 7 2025, 6:17 PM
Unknown Object (File)
Nov 30 2025, 10:39 AM
Unknown Object (File)
Nov 28 2025, 2:15 AM
Subscribers

Details

Summary

Some places in our network stack already have const
arguments (like if_output() routines and LLE functions).

Code using ifa_ifwith (and similar functins) along with
LLE/_output functions is currently bound to use tricks
like __DECONST(). Provide a cleaner way by making sockaddr
lookup key really constant.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

melifaro retitled this revision from to Constantify lookup key in ifa_ifwith* functions..
melifaro updated this object.
melifaro edited the test plan for this revision. (Show Details)
melifaro added a reviewer: network.
ae added a reviewer: ae.
This revision is now accepted and ready to land.Sep 4 2015, 9:22 AM
This revision was automatically updated to reflect the committed changes.