Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Mar 1999 09:53:57 +0200
From:      Graham Wheeler <gram@cdsec.com>
To:        Tom Brown <tomb@heliox.com>, hackers@freebsd.org
Subject:   Re: How do I write to the /dev/bpf0 interface?
Message-ID:  <3701D495.1857BF9D@cdsec.com>
References:  <37017313.6981CEE4@heliox.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Tom Brown wrote:

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

You should just be able to write the frame. Make sure everything is in
network-byte order. You needn't put in a source Ethernet address as that
will get filled in, but you do need to put in a destination.
-- 
Dr Graham Wheeler                          E-mail: gram@cdsec.com
Citadel Data Security                      Phone:  +27(21)423-6065/6/7
Firewalls/Virtual Private Networks         Fax:    +27(21)24-3656
Internet/Intranet Network Specialists      
Data Security Products                     WWW:    http://www.cdsec.com/


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?3701D495.1857BF9D>