Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 May 2008 00:41:24 +0200
From:      Max Laier <max@love2party.net>
To:        "Niki Denev" <nike_d@cytexbg.com>
Cc:        freebsd-net@freebsd.org
Subject:   Re: lagg0.2 style vlans on lagg(4) interface
Message-ID:  <200805220041.24096.max@love2party.net>
In-Reply-To: <2e77fc10805211514q59dd0eadkac2edce50d6c22f7@mail.gmail.com>
References:  <2e77fc10805211031n6c42ffd2u3dee28164094b83b@mail.gmail.com> <200805212332.13993.max@love2party.net> <2e77fc10805211514q59dd0eadkac2edce50d6c22f7@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 22 May 2008 00:14:37 Niki Denev wrote:
> On Thu, May 22, 2008 at 12:32 AM, Max Laier <max@love2party.net> wrote:
> > On Wednesday 21 May 2008 23:22:52 Niki Denev wrote:
> >> On Thu, May 22, 2008 at 12:05 AM, Max Laier <max@love2party.net> 
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,                      | mlaier@freebsd.org
\ /  Max Laier                          | ICQ #67774661
 X   http://pf4freebsd.love2party.net/  | mlaier@EFnet
/ \  ASCII Ribbon Campaign              | Against HTML Mail and News



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200805220041.24096.max>