Date: Tue, 9 Feb 1999 22:24:01 +0000 (GMT) From: Terry Lambert <tlambert@primenet.com> To: des@flood.ping.uio.no (Dag-Erling Smorgrav) Cc: fenner@parc.xerox.com, hackers@FreeBSD.ORG, nsouch@FreeBSD.ORG, wpaul@FreeBSD.ORG, jkh@FreeBSD.ORG Subject: Re: Regarding tcpdump and plip Message-ID: <199902092224.PAA08624@usr02.primenet.com> In-Reply-To: <xzp90e9brl4.fsf@flood.ping.uio.no> from "Dag-Erling Smorgrav" at Feb 8, 99 02:40:39 am
next in thread | previous in thread | raw e-mail | index | archive | help
> No, I just throw away the fake Ethernet header and put a DLT_NULL > header on instead. It's much simpler, and no useful information is > lost since the fake Ethernet header in the incoming packet is blank > except for the type field, which we reproduce (or rather, translate to > AF_INET) in the DLT_NULL header. I guess the code is not usable for other address families, e.g. IPV6? Otherwise, the AF_INET should probably be copied instead of set unilaterally. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199902092224.PAA08624>