Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Sep 1997 10:22:38 +0930
From:      Mike Smith <mike@smith.net.au>
To:        Sunthiti Patchararungruang <stt@casper.cpe.ku.ac.th>
Cc:        hackers@freebsd.org
Subject:   Re: Problem about BPF 
Message-ID:  <199709160052.KAA00498@word.smith.net.au>
In-Reply-To: Your message of "Tue, 16 Sep 1997 01:07:57 %2B0700." <Pine.BSF.3.96.970916010431.16587A-100000@casper.cpe.ku.ac.th> 

next in thread | previous in thread | raw e-mail | index | archive | help
> Dear every body,
> 
> 	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?

mike





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