From owner-freebsd-net@FreeBSD.ORG Wed May 21 22:14:37 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B218F106566B for ; Wed, 21 May 2008 22:14:37 +0000 (UTC) (envelope-from ndenev@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.237]) by mx1.freebsd.org (Postfix) with ESMTP id 847DC8FC20 for ; Wed, 21 May 2008 22:14:37 +0000 (UTC) (envelope-from ndenev@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so3056674rvf.43 for ; Wed, 21 May 2008 15:14:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; bh=4CkiR5v4+cml67own8pAE6i3ozBGy+UiwJRBz5OU288=; b=OhS+f23c79Jz/O4yqdh8dj1kEKZQ32A5ocL0yoNisA6DsnIdD6k8vjM43y0CKFv3MEdhaXfUL1i5bIHqofWvJraQLY1tYC0p3XOCk7hDCgDZvjXPtDZdPbzJaMLeSxRAnbm45v9jooFvn5/W3D4oT6Chx0hZOgrRIwA8aWsv8eE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=p5IJTDa1uCKn5azQjdbPspqnXIKhsG38F85wRKygWCDATDspYMZu2d3jqsk5anzg2GNCgcSHu3xsBAuP5ULI42QG3AFaJkyJ3zCUiecfDKK4A8vu/dMFQejlemstKEvNvGsb3pmNPACiUXavHmDSwEPSf56bSP3a+v2Rtm+yacI= Received: by 10.141.190.9 with SMTP id s9mr5435421rvp.110.1211408077184; Wed, 21 May 2008 15:14:37 -0700 (PDT) Received: by 10.141.171.3 with HTTP; Wed, 21 May 2008 15:14:37 -0700 (PDT) Message-ID: <2e77fc10805211514q59dd0eadkac2edce50d6c22f7@mail.gmail.com> Date: Thu, 22 May 2008 01:14:37 +0300 From: "Niki Denev" Sender: ndenev@gmail.com To: "Max Laier" In-Reply-To: <200805212332.13993.max@love2party.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <2e77fc10805211031n6c42ffd2u3dee28164094b83b@mail.gmail.com> <200805212305.58235.max@love2party.net> <2e77fc10805211422q75603d54h5709ed3e5be37d0a@mail.gmail.com> <200805212332.13993.max@love2party.net> X-Google-Sender-Auth: dc0909361e48dcb7 Cc: freebsd-net@freebsd.org Subject: Re: lagg0.2 style vlans on lagg(4) interface X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 May 2008 22:14:37 -0000 On Thu, May 22, 2008 at 12:32 AM, Max Laier wrote: > On Wednesday 21 May 2008 23:22:52 Niki Denev wrote: >> On Thu, May 22, 2008 at 12:05 AM, Max Laier 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? Niki