Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Apr 1998 22:18:04 +0200
From:      Poul-Henning Kamp <phk@critter.freebsd.dk>
To:        sthaug@nethelp.no
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: Fixes for tcpdump with LPIP encapsulation 
Message-ID:  <1119.892585084@critter.freebsd.dk>
In-Reply-To: Your message of "Tue, 14 Apr 1998 00:47:50 %2B0200." <17850.892507670@verdi.nethelp.no> 

next in thread | previous in thread | raw e-mail | index | archive | help

>I fixed the problem with the link layer type by defining a *new* link
>layer type (DLT_LPIP). This seems to me to be the cleanest solution
>(alternatives: remove the two byte header and use DLT_RAW, or expand it
>to four bytes, and use DLT_NULL). Unfortunately it's also the solution
>which touches the most files (changes needed for libpcap and tcpdump).
>Thus I'd like to have some comments from the good people on -current on
>whether this is the correct way of solving the problem, before I feed
>the changes back to the tcpdump/libpcap maintainers.

I think using DLT_NULL or DLT_RAW is preferable.  Changing tcpdump and
libpcap for the sake of LPIP really seems like overdoing it to me...

Thanks for the attention to this neglegted child of mine...

--
Poul-Henning Kamp             FreeBSD coreteam member
phk@FreeBSD.ORG               "Real hackers run -current on their laptop."
"Drink MONO-tonic, it goes down but it will NEVER come back up!"

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1119.892585084>