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.c | |
parent | d9c2256fa29e4c27616de7619795bee31d8d4656 (diff) |
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.c')
-rw-r--r-- | wiretap/wtap.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/wiretap/wtap.c b/wiretap/wtap.c index 5eb9381f3f..89ad680747 100644 --- a/wiretap/wtap.c +++ b/wiretap/wtap.c @@ -1,6 +1,6 @@ /* wtap.c * - * $Id: wtap.c,v 1.49 2000/11/15 05:41:48 guy Exp $ + * $Id: wtap.c,v 1.50 2000/12/23 08:06:16 guy Exp $ * * Wiretap Library * Copyright (c) 1998 by Gilbert Ramirez <gram@xiexie.org> @@ -122,6 +122,8 @@ const static struct encap_type_info { /* WTAP_ENCAP_IEEE_802_11 */ { "IEEE 802.11 Wireless LAN", "ieee-802-11" }, + /* WTAP_ENCAP_SLL */ + { "Linux cooked-mode capture", "linux-sll" }, }; /* Name that should be somewhat descriptive. */ |