Sync DLTs with the latest pcap version.
This commit is contained in:
parent
8c0b6eaff1
commit
09b6dcf968
137
sys/net/bpf.h
137
sys/net/bpf.h
@ -844,6 +844,143 @@ struct bpf_zbuf_header {
|
||||
*/
|
||||
#define DLT_IEEE802_15_4_NONASK_PHY 215
|
||||
|
||||
/*
|
||||
* David Gibson <david@gibson.dropbear.id.au> requested this for
|
||||
* captures from the Linux kernel /dev/input/eventN devices. This
|
||||
* is used to communicate keystrokes and mouse movements from the
|
||||
* Linux kernel to display systems, such as Xorg.
|
||||
*/
|
||||
#define DLT_LINUX_EVDEV 216
|
||||
|
||||
/*
|
||||
* GSM Um and Abis interfaces, preceded by a "gsmtap" header.
|
||||
*
|
||||
* Requested by Harald Welte <laforge@gnumonks.org>.
|
||||
*/
|
||||
#define DLT_GSMTAP_UM 217
|
||||
#define DLT_GSMTAP_ABIS 218
|
||||
|
||||
/*
|
||||
* MPLS, with an MPLS label as the link-layer header.
|
||||
* Requested by Michele Marchetto <michele@openbsd.org> on behalf
|
||||
* of OpenBSD.
|
||||
*/
|
||||
#define DLT_MPLS 219
|
||||
|
||||
/*
|
||||
* USB packets, beginning with a Linux USB header, with the USB header
|
||||
* padded to 64 bytes; required for memory-mapped access.
|
||||
*/
|
||||
#define DLT_USB_LINUX_MMAPPED 220
|
||||
|
||||
/*
|
||||
* DECT packets, with a pseudo-header; requested by
|
||||
* Matthias Wenzel <tcpdump@mazzoo.de>.
|
||||
*/
|
||||
#define DLT_DECT 221
|
||||
/*
|
||||
* From: "Lidwa, Eric (GSFC-582.0)[SGT INC]" <eric.lidwa-1@nasa.gov>
|
||||
* Date: Mon, 11 May 2009 11:18:30 -0500
|
||||
*
|
||||
* DLT_AOS. We need it for AOS Space Data Link Protocol.
|
||||
* I have already written dissectors for but need an OK from
|
||||
* legal before I can submit a patch.
|
||||
*
|
||||
*/
|
||||
#define DLT_AOS 222
|
||||
|
||||
/*
|
||||
* Wireless HART (Highway Addressable Remote Transducer)
|
||||
* From the HART Communication Foundation
|
||||
* IES/PAS 62591
|
||||
*
|
||||
* Requested by Sam Roberts <vieuxtech@gmail.com>.
|
||||
*/
|
||||
#define DLT_WIHART 223
|
||||
|
||||
/*
|
||||
* Fibre Channel FC-2 frames, beginning with a Frame_Header.
|
||||
* Requested by Kahou Lei <kahou82@gmail.com>.
|
||||
*/
|
||||
#define DLT_FC_2 224
|
||||
|
||||
/*
|
||||
* Fibre Channel FC-2 frames, beginning with an encoding of the
|
||||
* SOF, and ending with an encoding of the EOF.
|
||||
*
|
||||
* The encodings represent the frame delimiters as 4-byte sequences
|
||||
* representing the corresponding ordered sets, with K28.5
|
||||
* represented as 0xBC, and the D symbols as the corresponding
|
||||
* byte values; for example, SOFi2, which is K28.5 - D21.5 - D1.2 - D21.2,
|
||||
* is represented as 0xBC 0xB5 0x55 0x55.
|
||||
*
|
||||
* Requested by Kahou Lei <kahou82@gmail.com>.
|
||||
*/
|
||||
#define DLT_FC_2_WITH_FRAME_DELIMS 225
|
||||
/*
|
||||
* Solaris ipnet pseudo-header; requested by Darren Reed <Darren.Reed@Sun.COM>.
|
||||
*
|
||||
* The pseudo-header starts with a one-byte version number; for version 2,
|
||||
* the pseudo-header is:
|
||||
*
|
||||
* struct dl_ipnetinfo {
|
||||
* u_int8_t dli_version;
|
||||
* u_int8_t dli_family;
|
||||
* u_int16_t dli_htype;
|
||||
* u_int32_t dli_pktlen;
|
||||
* u_int32_t dli_ifindex;
|
||||
* u_int32_t dli_grifindex;
|
||||
* u_int32_t dli_zsrc;
|
||||
* u_int32_t dli_zdst;
|
||||
* };
|
||||
*
|
||||
* dli_version is 2 for the current version of the pseudo-header.
|
||||
*
|
||||
* dli_family is a Solaris address family value, so it's 2 for IPv4
|
||||
* and 26 for IPv6.
|
||||
*
|
||||
* dli_htype is a "hook type" - 0 for incoming packets, 1 for outgoing
|
||||
* packets, and 2 for packets arriving from another zone on the same
|
||||
* machine.
|
||||
*
|
||||
* dli_pktlen is the length of the packet data following the pseudo-header
|
||||
* (so the captured length minus dli_pktlen is the length of the
|
||||
* pseudo-header, assuming the entire pseudo-header was captured).
|
||||
*
|
||||
* dli_ifindex is the interface index of the interface on which the
|
||||
* packet arrived.
|
||||
*
|
||||
* dli_grifindex is the group interface index number (for IPMP interfaces).
|
||||
*
|
||||
* dli_zsrc is the zone identifier for the source of the packet.
|
||||
*
|
||||
* dli_zdst is the zone identifier for the destination of the packet.
|
||||
*
|
||||
* A zone number of 0 is the global zone; a zone number of 0xffffffff
|
||||
* means that the packet arrived from another host on the network, not
|
||||
* from another zone on the same machine.
|
||||
*
|
||||
* An IPv4 or IPv6 datagram follows the pseudo-header; dli_family indicates
|
||||
* which of those it is.
|
||||
*/
|
||||
#define DLT_IPNET 226
|
||||
|
||||
/*
|
||||
* CAN (Controller Area Network) frames, with a pseudo-header as supplied
|
||||
* by Linux SocketCAN. See Documentation/networking/can.txt in the Linux
|
||||
* source.
|
||||
*
|
||||
* Requested by Felix Obenhuber <felix@obenhuber.de>.
|
||||
*/
|
||||
#define DLT_CAN_SOCKETCAN 227
|
||||
|
||||
/*
|
||||
* Raw IPv4/IPv6; different from DLT_RAW in that the DLT_ value specifies
|
||||
* whether it's v4 or v6. Requested by Darren Reed <Darren.Reed@Sun.COM>.
|
||||
*/
|
||||
#define DLT_IPV4 228
|
||||
#define DLT_IPV6 229
|
||||
|
||||
/*
|
||||
* DLT and savefile link type values are split into a class and
|
||||
* a member of that class. A class value of 0 indicates a regular
|
||||
|
Loading…
x
Reference in New Issue
Block a user