Date: Mon, 7 Oct 1996 13:52:54 -0400 (EDT) From: Dev Chanchani <dev@trifecta.com> To: freebsd-isp@freebsd.org Subject: BPF Message-ID: <Pine.BSF.3.91.961007135109.11531A-100000@www.trifecta.com>
next in thread | raw e-mail | index | archive | help
I was doing some tinkering with the /dev/bpf device. My understanding is that reading from the bpf device gives you a raw dump of the data over the network. You will have a bpf header (18 bytes?) Then I need to know the ip_offset for packets comming in over the ed1 network interface so I can start calculating how much traffic is going to what address based on the ip header. Any help would be appreciated.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.961007135109.11531A-100000>