diff options
author | Guy Harris <guy@alum.mit.edu> | 2000-12-23 08:06:16 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2000-12-23 08:06:16 +0000 |
commit | 039805843b58e5f329fbd176a2fbfa5769d9d89c (patch) | |
tree | 38e10b3769821310c71b5ae2ffd72a572a98a782 /wiretap/wtap.h | |
parent | d9c2256fa29e4c27616de7619795bee31d8d4656 (diff) | |
download | wireshark-039805843b58e5f329fbd176a2fbfa5769d9d89c.tar.gz |
Add support for the DLT_LINUX_SLL capture type in the current CVS
version of libpcap; that's used on Linux for captures on the "any"
device (which captures from all interfaces simultaneously) and for
captures on devices whose link-layer type libpcap doesn't (yet) support
natively.
The spanning tree code, when checking for GV{M,R,...}P packets, must
first check whether the link-layer destination address is, in fact, an
Ethernet-style address; on Linux cooked captures, there *is* no
destination address, so it's of type AT_NONE, not AT_ETHER.
svn path=/trunk/; revision=2772
Diffstat (limited to 'wiretap/wtap.h')
-rw-r--r-- | wiretap/wtap.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/wiretap/wtap.h b/wiretap/wtap.h index 0f138e98da..cb496342d6 100644 --- a/wiretap/wtap.h +++ b/wiretap/wtap.h @@ -1,6 +1,6 @@ /* wtap.h * - * $Id: wtap.h,v 1.82 2000/11/15 05:41:48 guy Exp $ + * $Id: wtap.h,v 1.83 2000/12/23 08:06:16 guy Exp $ * * Wiretap Library * Copyright (c) 1998 by Gilbert Ramirez <gram@xiexie.org> @@ -95,9 +95,10 @@ #define WTAP_ENCAP_V120 16 #define WTAP_ENCAP_PPP_WITH_PHDR 17 #define WTAP_ENCAP_IEEE_802_11 18 +#define WTAP_ENCAP_SLL 19 /* last WTAP_ENCAP_ value + 1 */ -#define WTAP_NUM_ENCAP_TYPES 19 +#define WTAP_NUM_ENCAP_TYPES 20 /* File types that can be read by wiretap. We support writing some many of these file types, too, so we |