tcpdump mailing list archives
Re: Reserving a libpcap DLT value
From: Guy Harris <gharris () sonic net>
Date: Wed, 9 Oct 2002 12:02:06 -0700
On Wed, Oct 09, 2002 at 03:26:12PM +0200, Hannes Gredler wrote:
checked in ...
When adding new DLT_ values, new LINKTYPE_ values and mapping table entries should be added to "savefile.c" as well. (What actually goes into libpcap files are LINKTYPE_ values, not DLT_ values; for all new DLT_ values, the corresponding LINKTYPE_ value is the same, but for some older DLT_ values the values might be different on some platforms, as, in some cases, different BSDs used different values for the same DLT_ #define - the mapping stuff is intended to allow them to keep the same DLT_ value, for binary compatibility, but to have capture files written in a format that can be written on a platform with one value for that DLT_ #define and read correctly on a platform with a *different* value for that #define). I've checked in the appropriate change to "savefile.c". - This is the TCPDUMP workers list. It is archived at http://www.tcpdump.org/lists/workers/index.html To unsubscribe use mailto:tcpdump-workers-request () tcpdump org?body=unsubscribe
Current thread:
- Re: Reserving a libpcap DLT value, (continued)
- Re: Reserving a libpcap DLT value Guy Harris (Oct 08)
- Re: Reserving a libpcap DLT value Hannes Gredler (Oct 08)
- Re: Reserving a libpcap DLT value Guy Harris (Oct 08)
- Re: Reserving a libpcap DLT value Kent Dahlgren (Oct 08)
- Re: Reserving a libpcap DLT value Hannes Gredler (Oct 09)
- Re: Reserving a libpcap DLT value Guy Harris (Oct 09)
- Re: Reserving a libpcap DLT value Hannes Gredler (Oct 09)
- Re: Reserving a libpcap DLT value Guy Harris (Oct 09)
- Re: Reserving a libpcap DLT value Kent Dahlgren (Oct 09)
- Re: Reserving a libpcap DLT value Hannes Gredler (Oct 09)
- Re: Reserving a libpcap DLT value Guy Harris (Oct 09)
- Re: Reserving a libpcap DLT value Guy Harris (Oct 08)
- Re: Reserving a libpcap DLT value Guy Harris (Oct 09)
- Re: Reserving a libpcap DLT value Michael Richardson (Oct 09)
