Re: move carp interface pointers from struct ifnet to struct arpcom

2018-01-15 Thread Martin Pieuchot
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

2018-01-14 Thread David Gwynne
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 ---