From owner-freebsd-net Tue Jan 22 9:29:24 2002 Delivered-To: freebsd-net@freebsd.org Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by hub.freebsd.org (Postfix) with ESMTP id 2A88F37B417 for ; Tue, 22 Jan 2002 09:29:07 -0800 (PST) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.11.6/8.11.2) id g0MHSpm60781; Tue, 22 Jan 2002 19:28:51 +0200 (EET) (envelope-from ru) Date: Tue, 22 Jan 2002 19:28:51 +0200 From: Ruslan Ermilov To: Kenneth Stailey Cc: freebsd-net@FreeBSD.ORG Subject: Re: ARP API documentation? Message-ID: <20020122192851.D58453@sunbay.com> References: <20020122172212.14879.qmail@web10003.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020122172212.14879.qmail@web10003.mail.yahoo.com> User-Agent: Mutt/1.3.23i Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Tue, Jan 22, 2002 at 09:22:12AM -0800, Kenneth Stailey wrote: > Hi, > > I search and search but cannot find any documentation on the user-space level > API for ARP. I know of only two code examples in the tree (usr.sbin/arp/arp.c > and usr.sbin/ppp/arp.c) and I do not wish to play guessing games about the > protocol. > > It's clear that you open a PF_ROUTE raw socket and write a message to it to > manipulate the ARP tables. Is the format of the message documented anywhere? > route(4). Cheers, -- Ruslan Ermilov Oracle Developer/DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message