Date: Wed, 17 Sep 1997 18:52:49 +0000 (GMT) From: Terry Lambert <tlambert@primenet.com> To: mike@smith.net.au (Mike Smith) Cc: stt@casper.cpe.ku.ac.th, hackers@FreeBSD.ORG Subject: Re: Problem about BPF Message-ID: <199709171852.LAA02758@usr02.primenet.com> In-Reply-To: <199709160052.KAA00498@word.smith.net.au> from "Mike Smith" at Sep 16, 97 10:22:38 am
next in thread | previous in thread | raw e-mail | index | archive | help
> > If I want to send a frame to a BPF device, can I use more than one > > "write" commands to complete all fields of a packet? (i.e. first write for > > ether_header and another write for IP packet). > > No. Each write must be a complete datagram. Think about it for a > moment - how else could the kernel know when you had given it enough > and send the packet? You could "write" 0 bytes. Wait, no, that's DOS! Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199709171852.LAA02758>