Add Wiretap encapsulation type for IEEE 802.16 MAC Common Part Sublayer,

for which a DLT_ value and LINKTYPE_ value have just been assigned.

svn path=/trunk/; revision=20003
This commit is contained in:
Guy Harris 2006-11-27 18:10:12 +00:00
parent 41c258daf3
commit 252230934a
2 changed files with 5 additions and 1 deletions

View File

@ -366,6 +366,9 @@ static const struct encap_type_info {
/* WTAP_ENCAP_USB */
{ "Raw USB packets", "usb" },
/* WTAP_ENCAP_IEEE802_16_MAC_CPS */
{ "IEEE 802.16 MAC Common Part Sublayer", "ieee-802-16-mac-cps" },
};
/* Name that should be somewhat descriptive. */

View File

@ -183,9 +183,10 @@
#define WTAP_ENCAP_BER 90
#define WTAP_ENCAP_JUNIPER_VP 91
#define WTAP_ENCAP_USB 92
#define WTAP_ENCAP_IEEE802_16_MAC_CPS 93
/* last WTAP_ENCAP_ value + 1 */
#define WTAP_NUM_ENCAP_TYPES 93
#define WTAP_NUM_ENCAP_TYPES 94
/* File types that can be read by wiretap.
We support writing some many of these file types, too, so we