Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 May 1998 20:41:38 -0700 (PDT)
From:      Archie Cobbs <archie@whistle.com>
To:        wes@softweyr.com (Wes Peters)
Cc:        freebsd-net@FreeBSD.ORG
Subject:   Re: Help with RAW sockets...
Message-ID:  <199805120341.UAA23360@bubba.whistle.com>
In-Reply-To: <199805112153.PAA12212@softweyr.com> from Wes Peters at "May 11, 98 03:53:22 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
Wes Peters writes:
> 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!

Your task might be easier by using BPF.. 

-Archie

___________________________________________________________________________
Archie Cobbs   *   Whistle Communications, Inc.  *   http://www.whistle.com

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199805120341.UAA23360>