Add more DLT types required by libpcap 0.8.3.

Maintain numeric sort order.
This commit is contained in:
bms 2004-03-31 14:22:13 +00:00
parent 36047c4b94
commit 34f833a812

View File

@ -181,6 +181,12 @@ struct bpf_hdr {
#define DLT_PPP_SERIAL 50 /* PPP over serial with HDLC encapsulation */
#define DLT_PPP_ETHER 51 /* PPP over Ethernet */
/*
* Reserved for the Symantec Enterprise Firewall.
*/
#define DLT_SYMANTEC_FIREWALL 99
/*
* This value was defined by libpcap 0.5; platforms that have defined
* it with a different value should define it here with that value -
@ -289,6 +295,11 @@ struct bpf_hdr {
*/
#define DLT_PFSYNC 121
/*
* Reserved for Siemens HiPath HDLC. XXX
*/
#define DLT_HHDLC 121
/*
* Reserved for RFC 2625 IP-over-Fibre Channel.
*/
@ -299,6 +310,14 @@ struct bpf_hdr {
*/
#define DLT_SUNATM 123
/*
* Reserved as per request from Kent Dahlgren <kent@praesum.com>
* for private use.
*/
#define DLT_RIO 124 /* RapidIO */
#define DLT_PCI_EXP 125 /* PCI Express */
#define DLT_AURORA 126 /* Xilinx Aurora link layer */
/*
* BSD header for 802.11 plus a number of bits of link-layer information
* including radio information.
@ -307,26 +326,59 @@ struct bpf_hdr {
#define DLT_IEEE802_11_RADIO 127
#endif
/*
* Reserved for TZSP encapsulation.
*/
#define DLT_TZSP 128 /* Tazmen Sniffer Protocol */
/*
* Reserved for Linux ARCNET.
*/
#define DLT_ARCNET_LINUX 129
/*
* Juniper-private data link types.
*/
#define DLT_JUNIPER_MLPPP 130
#define DLT_JUNIPER_MLFR 131
#define DLT_JUNIPER_ES 132
#define DLT_JUNIPER_GGSN 133
#define DLT_JUNIPER_MFR 134
#define DLT_JUNIPER_ATM2 135
#define DLT_JUNIPER_SERVICES 136
#define DLT_JUNIPER_ATM1 137
/*
* Reserved for Apple IP-over-IEEE-1394.
*/
#define DLT_APPLE_IP_OVER_IEEE1394 138
/*
* Reserved for DOCSIS.
*/
#define DLT_DOCSIS 143
/*
* Reserved for Linux IrDA.
*/
#define DLT_LINUX_IRDA 144
/*
* Reserved for IBM SP switch and IBM Next Federation switch.
*/
#define DLT_IBM_SP 145
#define DLT_IBM_SN 146
/*
* Reserved for AbsoluteValue Systems 802.11 capture.
*/
#define DLT_IEEE802_11_RADIO_AVS 163
/*
* Reserved for Juniper-private DLT.
*/
#define DLT_JUNIPER_MONITOR 164
/*
* The instruction encodings.
*/