From owner-freebsd-net Mon May 11 14:53:27 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA28182 for freebsd-net-outgoing; Mon, 11 May 1998 14:53:27 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from softweyr.com ([204.68.178.33]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA28175 for ; Mon, 11 May 1998 14:53:21 -0700 (PDT) (envelope-from wes@softweyr.com) Received: (from wes@localhost) by softweyr.com (8.8.8/8.8.7) id PAA12212 for freebsd-net@freebsd.org; Mon, 11 May 1998 15:53:22 -0600 (MDT) (envelope-from wes) From: Wes Peters Message-Id: <199805112153.PAA12212@softweyr.com> Subject: Help with RAW sockets... To: freebsd-net@FreeBSD.ORG Date: Mon, 11 May 1998 15:53:22 -0600 (MDT) X-Mailer: ELM [version 2.4ME+ PL32 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I'm trying to write a program to send specially formatted ARP requests and replies to the ethernet broadcast address. This tool will be used to debug ARP responses. I think I should be able to do this with a SOCK_RAW,IPPROTO_RAW socket, but just do not grock what address to use in the sendto calls. Can anyone here in FreeBSD net land help me? Suggestions, snippets of source, any help at all will be greatly appreciated. Thanks! -- "Where am I, and what am I doing in this handbasket?" Wes Peters Softweyr LLC http://www.softweyr.com/~softweyr wes@softweyr.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message