@@ -47,11 +47,7 @@ class LinkType(IntEnum):
4747 #: [``DLT_SLIP``] SLIP, with a header giving packet direction
4848 SLIP = 8
4949
50- #: [``DLT_PPP``] PPP, as per RFC 1661 and RFC 1662; if the first 2 bytes are
51- #: 0xff and 0x03, it's PPP in HDLC-like framing, with the PPP header following
52- #: those two bytes, otherwise it's PPP without framing, and the packet begins
53- #: with the PPP header. The data in the frame is not octet-stuffed or bit-
54- #: stuffed.
50+ #: [``DLT_PPP``] PPP.
5551 PPP = 9
5652
5753 #: [``DLT_FDDI``] FDDI, as specified by ANSI INCITS 239-1994.
@@ -60,11 +56,7 @@ class LinkType(IntEnum):
6056 #: [``DLT_REDBACK_SMARTEDGE``] Redback SmartEdge 400/800.
6157 REDBACK_SMARTEDGE = 32
6258
63- #: [``DLT_PPP_SERIAL``] PPP in HDLC-like framing, as per RFC 1662, or Cisco PPP
64- #: with HDLC framing, as per section 4.3.1 of RFC 1547; the first byte will be
65- #: 0xFF for PPP in HDLC-like framing, and will be 0x0F or 0x8F for Cisco PPP
66- #: with HDLC framing. The data in the frame is not octet-stuffed or bit-
67- #: stuffed.
59+ #: [``DLT_PPP_SERIAL``] PPP in HDLC-like framing.
6860 PPP_HDLC = 50
6961
7062 #: [``DLT_PPP_ETHER``] PPPoE; the packet begins with a PPPoE header, as per RFC
@@ -83,8 +75,7 @@ class LinkType(IntEnum):
8375 #: header.
8476 RAW = 101
8577
86- #: [``DLT_C_HDLC``] Cisco PPP with HDLC framing, as per section 4.3.1 of RFC
87- #: 1547.
78+ #: [``DLT_C_HDLC``] Cisco PPP with HDLC framing.
8879 C_HDLC = 104
8980
9081 #: [``DLT_IEEE802_11``] IEEE 802.11 wireless LAN.
@@ -93,9 +84,7 @@ class LinkType(IntEnum):
9384 #: [``DLT_ATM_CLIP``] Linux Classical IP over ATM.
9485 ATM_CLIP = 106
9586
96- #: [``DLT_FRELAY``] Frame Relay LAPF frames, beginning with a ITU-T
97- #: Recommendation Q.922 LAPF header starting with the address field, and
98- #: without an FCS at the end of the frame.
87+ #: [``DLT_FRELAY``] Frame Relay LAPF.
9988 FRELAY = 107
10089
10190 #: [``DLT_LOOP``] OpenBSD loopback encapsulation.
@@ -139,8 +128,7 @@ class LinkType(IntEnum):
139128 #: link-layer header.
140129 AIRONET_HEADER = 120
141130
142- #: [``DLT_IP_OVER_FC``] RFC 2625 IP-over-Fibre Channel, with the link-layer
143- #: header being the Network\_Header as described in that RFC.
131+ #: [``DLT_IP_OVER_FC``] IP and ATM over Fibre Channel, as per RFC 4338.
144132 IP_OVER_FC = 122
145133
146134 #: [``DLT_SUNATM``] ATM traffic captured from a SunATM device.
@@ -346,8 +334,7 @@ class LinkType(IntEnum):
346334 #: frames prepended with meta-information.
347335 JUNIPER_CHDLC = 181
348336
349- #: [``DLT_MFR``] FRF.16.1 Multi-Link Frame Relay frames, beginning with an
350- #: FRF.12 Interface fragmentation format fragmentation header.
337+ #: [``DLT_MFR``] FRF.16.1 Multi-Link Frame Relay frames.
351338 MFR = 182
352339
353340 #: [``DLT_JUNIPER_VP``] Juniper Networks private data link type.
@@ -364,12 +351,7 @@ class LinkType(IntEnum):
364351 #: [``DLT_USB_FREEBSD``] USB with FreeBSD header.
365352 USB_FREEBSD = 186
366353
367- #: [``DLT_BLUETOOTH_HCI_H4``] Bluetooth HCI UART transport layer; the frame
368- #: contains an HCI packet indicator byte, as specified by the UART Transport
369- #: Layer portion of the most recent Bluetooth Core specification, followed by
370- #: an HCI packet of the specified packet type, as specified by the Host
371- #: Controller Interface Functional Specification portion of the most recent
372- #: Bluetooth Core Specification.
354+ #: [``DLT_BLUETOOTH_HCI_H4``] Bluetooth HCI UART Transport Layer packets.
373355 BLUETOOTH_HCI_H4 = 187
374356
375357 #: [``DLT_IEEE802_16_MAC_CPS``] IEEE 802.16 MAC Common Part Sublayer.
@@ -385,9 +367,7 @@ class LinkType(IntEnum):
385367 #: is done by Linux drivers.
386368 IEEE802_15_4_LINUX = 191
387369
388- #: [``DLT_PPI``] Per-Packet Information information, as specified by the Per-
389- #: Packet Information Header Specification, followed by a packet with the
390- #: LINKTYPE\_ value specified by the pph\_dlt field of that header.
370+ #: [``DLT_PPI``] Per-Packet Information header precending packet data.
391371 PPI = 192
392372
393373 #: [``DLT_IEEE802_16_MAC_CPS_RADIO``] IEEE 802.16 MAC Common Part Sublayer plus
@@ -397,8 +377,7 @@ class LinkType(IntEnum):
397377 #: [``DLT_JUNIPER_ISM``] Juniper Networks private data link type.
398378 JUNIPER_ISM = 194
399379
400- #: [``DLT_IEEE802_15_4_WITHFCS``] IEEE 802.15.4 Low-Rate Wireless Networks,
401- #: with each packet having the FCS at the end of the frame.
380+ #: [``DLT_IEEE802_15_4_WITHFCS``] IEEE 802.15.4 packets with FCS.
402381 IEEE802_15_4_WITHFCS = 195
403382
404383 #: [``DLT_SITA``] Various link-layer types, with a pseudo-header, for SITA.
@@ -419,51 +398,28 @@ class LinkType(IntEnum):
419398 #: [``DLT_JUNIPER_ST``] Juniper Networks private data link type.
420399 JUNIPER_ST = 200
421400
422- #: [``DLT_BLUETOOTH_HCI_H4_WITH_PHDR``] Bluetooth HCI UART transport layer; the
423- #: frame contains a 4-byte direction field, in network byte order (big-endian),
424- #: the low-order bit of which is set if the frame was sent from the host to the
425- #: controller and clear if the frame was received by the host from the
426- #: controller, followed by an HCI packet indicator byte, as specified by the
427- #: UART Transport Layer portion of the most recent Bluetooth Core
428- #: specification, followed by an HCI packet of the specified packet type, as
429- #: specified by the Host Controller Interface Functional Specification portion
430- #: of the most recent Bluetooth Core Specification.
401+ #: [``DLT_BLUETOOTH_HCI_H4_WITH_PHDR``] Bluetooth HCI UART Transport Layer
402+ #: packets with a direction pseudo-header.
431403 BLUETOOTH_HCI_H4_WITH_PHDR = 201
432404
433405 #: [``DLT_AX25_KISS``] AX.25 packet, with a 1-byte KISS header containing a
434406 #: type indicator.
435407 AX25_KISS = 202
436408
437- #: [``DLT_LAPD``] Link Access Procedures on the D Channel (LAPD) frames, as
438- #: specified by ITU-T Recommendation Q.920 and ITU-T Recommendation Q.921,
439- #: starting with the address field, with no pseudo-header.
409+ #: [``DLT_LAPD``] Q.921 LAPD frames.
440410 LAPD = 203
441411
442- #: [``DLT_PPP_WITH_DIR``] PPP, as per RFC 1661 and RFC 1662, preceded with a
443- #: one-byte pseudo-header with a zero value meaning "received by this host" and
444- #: a non-zero value meaning "sent by this host"; if the first 2 bytes are 0xff
445- #: and 0x03, it's PPP in HDLC-like framing, with the PPP header following those
446- #: two bytes, otherwise it's PPP without framing, and the packet begins with
447- #: the PPP header. The data in the frame is not octet-stuffed or bit-stuffed.
412+ #: [``DLT_PPP_WITH_DIR``] PPP, with a direction header.
448413 PPP_WITH_DIR = 204
449414
450- #: [``DLT_C_HDLC_WITH_DIR``] Cisco PPP with HDLC framing, as per section 4.3.1
451- #: of RFC 1547, preceded with a one-byte pseudo-header with a zero value
452- #: meaning "received by this host" and a non-zero value meaning "sent by this
453- #: host".
415+ #: [``DLT_C_HDLC_WITH_DIR``] Cisco PPP with HDLC framing, with a direction
416+ #: header.
454417 C_HDLC_WITH_DIR = 205
455418
456- #: [``DLT_FRELAY_WITH_DIR``] Frame Relay LAPF frames, beginning with a one-byte
457- #: pseudo-header with a zero value meaning "received by this host" (DCE⇒DTE)
458- #: and a non-zero value meaning "sent by this host" (DTE⇒DCE), followed by an
459- #: ITU-T Recommendation Q.922 LAPF header starting with the address field, and
460- #: without an FCS at the end of the frame.
419+ #: [``DLT_FRELAY_WITH_DIR``] Frame Relay LAPF, with a direction header.
461420 FRELAY_WITH_DIR = 206
462421
463- #: [``DLT_LAPB_WITH_DIR``] Link Access Procedure, Balanced (LAPB), as specified
464- #: by ITU-T Recommendation X.25, preceded with a one-byte pseudo-header with a
465- #: zero value meaning "received by this host" (DCE⇒DTE) and a non-zero value
466- #: meaning "sent by this host" (DTE⇒DCE).
422+ #: [``DLT_LAPB_WITH_DIR``] X.25 LAPB, with a direction header.
467423 LAPB_WITH_DIR = 207
468424
469425 #: [``DLT_IPMB_LINUX``] Legacy names (do not use) for Linux I2C below.
@@ -480,8 +436,8 @@ class LinkType(IntEnum):
480436 #: transport.
481437 MOST = 211
482438
483- #: [``DLT_LIN``] Local Interconnect Network (LIN) automotive bus, preceded by a
484- #: pseudo- header
439+ #: [``DLT_LIN``] Local Interconnect Network (LIN) automotive bus, with a
440+ #: metadata header
485441 LIN = 212
486442
487443 #: [``DLT_X2E_SERIAL``] X2E-private data link type used for serial line
@@ -492,11 +448,7 @@ class LinkType(IntEnum):
492448 #: logger family.
493449 X2E_XORAYA = 214
494450
495- #: [``DLT_IEEE802_15_4_NONASK_PHY``] IEEE 802.15.4 Low-Rate Wireless Networks,
496- #: with each packet having the FCS at the end of the frame, and with the PHY-
497- #: level data for the O-QPSK, BPSK, GFSK, MSK, and RCC DSS BPSK PHYs (4 octets
498- #: of 0 as preamble, one octet of SFD, one octet of frame length + reserved
499- #: bit) preceding the MAC-layer data (starting with the frame control field).
451+ #: [``DLT_IEEE802_15_4_NONASK_PHY``] IEEE 802.15.4 packets with PHY header.
500452 IEEE802_15_4_NONASK_PHY = 215
501453
502454 #: [``DLT_LINUX_EVDEV``] Linux evdev events from /dev/input/eventN devices.
@@ -511,8 +463,8 @@ class LinkType(IntEnum):
511463 #: [``DLT_MPLS``] MPLS, with an MPLS label as the link-layer header.
512464 MPLS = 219
513465
514- #: [``DLT_USB_LINUX_MMAPPED``] USB packets, beginning with an memory-mapped
515- #: Linux USB header.
466+ #: [``DLT_USB_LINUX_MMAPPED``] USB packets, beginning with an extended Linux
467+ #: USB header.
516468 USB_LINUX_MMAPPED = 220
517469
518470 #: [``DLT_DECT``] DECT packets, with a pseudo-header.
@@ -525,23 +477,17 @@ class LinkType(IntEnum):
525477 #: the HART Communication Foundation (IEC/PAS 62591).
526478 WIHART = 223
527479
528- #: [``DLT_FC_2``] Fibre Channel FC-2 frames, beginning with a Frame\_Header .
480+ #: [``DLT_FC_2``] Fibre Channel FC-2 frames.
529481 FC_2 = 224
530482
531- #: [``DLT_FC_2_WITH_FRAME_DELIMS``] Fibre Channel FC-2 frames, beginning an
532- #: encoding of the SOF, followed by a Frame\_Header, and ending with an
533- #: encoding of the SOF. The encodings represent the frame delimiters as 4-byte
534- #: sequences representing the corresponding ordered sets, with K28.5
535- #: represented as 0xBC, and the D symbols as the corresponding byte values; for
536- #: example, SOFi2, which is K28.5 - D21.5 - D1.2 - D21.2, is represented as
537- #: 0xBC 0xB5 0x55 0x55.
483+ #: [``DLT_FC_2_WITH_FRAME_DELIMS``] Fibre Channel FC-2 frames with SOF and EOF.
538484 FC_2_WITH_FRAME_DELIMS = 225
539485
540486 #: [``DLT_IPNET``] Solaris ipnet
541487 IPNET = 226
542488
543- #: [``DLT_CAN_SOCKETCAN``] CAN ( Controller Area Network) frames, with a pseudo-
544- #: header followed by the frame payload .
489+ #: [``DLT_CAN_SOCKETCAN``] Controller Area Network (CAN ) frames, with a
490+ #: metadata header .
545491 CAN_SOCKETCAN = 227
546492
547493 #: [``DLT_IPV4``] Raw IPv4; the packet begins with an IPv4 header.
@@ -550,13 +496,10 @@ class LinkType(IntEnum):
550496 #: [``DLT_IPV6``] Raw IPv6; the packet begins with an IPv6 header.
551497 IPV6 = 229
552498
553- #: [``DLT_IEEE802_15_4_NOFCS``] IEEE 802.15.4 Low-Rate Wireless Network,
554- #: without the FCS at the end of the frame.
499+ #: [``DLT_IEEE802_15_4_NOFCS``] IEEE 802.15.4 packets without FCS.
555500 IEEE802_15_4_NOFCS = 230
556501
557- #: [``DLT_DBUS``] Raw D-Bus messages, starting with the endianness flag,
558- #: followed by the message type, etc., but without the authentication handshake
559- #: before the message sequence.
502+ #: [``DLT_DBUS``] Raw D-Bus messages.
560503 DBUS = 231
561504
562505 #: [``DLT_JUNIPER_VS``] Juniper Networks private data link type.
@@ -572,14 +515,10 @@ class LinkType(IntEnum):
572515 #: PCAP format for DVB-CI specification.
573516 DVB_CI = 235
574517
575- #: [``DLT_MUX27010``] Variant of 3GPP TS 27.010 multiplexing protocol (similar
576- #: to, but not the same as, 27.010).
518+ #: [``DLT_MUX27010``] Variant of 3GPP TS 27.010 multiplexing protocol.
577519 MUX27010 = 236
578520
579- #: [``DLT_STANAG_5066_D_PDU``] D\_PDUs as described by NATO standard STANAG
580- #: 5066, starting with the synchronization sequence, and including both header
581- #: and data CRCs. The current version of STANAG 5066 is backwards-compatible
582- #: with the 1.0.2 version, although newer versions are classified.
521+ #: [``DLT_STANAG_5066_D_PDU``] STANAG 5066 D\_PDUs.
583522 STANAG_5066_D_PDU = 237
584523
585524 #: [``DLT_JUNIPER_ATM_CEMIC``] Juniper Networks private data link type.
@@ -588,12 +527,12 @@ class LinkType(IntEnum):
588527 #: [``DLT_NFLOG``] Linux netlink NETLINK NFLOG socket log messages.
589528 NFLOG = 239
590529
591- #: [``DLT_NETANALYZER``] Ethernet frames, preceded by a Hilscher netANALYZER
592- #: pseudo- header.
530+ #: [``DLT_NETANALYZER``] Ethernet frames with Hilscher netANALYZER pseudo-
531+ #: header.
593532 NETANALYZER = 240
594533
595- #: [``DLT_NETANALYZER_TRANSPARENT``] Ethernet frames, including the preamble
596- #: and SFD, preceded by a Hilscher netANALYZER pseudo-header .
534+ #: [``DLT_NETANALYZER_TRANSPARENT``] Ethernet frames with netANALYZER pseudo-
535+ #: header, preamble and SFD, preceded by a Hilscher.
597536 NETANALYZER_TRANSPARENT = 241
598537
599538 #: [``DLT_IPOIB``] IP-over-InfiniBand, as specified by RFC 4391 section 6.
@@ -644,8 +583,7 @@ class LinkType(IntEnum):
644583 #: [``DLT_NETLINK``] Linux Netlink capture encapsulation.
645584 NETLINK = 253
646585
647- #: [``DLT_BLUETOOTH_LINUX_MONITOR``] Bluetooth Linux Monitor encapsulation of
648- #: traffic for the BlueZ stack.
586+ #: [``DLT_BLUETOOTH_LINUX_MONITOR``] Bluetooth Linux Monitor.
649587 BLUETOOTH_LINUX_MONITOR = 254
650588
651589 #: [``DLT_BLUETOOTH_BREDR_BB``] Bluetooth Basic Rate and Enhanced Data Rate
@@ -674,12 +612,10 @@ class LinkType(IntEnum):
674612 #: packets in this format must match the time stamps in the Trace Data Blocks.
675613 IPMI_HPM_2 = 260
676614
677- #: [``DLT_ZWAVE_R1_R2``] Z-Wave RF profile R1 and R2 packets, as specified by
678- #: ITU-T Recommendation G.9959, with some MAC layer fields moved.
615+ #: [``DLT_ZWAVE_R1_R2``] Z-Wave RF profile R1 and R2 packets.
679616 ZWAVE_R1_R2 = 261
680617
681- #: [``DLT_ZWAVE_R3``] Z-Wave RF profile R3 packets, as specified by ITU-T
682- #: Recommendation G.9959, with some MAC layer fields moved.
618+ #: [``DLT_ZWAVE_R3``] Z-Wave RF profile R3 packets.
683619 ZWAVE_R3 = 262
684620
685621 #: [``DLT_WATTSTOPPER_DLM``] WattStopper Digital Lighting Management (DLM) and
@@ -713,8 +649,7 @@ class LinkType(IntEnum):
713649 #: [``DLT_TI_LLN_SNIFFER``] TI LLN sniffer frames.
714650 TI_LLN_SNIFFER = 269
715651
716- #: [``DLT_LORATAP``] LoRaTap pseudo-header, followed by the payload, which is
717- #: typically the PHYPayload from the LoRaWan specification.
652+ #: [``DLT_LORATAP``] LoRaWan packets with a LoRaTap pseudo-header.
718653 LORATAP = 270
719654
720655 #: [``DLT_VSOCK``] Protocol for communication between host and guest machines
@@ -759,8 +694,8 @@ class LinkType(IntEnum):
759694 #: prepended.
760695 DSA_TAG_BRCM_PREPEND = 282
761696
762- #: [``DLT_IEEE802_15_4_TAP``] IEEE 802.15.4 Low-Rate Wireless Networks , with a
763- #: pseudo-header containing TLVs with metadata preceding the 802.15.4 header.
697+ #: [``DLT_IEEE802_15_4_TAP``] IEEE 802.15.4 packets , with a pseudo-header
698+ #: containing TLVs with metadata preceding the 802.15.4 header.
764699 IEEE802_15_4_TAP = 283
765700
766701 #: [``DLT_DSA_TAG_DSA``] Ethernet frames, with a Marvell DSA switch tag
@@ -821,8 +756,7 @@ class LinkType(IntEnum):
821756 #: document.
822757 AUERSWALD_LOG = 296
823758
824- #: [``DLT_ZWAVE_TAP``] Z-Wave packets, as specified by ITU-T Recommendation
825- #: G.9959, with a TAP meta-data header.
759+ #: [``DLT_ZWAVE_TAP``] Z-Wave packets, with a metadata header.
826760 ZWAVE_TAP = 297
827761
828762 #: [``DLT_SILABS_DEBUG_CHANNEL``] Silicon Labs debug channel protocol, as
@@ -832,16 +766,10 @@ class LinkType(IntEnum):
832766 #: [``DLT_FIRA_UCI``] Ultra-wideband (UWB) controller interface protocol (UCI).
833767 FIRA_UCI = 299
834768
835- #: [``DLT_MDB``] MDB (Multi-Drop Bus) protocol between a vending machine
836- #: controller and peripherals inside the vending machine, with the message
837- #: format specified by the PCAP format for MDB specification.
769+ #: [``DLT_MDB``] MDB (Multi-Drop Bus) vending machine protocol.
838770 MDB = 300
839771
840- #: [``DLT_DECT_NR``] DECT-2020 New Radio (NR) MAC layer specified in ETSI TS
841- #: 103 636-4. The Physical Header Field is always encoded using 80 bits (10
842- #: bytes). Broadcast transmissions using 40 bits (5 bytes) is padded with 40
843- #: zero bits (5 bytes). When padding is used the Receiver Identity value 0x0000
844- #: (reserved address) is used to detect broadcast transmissions.
772+ #: [``DLT_DECT_NR``] DECT-2020 New Radio (NR) MAC layer.
845773 DECT_NR = 301
846774
847775 @staticmethod
0 commit comments