From owner-freebsd-hackers Tue Feb 9 14:24:31 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA16208 for freebsd-hackers-outgoing; Tue, 9 Feb 1999 14:24:31 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from smtp03.primenet.com (smtp03.primenet.com [206.165.6.133]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA16181; Tue, 9 Feb 1999 14:24:16 -0800 (PST) (envelope-from tlambert@usr02.primenet.com) Received: (from daemon@localhost) by smtp03.primenet.com (8.8.8/8.8.8) id PAA29019; Tue, 9 Feb 1999 15:24:15 -0700 (MST) Received: from usr02.primenet.com(206.165.6.202) via SMTP by smtp03.primenet.com, id smtpd028866; Tue Feb 9 15:24:07 1999 Received: (from tlambert@localhost) by usr02.primenet.com (8.8.5/8.8.5) id PAA08624; Tue, 9 Feb 1999 15:24:01 -0700 (MST) From: Terry Lambert Message-Id: <199902092224.PAA08624@usr02.primenet.com> Subject: Re: Regarding tcpdump and plip To: des@flood.ping.uio.no (Dag-Erling Smorgrav) Date: Tue, 9 Feb 1999 22:24:01 +0000 (GMT) Cc: fenner@parc.xerox.com, hackers@FreeBSD.ORG, nsouch@FreeBSD.ORG, wpaul@FreeBSD.ORG, jkh@FreeBSD.ORG In-Reply-To: from "Dag-Erling Smorgrav" at Feb 8, 99 02:40:39 am X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > 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