From owner-freebsd-net@FreeBSD.ORG Wed Jan 30 11:49:30 2013 Return-Path: Delivered-To: net@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 971FB66B for ; Wed, 30 Jan 2013 11:49:30 +0000 (UTC) (envelope-from glebius@FreeBSD.org) Received: from cell.glebius.int.ru (glebius.int.ru [81.19.69.10]) by mx1.freebsd.org (Postfix) with ESMTP id 243E823E for ; Wed, 30 Jan 2013 11:49:29 +0000 (UTC) Received: from cell.glebius.int.ru (localhost [127.0.0.1]) by cell.glebius.int.ru (8.14.6/8.14.6) with ESMTP id r0UBnMRj085909; Wed, 30 Jan 2013 15:49:22 +0400 (MSK) (envelope-from glebius@FreeBSD.org) Received: (from glebius@localhost) by cell.glebius.int.ru (8.14.6/8.14.6/Submit) id r0UBnMRn085908; Wed, 30 Jan 2013 15:49:22 +0400 (MSK) (envelope-from glebius@FreeBSD.org) X-Authentication-Warning: cell.glebius.int.ru: glebius set sender to glebius@FreeBSD.org using -f Date: Wed, 30 Jan 2013 15:49:22 +0400 From: Gleb Smirnoff To: Andre Oppermann Subject: Re: [patch] good bye sockaddr_inarp Message-ID: <20130130114922.GG84981@glebius.int.ru> References: <20130130092544.GA84981@FreeBSD.org> <510907DC.3040900@networx.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <510907DC.3040900@networx.ch> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: net@FreeBSD.org X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.14 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, 30 Jan 2013 11:49:30 -0000 On Wed, Jan 30, 2013 at 12:45:32PM +0100, Andre Oppermann wrote: A> On 30.01.2013 10:25, Gleb Smirnoff wrote: A> > Hello! A> > A> > It looks to me that the only thing the sockaddr_inarp was A> > ever used for is to carry the SIN_PROXY flag. A> > A> > The SIN_PROXY flag in its turn, meant install a "proxy only" A> > ARP entry. Such entry behaves as any "published" entry, but A> > doesn't modify the routing table of the host. A> > A> > Please correct me, if I am wrong in the above ^^. A> A> Proxy arp is used for ppp for example when the remote end is A> given an IP address from a locally connected network. Usually A> the IP address was obtained via DHCP. The ppp server then A> installs a proxy ARP entry for this IP address to receive all A> packets for it and forward them over the PPP link. I understand that, thanks :) This functionality isn't broken by my change. -- Totus tuus, Glebius.