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)
Wed, Sep 16, 1:32 AM
Unknown Object (File)
Thu, Sep 10, 9:40 PM
Unknown Object (File)
Sun, Sep 6, 6:05 PM
Unknown Object (File)
Sun, Sep 6, 9:22 AM
Unknown Object (File)
Sat, Sep 5, 2:56 PM
Unknown Object (File)
Sat, Sep 5, 2:40 PM
Unknown Object (File)
Sat, Sep 5, 4:28 AM
Unknown Object (File)
Fri, Sep 4, 3:11 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.