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)
Oct 1 2024, 1:39 PM
Unknown Object (File)
Sep 18 2024, 8:21 PM
Unknown Object (File)
Sep 12 2024, 1:16 AM
Unknown Object (File)
Sep 8 2024, 8:09 AM
Unknown Object (File)
Sep 7 2024, 9:43 PM
Unknown Object (File)
Sep 7 2024, 5:43 AM
Unknown Object (File)
Aug 31 2024, 11:22 PM
Unknown Object (File)
Aug 31 2024, 7:09 PM
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.