Date: Tue, 27 Jul 1999 11:44:33 +0700 (JAVT) From: waskita adijarto <waskita@ee.itb.ac.id> To: freebsd-net@FreeBSD.ORG Subject: writing raw ethernet packet in FreeBSD. Message-ID: <Pine.BSF.3.96.990727113713.4710C-100000@elka.ee.itb.ac.id> In-Reply-To: <199907242210.AAA01871@labinfo.iet.unipi.it>
next in thread | previous in thread | raw e-mail | index | archive | help
I want to read & write raw ethernet packet. I can read raw ethernet packet with bpf, but writing to bpf device is not so successful. the ethernet source address always follow the interface's address. Is this the normal behavior of bpf ? I am thinking that I should look at /usr/src/sys/net/bridge.c to create raw ethernet packet ... My FreeBSD box is 2.2.8, my interface card is 3C509 (ep0) & ed0 (some NE2000 compatible) -w- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.990727113713.4710C-100000>