From owner-freebsd-net Tue Jan 22 9:22:17 2002 Delivered-To: freebsd-net@freebsd.org Received: from web10003.mail.yahoo.com (web10003.mail.yahoo.com [216.136.130.39]) by hub.freebsd.org (Postfix) with SMTP id 9A4D937B400 for ; Tue, 22 Jan 2002 09:22:14 -0800 (PST) Message-ID: <20020122172212.14879.qmail@web10003.mail.yahoo.com> Received: from [206.181.208.240] by web10003.mail.yahoo.com via HTTP; Tue, 22 Jan 2002 09:22:12 PST Date: Tue, 22 Jan 2002 09:22:12 -0800 (PST) From: Kenneth Stailey Subject: ARP API documentation? To: freebsd-net@FreeBSD.ORG 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 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? Thanks, Ken __________________________________________________ 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