Re: move carp interface pointers from struct ifnet to struct arpcom
On 15/01/18(Mon) 14:07, David Gwynne wrote: > both ethernet and carp interfaces use arpcom, so we can put the pointers > there instead of wasting space in struct ifnet. Why? What is the problem with having it in 'struct ifnet'? > Index: net/if.c >
move carp interface pointers from struct ifnet to struct arpcom
both ethernet and carp interfaces use arpcom, so we can put the pointers there instead of wasting space in struct ifnet. ok? Index: net/if.c === RCS file: /cvs/src/sys/net/if.c,v retrieving revision 1.538 diff -u -p -r1.538 if.c ---