Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Mar 1999 16:57:55 -0800
From:      Tom Brown <tomb@heliox.com>
To:        hackers@freebsd.org
Subject:   How do I write to the /dev/bpf0 interface?
Message-ID:  <37017313.6981CEE4@heliox.com>

next in thread | raw e-mail | index | archive | help
Hi
I'm busy trying to simulate spanning tree protocol on a collection of
BSD machines (2.2.8).

I have configured the bpf0 interface and can noe read from it with no
problems.

What I need to do now is write my pre formated ethernet frame.  I have
tried in perl to open the device and write to it via a filehandle.  I
have also tried to write to it on the command line.

Can anyone please tell me how to post a packet onto my LAN via this
interface.

Thanks in advance,

Tom Brown


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




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