diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2004-03-23 01:02:41 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2004-03-23 01:02:41 +0000 |
commit | 0b06407eae0095eb7cdb40ce774bb66f5b820ab5 (patch) | |
tree | a145aeeb3846eafa53092f3c456bcff154867081 /wiretap | |
parent | dea2c44e67c3b59223e873c6f9daa37702344121 (diff) |
Add support for DLT_APPLE_IP_OVER_IEEE_1394.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10446 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'wiretap')
-rw-r--r-- | wiretap/libpcap.c | 9 | ||||
-rw-r--r-- | wiretap/wtap.c | 5 | ||||
-rw-r--r-- | wiretap/wtap.h | 5 |
3 files changed, 13 insertions, 6 deletions
diff --git a/wiretap/libpcap.c b/wiretap/libpcap.c index 89fa2a69b7..e7cd0c278e 100644 --- a/wiretap/libpcap.c +++ b/wiretap/libpcap.c @@ -1,6 +1,6 @@ /* libpcap.c * - * $Id: libpcap.c,v 1.118 2004/03/19 05:22:41 guy Exp $ + * $Id: libpcap.c,v 1.119 2004/03/23 01:02:41 guy Exp $ * * Wiretap Library * Copyright (c) 1998 by Gilbert Ramirez <gram@alumni.rice.edu> @@ -296,10 +296,13 @@ static const struct { /* * Values 130 through 137 are reserved for use in Juniper * hardware. - * - * 138 is reserved for Apple IP-over-IEEE 1394. */ + { 138, WTAP_ENCAP_APPLE_IP_OVER_IEEE1394 }, + /* Apple IP-over-IEEE 1394 */ + + /* 139 is reserved for SS7 */ + { 140, WTAP_ENCAP_MTP2 }, { 141, WTAP_ENCAP_MTP3 }, { 143, WTAP_ENCAP_DOCSIS }, diff --git a/wiretap/wtap.c b/wiretap/wtap.c index 82225d2b60..0496ca4da6 100644 --- a/wiretap/wtap.c +++ b/wiretap/wtap.c @@ -1,6 +1,6 @@ /* wtap.c * - * $Id: wtap.c,v 1.91 2004/03/11 09:18:33 guy Exp $ + * $Id: wtap.c,v 1.92 2004/03/23 01:02:41 guy Exp $ * * Wiretap Library * Copyright (c) 1998 by Gilbert Ramirez <gram@alumni.rice.edu> @@ -244,6 +244,9 @@ static const struct encap_type_info { /* WTAP_ENCAP_SYMANTEC */ { "Symantec Enterprise Firewall", "symantec" }, + + /* WTAP_ENCAP_APPLE_IP_OVER_IEEE1394 */ + { "Apple IP-over-IEEE 1394", "ap1394" }, }; /* Name that should be somewhat descriptive. */ diff --git a/wiretap/wtap.h b/wiretap/wtap.h index 639b623e88..3398a9c698 100644 --- a/wiretap/wtap.h +++ b/wiretap/wtap.h @@ -1,6 +1,6 @@ /* wtap.h * - * $Id: wtap.h,v 1.153 2004/03/11 09:18:33 guy Exp $ + * $Id: wtap.h,v 1.154 2004/03/23 01:02:41 guy Exp $ * * Wiretap Library * Copyright (c) 1998 by Gilbert Ramirez <gram@alumni.rice.edu> @@ -151,9 +151,10 @@ #define WTAP_ENCAP_USER14 59 #define WTAP_ENCAP_USER15 60 #define WTAP_ENCAP_SYMANTEC 61 +#define WTAP_ENCAP_APPLE_IP_OVER_IEEE1394 62 /* last WTAP_ENCAP_ value + 1 */ -#define WTAP_NUM_ENCAP_TYPES 62 +#define WTAP_NUM_ENCAP_TYPES 63 /* File types that can be read by wiretap. We support writing some many of these file types, too, so we |