On Thursday 22 May 2008 00:14:37 Niki Denev wrote: > On Thu, May 22, 2008 at 12:32 AM, Max Laier <[EMAIL PROTECTED]> wrote: > > On Wednesday 21 May 2008 23:22:52 Niki Denev wrote: > >> On Thu, May 22, 2008 at 12:05 AM, Max Laier <[EMAIL PROTECTED]> wrote: > >> > Looks good, though I'd probably move up the _INVOKE to before the > >> > ARPs are sent out. Probably between twiddling the hardware and > >> > sending ARPs (though that needs an else-case if the interface is > > > > ^------------------------------------------------- > > > >> > still down). In fact the ARPs could be sent from an event hook, > >> > too. > > > > ---------^ > > > >> > This would get rid of INET specific code in the LL-interface > >> > code. > >> > >> I thought about moving it up too, but in this case isn't it going to > >> be called only if the interface is up (IFF_UP)? > > > > See above. > > Oh, I've missed that. > > So, generating ARPs from an event handler looks to like the best > solution. But in that case what would be the correct place for it? > if_ethersubr.c and the others (fw,fddi,arc...) that may use ARP?
I think if_ether.c would be good, where arp_ifinit() is. -- /"\ Best regards, | [EMAIL PROTECTED] \ / Max Laier | ICQ #67774661 X http://pf4freebsd.love2party.net/ | [EMAIL PROTECTED] / \ ASCII Ribbon Campaign | Against HTML Mail and News _______________________________________________ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "[EMAIL PROTECTED]"