From owner-freebsd-net Tue Jan 22 12:26: 6 2002 Delivered-To: freebsd-net@freebsd.org Received: from web10005.mail.yahoo.com (web10005.mail.yahoo.com [216.136.130.41]) by hub.freebsd.org (Postfix) with SMTP id 9CC5C37B405 for ; Tue, 22 Jan 2002 12:25:56 -0800 (PST) Message-ID: <20020122202554.77694.qmail@web10005.mail.yahoo.com> Received: from [206.181.208.240] by web10005.mail.yahoo.com via HTTP; Tue, 22 Jan 2002 12:25:54 PST Date: Tue, 22 Jan 2002 12:25:54 -0800 (PST) From: Kenneth Stailey Subject: Re: ARP API documentation? To: freebsd-net@FreeBSD.ORG In-Reply-To: <20020122192851.D58453@sunbay.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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 --- Ruslan Ermilov wrote: > 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). How is ARP documented without using the word "ARP"? $ man 4 route | grep -i arp | wc -l 0 Seems the old ioctl(2) interface to ARP had better documentation than that. > 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 __________________________________________________ Do You Yahoo!? Send FREE video emails in Yahoo! Mail! http://promo.yahoo.com/videomail/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message