Page MenuHomeFreeBSD

Constantify lookup key in ifa_ifwith* functions.
ClosedPublic

Authored by melifaro on Aug 23 2015, 10:55 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Nov 13, 11:17 PM
Unknown Object (File)
Thu, Nov 13, 11:16 PM
Unknown Object (File)
Thu, Nov 13, 11:16 PM
Unknown Object (File)
Thu, Nov 13, 8:32 PM
Unknown Object (File)
Thu, Nov 13, 8:28 PM
Unknown Object (File)
Wed, Nov 12, 1:31 AM
Unknown Object (File)
Wed, Nov 5, 10:03 PM
Unknown Object (File)
Oct 8 2025, 11:33 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.