Date: Fri, 14 Nov 1997 11:33:22 -0500 (EST) From: Snob Art Genre <benedict@echonyc.com> To: Dag-Erling Coidan Smørgrav <dag-erli@ifi.uio.no> Cc: hackers@FreeBSD.ORG Subject: Re: Ethernet packet generation Message-ID: <Pine.GSO.3.96.971114113235.15529A-100000@echonyc.com> In-Reply-To: <xzpiutvli0b.fsf@hridil.ifi.uio.no>
next in thread | previous in thread | raw e-mail | index | archive | help
I think the book you want is _Unix Network Programming_, by W. Richard Stevens. I have a copy on order, when it arrives I'll see if it has BPF stuff. But chances are it does. On 14 Nov 1997, Dag-Erling Coidan Smørgrav wrote: > Curt Sampson <cjs@portal.ca> writes: > > On Tue, 11 Nov 1997, Michael Knoll wrote: > > > Is there a way to generate an ethernet packet, with an unsupported protocol > > > through a user level program? > > Yes. Use bpf. > > On a related subject, is there documentation available on how to > program BPF under FreeBSD or other BSD unices? I think I've mostly > figured it out from reading tcpdump and trafshow source as well as the > Usenix'93 BPF paper, but I'd still like docs. > > -- > * Finrod (INTJ) * Unix weenie * dag-erli@ifi.uio.no * cellular +47-92835919 * > RFC1123: "Be liberal in what you accept, and conservative in what you send" > Ben "You have your mind on computers, it seems."
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.3.96.971114113235.15529A-100000>