diff options
author | Gilbert Ramirez <gram@alumni.rice.edu> | 2001-11-02 13:00:30 +0000 |
---|---|---|
committer | Gilbert Ramirez <gram@alumni.rice.edu> | 2001-11-02 13:00:30 +0000 |
commit | 0326e325632d43391ce2160edaecabd5f0ec3fad (patch) | |
tree | a8123e835acba97063cd1da62dfb5fe085b7317f /wiretap | |
parent | 5511e79593f44ea7fc40cb4b2e830c11cacd7571 (diff) | |
download | wireshark-0326e325632d43391ce2160edaecabd5f0ec3fad.tar.gz wireshark-0326e325632d43391ce2160edaecabd5f0ec3fad.tar.bz2 wireshark-0326e325632d43391ce2160edaecabd5f0ec3fad.zip |
Support DLT_CISCO_IOS.
svn path=/trunk/; revision=4126
Diffstat (limited to 'wiretap')
-rw-r--r-- | wiretap/libpcap.c | 4 | ||||
-rw-r--r-- | wiretap/wtap.h | 5 |
2 files changed, 6 insertions, 3 deletions
diff --git a/wiretap/libpcap.c b/wiretap/libpcap.c index 715161cd6c..a92787a9a9 100644 --- a/wiretap/libpcap.c +++ b/wiretap/libpcap.c @@ -1,6 +1,6 @@ /* libpcap.c * - * $Id: libpcap.c,v 1.52 2001/10/25 20:29:23 gram Exp $ + * $Id: libpcap.c,v 1.53 2001/11/02 13:00:30 gram Exp $ * * Wiretap Library * Copyright (c) 1998 by Gilbert Ramirez <gram@xiexie.org> @@ -363,6 +363,8 @@ static const struct { * of libpcap. */ { 113, WTAP_ENCAP_SLL }, /* Linux cooked capture */ + + { 118, WTAP_ENCAP_CISCO_IOS }, }; #define NUM_PCAP_ENCAPS (sizeof pcap_to_wtap_map / sizeof pcap_to_wtap_map[0]) diff --git a/wiretap/wtap.h b/wiretap/wtap.h index 5de6e536d6..45b7b6532c 100644 --- a/wiretap/wtap.h +++ b/wiretap/wtap.h @@ -1,6 +1,6 @@ /* wtap.h * - * $Id: wtap.h,v 1.91 2001/10/19 20:18:48 guy Exp $ + * $Id: wtap.h,v 1.92 2001/11/02 13:00:30 gram Exp $ * * Wiretap Library * Copyright (c) 1998 by Gilbert Ramirez <gram@xiexie.org> @@ -98,9 +98,10 @@ #define WTAP_ENCAP_SLL 19 #define WTAP_ENCAP_FRELAY 20 #define WTAP_ENCAP_CHDLC 21 +#define WTAP_ENCAP_CISCO_IOS 22 /* last WTAP_ENCAP_ value + 1 */ -#define WTAP_NUM_ENCAP_TYPES 22 +#define WTAP_NUM_ENCAP_TYPES 23 /* File types that can be read by wiretap. We support writing some many of these file types, too, so we |