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

next in thread | previous in thread | raw e-mail | index | archive | help
> >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...

That was my initial reaction too, but then I saw that BSDI had had their
PPP and SLIP implementations given special types:

#define DLT_SLIP_BSDOS	13	/* BSD/OS Serial Line IP */
#define DLT_PPP_BSDOS	14	/* BSD/OS Point-to-point Protocol */

So I thought - if it makes sense for BSDI, it might make sense for FreeBSD
too.

I'll look into using DLT_NULL or DLT_RAW.

Steinar Haug, Nethelp consulting, sthaug@nethelp.no

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?27331.892586162>