cvs commit: src/sys/net if.c if_vlan.c
Luigi Rizzo
luigi at FreeBSD.org
Sat Apr 24 15:24:48 PDT 2004
luigi 2004/04/24 15:24:48 PDT
FreeBSD src repository
Modified files:
sys/net if.c if_vlan.c
Log:
arpcom untangling:
consistently with the rest of the code, use IFP2AC(ifp) to access
the arpcom structure given the ifp.
In this case also fix a difference in assumptions WRT the rest of
the net/ sources: it is not the 'struct *softc' that starts with a
'struct arpcom', but a 'struct arpcom' that starts with a
'struct ifnet'
Revision Changes Path
1.191 +2 -2 src/sys/net/if.c
1.58 +1 -1 src/sys/net/if_vlan.c
More information about the cvs-src
mailing list