pypcapkit 1.3.5.post12__cp311-none-any.whl → 1.3.5.post15__cp311-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pcapkit/__init__.py +1 -1
- pcapkit/const/reg/apptype.py +2 -3
- pcapkit/const/reg/linktype.py +78 -199
- {pypcapkit-1.3.5.post12.dist-info → pypcapkit-1.3.5.post15.dist-info}/METADATA +1 -1
- {pypcapkit-1.3.5.post12.dist-info → pypcapkit-1.3.5.post15.dist-info}/RECORD +9 -9
- {pypcapkit-1.3.5.post12.dist-info → pypcapkit-1.3.5.post15.dist-info}/WHEEL +0 -0
- {pypcapkit-1.3.5.post12.dist-info → pypcapkit-1.3.5.post15.dist-info}/entry_points.txt +0 -0
- {pypcapkit-1.3.5.post12.dist-info → pypcapkit-1.3.5.post15.dist-info}/licenses/LICENSE +0 -0
- {pypcapkit-1.3.5.post12.dist-info → pypcapkit-1.3.5.post15.dist-info}/top_level.txt +0 -0
pcapkit/__init__.py
CHANGED
pcapkit/const/reg/apptype.py
CHANGED
@@ -3050,14 +3050,13 @@ class AppType(StrEnum):
|
|
3050
3050
|
#: [TCP] Reserved
|
3051
3051
|
reserved_914: 'AppType' = 914, 'reserved', TransportProtocol.get('tcp')
|
3052
3052
|
|
3053
|
-
#: [UDP] Routing in Fat Trees Link Information Element [
|
3053
|
+
#: [UDP] Routing in Fat Trees Link Information Element [:rfc:`9692`]
|
3054
3054
|
rift_lies: 'AppType' = 914, 'rift-lies', TransportProtocol.get('udp')
|
3055
3055
|
|
3056
3056
|
#: [TCP] Reserved
|
3057
3057
|
reserved_915: 'AppType' = 915, 'reserved', TransportProtocol.get('tcp')
|
3058
3058
|
|
3059
|
-
#: [UDP] Routing in Fat Trees Topology Information Element [
|
3060
|
-
#: rift-24]
|
3059
|
+
#: [UDP] Routing in Fat Trees Topology Information Element [:rfc:`9692`]
|
3061
3060
|
rift_ties: 'AppType' = 915, 'rift-ties', TransportProtocol.get('udp')
|
3062
3061
|
|
3063
3062
|
#: [TCP] BIND9 remote name daemon controller
|
pcapkit/const/reg/linktype.py
CHANGED
@@ -28,7 +28,7 @@ class LinkType(IntEnum):
|
|
28
28
|
#: [``DLT_EN3MB``] Experimental Ethernet (3Mb).
|
29
29
|
EXP_ETHERNET = 2
|
30
30
|
|
31
|
-
#: [``DLT_AX25``] AX.25
|
31
|
+
#: [``DLT_AX25``] AX.25 layer 2 packets,
|
32
32
|
AX25 = 3
|
33
33
|
|
34
34
|
#: [``DLT_PRONET``] Reserved for Proteon ProNET Token Ring.
|
@@ -47,11 +47,7 @@ class LinkType(IntEnum):
|
|
47
47
|
#: [``DLT_SLIP``] SLIP, with a header giving packet direction
|
48
48
|
SLIP = 8
|
49
49
|
|
50
|
-
#: [``DLT_PPP``] PPP
|
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.
|
55
51
|
PPP = 9
|
56
52
|
|
57
53
|
#: [``DLT_FDDI``] FDDI, as specified by ANSI INCITS 239-1994.
|
@@ -60,22 +56,16 @@ class LinkType(IntEnum):
|
|
60
56
|
#: [``DLT_REDBACK_SMARTEDGE``] Redback SmartEdge 400/800.
|
61
57
|
REDBACK_SMARTEDGE = 32
|
62
58
|
|
63
|
-
#: [``DLT_PPP_SERIAL``] PPP in HDLC-like framing
|
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.
|
68
60
|
PPP_HDLC = 50
|
69
61
|
|
70
|
-
#: [``DLT_PPP_ETHER``] PPPoE
|
71
|
-
#: 2516.
|
62
|
+
#: [``DLT_PPP_ETHER``] PPPoE session packets.
|
72
63
|
PPP_ETHER = 51
|
73
64
|
|
74
65
|
#: [``DLT_SYMANTEC_FIREWALL``] Symantec Enterprise (ex-Axent Raptor) firewall.
|
75
66
|
SYMANTEC_FIREWALL = 99
|
76
67
|
|
77
|
-
#: [``DLT_ATM_RFC1483``]
|
78
|
-
#: with an ISO 8802-2 (formerly known as IEEE 802.2) LLC header.
|
68
|
+
#: [``DLT_ATM_RFC1483``] LLC/SNAP-encapsulated ATM
|
79
69
|
ATM_RFC1483 = 100
|
80
70
|
|
81
71
|
#: [``DLT_RAW``] Raw IP; the packet begins with an IPv4 or IPv6 header, with
|
@@ -83,8 +73,7 @@ class LinkType(IntEnum):
|
|
83
73
|
#: header.
|
84
74
|
RAW = 101
|
85
75
|
|
86
|
-
#: [``DLT_C_HDLC``] Cisco PPP with HDLC framing
|
87
|
-
#: 1547.
|
76
|
+
#: [``DLT_C_HDLC``] Cisco PPP with HDLC framing.
|
88
77
|
C_HDLC = 104
|
89
78
|
|
90
79
|
#: [``DLT_IEEE802_11``] IEEE 802.11 wireless LAN.
|
@@ -93,9 +82,7 @@ class LinkType(IntEnum):
|
|
93
82
|
#: [``DLT_ATM_CLIP``] Linux Classical IP over ATM.
|
94
83
|
ATM_CLIP = 106
|
95
84
|
|
96
|
-
#: [``DLT_FRELAY``] Frame Relay LAPF
|
97
|
-
#: Recommendation Q.922 LAPF header starting with the address field, and
|
98
|
-
#: without an FCS at the end of the frame.
|
85
|
+
#: [``DLT_FRELAY``] Frame Relay LAPF.
|
99
86
|
FRELAY = 107
|
100
87
|
|
101
88
|
#: [``DLT_LOOP``] OpenBSD loopback encapsulation.
|
@@ -110,9 +97,7 @@ class LinkType(IntEnum):
|
|
110
97
|
#: [``DLT_LINUX_SLL``] Linux "cooked" capture encapsulation.
|
111
98
|
LINUX_SLL = 113
|
112
99
|
|
113
|
-
#: [``DLT_LTALK``] Apple LocalTalk
|
114
|
-
#: LocalTalk Link Access Protocol header, as described in chapter 1 of Inside
|
115
|
-
#: AppleTalk, Second Edition.
|
100
|
+
#: [``DLT_LTALK``] Apple LocalTalk packets.
|
116
101
|
LTALK = 114
|
117
102
|
|
118
103
|
#: [``DLT_ECONET``] Acorn Econet.
|
@@ -139,8 +124,7 @@ class LinkType(IntEnum):
|
|
139
124
|
#: link-layer header.
|
140
125
|
AIRONET_HEADER = 120
|
141
126
|
|
142
|
-
#: [``DLT_IP_OVER_FC``]
|
143
|
-
#: header being the Network\_Header as described in that RFC.
|
127
|
+
#: [``DLT_IP_OVER_FC``] IP and ATM over Fibre Channel.
|
144
128
|
IP_OVER_FC = 122
|
145
129
|
|
146
130
|
#: [``DLT_SUNATM``] ATM traffic captured from a SunATM device.
|
@@ -195,23 +179,16 @@ class LinkType(IntEnum):
|
|
195
179
|
#: [``DLT_APPLE_IP_OVER_IEEE1394``] Apple IP-over-IEEE 1394 cooked header.
|
196
180
|
APPLE_IP_OVER_IEEE1394 = 138
|
197
181
|
|
198
|
-
#: [``DLT_MTP2_WITH_PHDR``]
|
199
|
-
#: as specified by ITU-T Recommendation Q.703, preceded by a pseudo-header.
|
182
|
+
#: [``DLT_MTP2_WITH_PHDR``] SS7 MTP2 packets, with a pseudo-header.
|
200
183
|
MTP2_WITH_PHDR = 139
|
201
184
|
|
202
|
-
#: [``DLT_MTP2``]
|
203
|
-
#: specified by ITU-T Recommendation Q.703.
|
185
|
+
#: [``DLT_MTP2``] SS7 MTP2 packets.
|
204
186
|
MTP2 = 140
|
205
187
|
|
206
|
-
#: [``DLT_MTP3``]
|
207
|
-
#: specified by ITU-T Recommendation Q.704, with no MTP2 header preceding the
|
208
|
-
#: MTP3 packet.
|
188
|
+
#: [``DLT_MTP3``] SS7 MTP3 packets.
|
209
189
|
MTP3 = 141
|
210
190
|
|
211
|
-
#: [``DLT_SCCP``]
|
212
|
-
#: specified by ITU-T Recommendation Q.711, ITU-T Recommendation Q.712, ITU-T
|
213
|
-
#: Recommendation Q.713, and ITU-T Recommendation Q.714, with no MTP3 or MTP2
|
214
|
-
#: headers preceding the SCCP packet.
|
191
|
+
#: [``DLT_SCCP``] SS7 SCCP packets.
|
215
192
|
SCCP = 142
|
216
193
|
|
217
194
|
#: [``DLT_DOCSIS``] DOCSIS MAC frames, as described by the DOCSIS 4.0 MAC and
|
@@ -283,15 +260,11 @@ class LinkType(IntEnum):
|
|
283
260
|
#: [``DLT_JUNIPER_MONITOR``] Juniper Networks private data link type.
|
284
261
|
JUNIPER_MONITOR = 164
|
285
262
|
|
286
|
-
#: [``DLT_BACNET_MS_TP``] BACnet MS/TP frames
|
287
|
-
#: MS/TP Frame Format of ANSI/ASHRAE Standard 135, BACnet® - A Data
|
288
|
-
#: Communication Protocol for Building Automation and Control Networks,
|
289
|
-
#: including the preamble and, if present, the Data CRC.
|
263
|
+
#: [``DLT_BACNET_MS_TP``] BACnet MS/TP frames.
|
290
264
|
BACNET_MS_TP = 165
|
291
265
|
|
292
|
-
#: [``DLT_PPP_PPPD``] PPP
|
293
|
-
#:
|
294
|
-
#: incoming and 0x01 for outgoing.
|
266
|
+
#: [``DLT_PPP_PPPD``] PPP preceded by a direction octet and an HDLC-like
|
267
|
+
#: control field.
|
295
268
|
PPP_PPPD = 166
|
296
269
|
|
297
270
|
#: [``DLT_JUNIPER_PPPOE``] Juniper Networks private data link type.
|
@@ -321,10 +294,10 @@ class LinkType(IntEnum):
|
|
321
294
|
#: [``DLT_JUNIPER_PIC_PEER``] Juniper Networks private data link type.
|
322
295
|
JUNIPER_PIC_PEER = 174
|
323
296
|
|
324
|
-
#: [``DLT_ERF_ETH``]
|
297
|
+
#: [``DLT_ERF_ETH``] Endace ERF records of type TYPE\_ETH.
|
325
298
|
ERF_ETH = 175
|
326
299
|
|
327
|
-
#: [``DLT_ERF_POS``]
|
300
|
+
#: [``DLT_ERF_POS``] Endace ERF records of type TYPE\_POS\_HDLC.
|
328
301
|
ERF_POS = 176
|
329
302
|
|
330
303
|
#: [``DLT_LINUX_LAPD``] Linux vISDN LAPD frames
|
@@ -346,8 +319,7 @@ class LinkType(IntEnum):
|
|
346
319
|
#: frames prepended with meta-information.
|
347
320
|
JUNIPER_CHDLC = 181
|
348
321
|
|
349
|
-
#: [``DLT_MFR``] FRF.16.1 Multi-Link Frame Relay frames
|
350
|
-
#: FRF.12 Interface fragmentation format fragmentation header.
|
322
|
+
#: [``DLT_MFR``] FRF.16.1 Multi-Link Frame Relay frames.
|
351
323
|
MFR = 182
|
352
324
|
|
353
325
|
#: [``DLT_JUNIPER_VP``] Juniper Networks private data link type.
|
@@ -364,12 +336,7 @@ class LinkType(IntEnum):
|
|
364
336
|
#: [``DLT_USB_FREEBSD``] USB with FreeBSD header.
|
365
337
|
USB_FREEBSD = 186
|
366
338
|
|
367
|
-
#: [``DLT_BLUETOOTH_HCI_H4``] Bluetooth HCI UART
|
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.
|
339
|
+
#: [``DLT_BLUETOOTH_HCI_H4``] Bluetooth HCI UART Transport Layer packets.
|
373
340
|
BLUETOOTH_HCI_H4 = 187
|
374
341
|
|
375
342
|
#: [``DLT_IEEE802_16_MAC_CPS``] IEEE 802.16 MAC Common Part Sublayer.
|
@@ -385,9 +352,7 @@ class LinkType(IntEnum):
|
|
385
352
|
#: is done by Linux drivers.
|
386
353
|
IEEE802_15_4_LINUX = 191
|
387
354
|
|
388
|
-
#: [``DLT_PPI``] Per-Packet Information
|
389
|
-
#: Packet Information Header Specification, followed by a packet with the
|
390
|
-
#: LINKTYPE\_ value specified by the pph\_dlt field of that header.
|
355
|
+
#: [``DLT_PPI``] Per-Packet Information header preceding packet data.
|
391
356
|
PPI = 192
|
392
357
|
|
393
358
|
#: [``DLT_IEEE802_16_MAC_CPS_RADIO``] IEEE 802.16 MAC Common Part Sublayer plus
|
@@ -397,15 +362,13 @@ class LinkType(IntEnum):
|
|
397
362
|
#: [``DLT_JUNIPER_ISM``] Juniper Networks private data link type.
|
398
363
|
JUNIPER_ISM = 194
|
399
364
|
|
400
|
-
#: [``DLT_IEEE802_15_4_WITHFCS``] IEEE 802.15.4
|
401
|
-
#: with each packet having the FCS at the end of the frame.
|
365
|
+
#: [``DLT_IEEE802_15_4_WITHFCS``] IEEE 802.15.4 packets with FCS.
|
402
366
|
IEEE802_15_4_WITHFCS = 195
|
403
367
|
|
404
368
|
#: [``DLT_SITA``] Various link-layer types, with a pseudo-header, for SITA.
|
405
369
|
SITA = 196
|
406
370
|
|
407
|
-
#: [``DLT_ERF``]
|
408
|
-
#: cards; encapsulates Endace ERF records.
|
371
|
+
#: [``DLT_ERF``] Endace ERF records.
|
409
372
|
ERF = 197
|
410
373
|
|
411
374
|
#: [``DLT_RAIF1``] Special header prepended to Ethernet packets when capturing
|
@@ -419,51 +382,27 @@ class LinkType(IntEnum):
|
|
419
382
|
#: [``DLT_JUNIPER_ST``] Juniper Networks private data link type.
|
420
383
|
JUNIPER_ST = 200
|
421
384
|
|
422
|
-
#: [``DLT_BLUETOOTH_HCI_H4_WITH_PHDR``] Bluetooth HCI UART
|
423
|
-
#:
|
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.
|
385
|
+
#: [``DLT_BLUETOOTH_HCI_H4_WITH_PHDR``] Bluetooth HCI UART Transport Layer
|
386
|
+
#: packets with a direction pseudo-header.
|
431
387
|
BLUETOOTH_HCI_H4_WITH_PHDR = 201
|
432
388
|
|
433
|
-
#: [``DLT_AX25_KISS``]
|
434
|
-
#: type indicator.
|
389
|
+
#: [``DLT_AX25_KISS``] KISS frames between a host and an AX.25 TNC.
|
435
390
|
AX25_KISS = 202
|
436
391
|
|
437
|
-
#: [``DLT_LAPD``]
|
438
|
-
#: specified by ITU-T Recommendation Q.920 and ITU-T Recommendation Q.921,
|
439
|
-
#: starting with the address field, with no pseudo-header.
|
392
|
+
#: [``DLT_LAPD``] Q.921 LAPD frames.
|
440
393
|
LAPD = 203
|
441
394
|
|
442
|
-
#: [``DLT_PPP_WITH_DIR``] PPP,
|
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.
|
395
|
+
#: [``DLT_PPP_WITH_DIR``] PPP, with a direction header.
|
448
396
|
PPP_WITH_DIR = 204
|
449
397
|
|
450
|
-
#: [``DLT_C_HDLC_WITH_DIR``] Cisco PPP with HDLC framing,
|
451
|
-
#:
|
452
|
-
#: meaning "received by this host" and a non-zero value meaning "sent by this
|
453
|
-
#: host".
|
398
|
+
#: [``DLT_C_HDLC_WITH_DIR``] Cisco PPP with HDLC framing, with a direction
|
399
|
+
#: header.
|
454
400
|
C_HDLC_WITH_DIR = 205
|
455
401
|
|
456
|
-
#: [``DLT_FRELAY_WITH_DIR``] Frame Relay LAPF
|
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.
|
402
|
+
#: [``DLT_FRELAY_WITH_DIR``] Frame Relay LAPF, with a direction header.
|
461
403
|
FRELAY_WITH_DIR = 206
|
462
404
|
|
463
|
-
#: [``DLT_LAPB_WITH_DIR``]
|
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).
|
405
|
+
#: [``DLT_LAPB_WITH_DIR``] X.25 LAPB, with a direction header.
|
467
406
|
LAPB_WITH_DIR = 207
|
468
407
|
|
469
408
|
#: [``DLT_IPMB_LINUX``] Legacy names (do not use) for Linux I2C below.
|
@@ -480,8 +419,8 @@ class LinkType(IntEnum):
|
|
480
419
|
#: transport.
|
481
420
|
MOST = 211
|
482
421
|
|
483
|
-
#: [``DLT_LIN``] Local Interconnect Network (LIN) automotive bus,
|
484
|
-
#:
|
422
|
+
#: [``DLT_LIN``] Local Interconnect Network (LIN) automotive bus, with a
|
423
|
+
#: metadata header
|
485
424
|
LIN = 212
|
486
425
|
|
487
426
|
#: [``DLT_X2E_SERIAL``] X2E-private data link type used for serial line
|
@@ -492,11 +431,7 @@ class LinkType(IntEnum):
|
|
492
431
|
#: logger family.
|
493
432
|
X2E_XORAYA = 214
|
494
433
|
|
495
|
-
#: [``DLT_IEEE802_15_4_NONASK_PHY``] IEEE 802.15.4
|
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).
|
434
|
+
#: [``DLT_IEEE802_15_4_NONASK_PHY``] IEEE 802.15.4 packets with PHY header.
|
500
435
|
IEEE802_15_4_NONASK_PHY = 215
|
501
436
|
|
502
437
|
#: [``DLT_LINUX_EVDEV``] Linux evdev events from /dev/input/eventN devices.
|
@@ -511,8 +446,8 @@ class LinkType(IntEnum):
|
|
511
446
|
#: [``DLT_MPLS``] MPLS, with an MPLS label as the link-layer header.
|
512
447
|
MPLS = 219
|
513
448
|
|
514
|
-
#: [``DLT_USB_LINUX_MMAPPED``] USB packets, beginning with an
|
515
|
-
#:
|
449
|
+
#: [``DLT_USB_LINUX_MMAPPED``] USB packets, beginning with an extended Linux
|
450
|
+
#: USB header.
|
516
451
|
USB_LINUX_MMAPPED = 220
|
517
452
|
|
518
453
|
#: [``DLT_DECT``] DECT packets, with a pseudo-header.
|
@@ -525,23 +460,17 @@ class LinkType(IntEnum):
|
|
525
460
|
#: the HART Communication Foundation (IEC/PAS 62591).
|
526
461
|
WIHART = 223
|
527
462
|
|
528
|
-
#: [``DLT_FC_2``] Fibre Channel FC-2 frames
|
463
|
+
#: [``DLT_FC_2``] Fibre Channel FC-2 frames.
|
529
464
|
FC_2 = 224
|
530
465
|
|
531
|
-
#: [``DLT_FC_2_WITH_FRAME_DELIMS``] Fibre Channel FC-2 frames
|
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.
|
466
|
+
#: [``DLT_FC_2_WITH_FRAME_DELIMS``] Fibre Channel FC-2 frames with SOF and EOF.
|
538
467
|
FC_2_WITH_FRAME_DELIMS = 225
|
539
468
|
|
540
469
|
#: [``DLT_IPNET``] Solaris ipnet
|
541
470
|
IPNET = 226
|
542
471
|
|
543
|
-
#: [``DLT_CAN_SOCKETCAN``]
|
544
|
-
#: header
|
472
|
+
#: [``DLT_CAN_SOCKETCAN``] Controller Area Network (CAN) frames, with a
|
473
|
+
#: metadata header.
|
545
474
|
CAN_SOCKETCAN = 227
|
546
475
|
|
547
476
|
#: [``DLT_IPV4``] Raw IPv4; the packet begins with an IPv4 header.
|
@@ -550,13 +479,10 @@ class LinkType(IntEnum):
|
|
550
479
|
#: [``DLT_IPV6``] Raw IPv6; the packet begins with an IPv6 header.
|
551
480
|
IPV6 = 229
|
552
481
|
|
553
|
-
#: [``DLT_IEEE802_15_4_NOFCS``] IEEE 802.15.4
|
554
|
-
#: without the FCS at the end of the frame.
|
482
|
+
#: [``DLT_IEEE802_15_4_NOFCS``] IEEE 802.15.4 packets without FCS.
|
555
483
|
IEEE802_15_4_NOFCS = 230
|
556
484
|
|
557
|
-
#: [``DLT_DBUS``] Raw D-Bus messages
|
558
|
-
#: followed by the message type, etc., but without the authentication handshake
|
559
|
-
#: before the message sequence.
|
485
|
+
#: [``DLT_DBUS``] Raw D-Bus messages.
|
560
486
|
DBUS = 231
|
561
487
|
|
562
488
|
#: [``DLT_JUNIPER_VS``] Juniper Networks private data link type.
|
@@ -568,18 +494,13 @@ class LinkType(IntEnum):
|
|
568
494
|
#: [``DLT_JUNIPER_FIBRECHANNEL``] Juniper Networks private data link type.
|
569
495
|
JUNIPER_FIBRECHANNEL = 234
|
570
496
|
|
571
|
-
#: [``DLT_DVB_CI``] DVB-CI messages, with
|
572
|
-
#: PCAP format for DVB-CI specification.
|
497
|
+
#: [``DLT_DVB_CI``] DVB-CI messages, with a pseudo-header.
|
573
498
|
DVB_CI = 235
|
574
499
|
|
575
|
-
#: [``DLT_MUX27010``] Variant of 3GPP TS 27.010 multiplexing protocol
|
576
|
-
#: to, but not the same as, 27.010).
|
500
|
+
#: [``DLT_MUX27010``] Variant of 3GPP TS 27.010 multiplexing protocol.
|
577
501
|
MUX27010 = 236
|
578
502
|
|
579
|
-
#: [``DLT_STANAG_5066_D_PDU``] D\_PDUs
|
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.
|
503
|
+
#: [``DLT_STANAG_5066_D_PDU``] STANAG 5066 D\_PDUs.
|
583
504
|
STANAG_5066_D_PDU = 237
|
584
505
|
|
585
506
|
#: [``DLT_JUNIPER_ATM_CEMIC``] Juniper Networks private data link type.
|
@@ -588,20 +509,18 @@ class LinkType(IntEnum):
|
|
588
509
|
#: [``DLT_NFLOG``] Linux netlink NETLINK NFLOG socket log messages.
|
589
510
|
NFLOG = 239
|
590
511
|
|
591
|
-
#: [``DLT_NETANALYZER``] Ethernet frames
|
592
|
-
#:
|
512
|
+
#: [``DLT_NETANALYZER``] Ethernet frames with Hilscher netANALYZER pseudo-
|
513
|
+
#: header.
|
593
514
|
NETANALYZER = 240
|
594
515
|
|
595
|
-
#: [``DLT_NETANALYZER_TRANSPARENT``] Ethernet frames
|
596
|
-
#: and SFD, preceded by a Hilscher
|
516
|
+
#: [``DLT_NETANALYZER_TRANSPARENT``] Ethernet frames with netANALYZER pseudo-
|
517
|
+
#: header, preamble and SFD, preceded by a Hilscher.
|
597
518
|
NETANALYZER_TRANSPARENT = 241
|
598
519
|
|
599
|
-
#: [``DLT_IPOIB``] IP-over-InfiniBand
|
520
|
+
#: [``DLT_IPOIB``] IP-over-InfiniBand.
|
600
521
|
IPOIB = 242
|
601
522
|
|
602
|
-
#: [``DLT_MPEG_2_TS``] MPEG-2 Transport Stream transport packets
|
603
|
-
#: by ISO 13818-1/ITU-T Recommendation H.222.0 (see table 2-2 of section
|
604
|
-
#: 2.4.3.2 "Transport Stream packet layer").
|
523
|
+
#: [``DLT_MPEG_2_TS``] MPEG-2 Transport Stream transport packets.
|
605
524
|
MPEG_2_TS = 243
|
606
525
|
|
607
526
|
#: [``DLT_NG40``] Frames from ng4T GmbH's ng40 protocol tester.
|
@@ -614,9 +533,7 @@ class LinkType(IntEnum):
|
|
614
533
|
#: Packet filter state syncing.
|
615
534
|
PFSYNC = 246
|
616
535
|
|
617
|
-
#: [``DLT_INFINIBAND``]
|
618
|
-
#: Header, as specified in Chapter 5 "Data packet format" of InfiniBand™
|
619
|
-
#: Architecture Specification Release 1.2.1 Volume 1 - General Specifications.
|
536
|
+
#: [``DLT_INFINIBAND``] InfiniBand data packets.
|
620
537
|
INFINIBAND = 247
|
621
538
|
|
622
539
|
#: [``DLT_SCTP``] SCTP packets, as defined by RFC 4960, with no lower-level
|
@@ -630,10 +547,7 @@ class LinkType(IntEnum):
|
|
630
547
|
#: Laboratories "RTAC" product.
|
631
548
|
RTAC_SERIAL = 250
|
632
549
|
|
633
|
-
#: [``DLT_BLUETOOTH_LE_LL``] Bluetooth Low Energy
|
634
|
-
#: packets, in the format described in section 2.1 "PACKET FORMAT" of volume 6
|
635
|
-
#: of the Bluetooth Specification Version 4.0 (see PDF page 2200), but without
|
636
|
-
#: the Preamble.
|
550
|
+
#: [``DLT_BLUETOOTH_LE_LL``] Bluetooth Low Energy link-layer packets.
|
637
551
|
BLUETOOTH_LE_LL = 251
|
638
552
|
|
639
553
|
#: [``DLT_WIRESHARK_UPPER_PDU``] Upper-protocol layer PDU saves from Wireshark;
|
@@ -644,42 +558,34 @@ class LinkType(IntEnum):
|
|
644
558
|
#: [``DLT_NETLINK``] Linux Netlink capture encapsulation.
|
645
559
|
NETLINK = 253
|
646
560
|
|
647
|
-
#: [``DLT_BLUETOOTH_LINUX_MONITOR``] Bluetooth Linux Monitor
|
648
|
-
#: traffic for the BlueZ stack.
|
561
|
+
#: [``DLT_BLUETOOTH_LINUX_MONITOR``] Bluetooth Linux Monitor.
|
649
562
|
BLUETOOTH_LINUX_MONITOR = 254
|
650
563
|
|
651
564
|
#: [``DLT_BLUETOOTH_BREDR_BB``] Bluetooth Basic Rate and Enhanced Data Rate
|
652
565
|
#: baseband packets.
|
653
566
|
BLUETOOTH_BREDR_BB = 255
|
654
567
|
|
655
|
-
#: [``DLT_BLUETOOTH_LE_LL_WITH_PHDR``] Bluetooth Low Energy link-layer packets
|
568
|
+
#: [``DLT_BLUETOOTH_LE_LL_WITH_PHDR``] Bluetooth Low Energy link-layer packets,
|
569
|
+
#: with a pseudo-header.
|
656
570
|
BLUETOOTH_LE_LL_WITH_PHDR = 256
|
657
571
|
|
658
|
-
#: [``DLT_PROFIBUS_DL``] PROFIBUS data link layer packets
|
659
|
-
#: standard 61158-4-3, beginning with the start delimiter, ending with the end
|
660
|
-
#: delimiter, and including all octets between them.
|
572
|
+
#: [``DLT_PROFIBUS_DL``] PROFIBUS data link layer packets.
|
661
573
|
PROFIBUS_DL = 257
|
662
574
|
|
663
575
|
#: [``DLT_PKTAP``] Apple PKTAP capture encapsulation.
|
664
576
|
PKTAP = 258
|
665
577
|
|
666
|
-
#: [``DLT_EPON``] Ethernet-over-passive-optical-network packets,
|
667
|
-
#:
|
668
|
-
#: "Transmit" in Clause 65 of Section 5 of IEEE 802.3, followed immediately by
|
669
|
-
#: an Ethernet frame.
|
578
|
+
#: [``DLT_EPON``] Ethernet-over-passive-optical-network packets, including
|
579
|
+
#: preamble octets.
|
670
580
|
EPON = 259
|
671
581
|
|
672
|
-
#: [``DLT_IPMI_HPM_2``] IPMI trace packets
|
673
|
-
#: Data Block Format" in the PICMG HPM.2 specification. The time stamps for
|
674
|
-
#: packets in this format must match the time stamps in the Trace Data Blocks.
|
582
|
+
#: [``DLT_IPMI_HPM_2``] IPMI HPM.2 trace packets.
|
675
583
|
IPMI_HPM_2 = 260
|
676
584
|
|
677
|
-
#: [``DLT_ZWAVE_R1_R2``] Z-Wave RF profile R1 and R2 packets
|
678
|
-
#: ITU-T Recommendation G.9959, with some MAC layer fields moved.
|
585
|
+
#: [``DLT_ZWAVE_R1_R2``] Z-Wave RF profile R1 and R2 packets.
|
679
586
|
ZWAVE_R1_R2 = 261
|
680
587
|
|
681
|
-
#: [``DLT_ZWAVE_R3``] Z-Wave RF profile R3 packets
|
682
|
-
#: Recommendation G.9959, with some MAC layer fields moved.
|
588
|
+
#: [``DLT_ZWAVE_R3``] Z-Wave RF profile R3 packets.
|
683
589
|
ZWAVE_R3 = 262
|
684
590
|
|
685
591
|
#: [``DLT_WATTSTOPPER_DLM``] WattStopper Digital Lighting Management (DLM) and
|
@@ -703,18 +609,13 @@ class LinkType(IntEnum):
|
|
703
609
|
#: used in OpenBSD switch interface monitoring.
|
704
610
|
OPENFLOW = 267
|
705
611
|
|
706
|
-
#: [``DLT_SDLC``] SDLC packets
|
707
|
-
#: "Synchronous Data Link Control (SDLC)" of Systems Network Architecture
|
708
|
-
#: Formats, GA27-3136-20, without the flag fields, zero-bit insertion, or Frame
|
709
|
-
#: Check Sequence field, containing SNA path information units (PIUs) as the
|
710
|
-
#: payload.
|
612
|
+
#: [``DLT_SDLC``] SNA SDLC packets
|
711
613
|
SDLC = 268
|
712
614
|
|
713
615
|
#: [``DLT_TI_LLN_SNIFFER``] TI LLN sniffer frames.
|
714
616
|
TI_LLN_SNIFFER = 269
|
715
617
|
|
716
|
-
#: [``DLT_LORATAP``] LoRaTap pseudo-header
|
717
|
-
#: typically the PHYPayload from the LoRaWan specification.
|
618
|
+
#: [``DLT_LORATAP``] LoRaWan packets with a LoRaTap pseudo-header.
|
718
619
|
LORATAP = 270
|
719
620
|
|
720
621
|
#: [``DLT_VSOCK``] Protocol for communication between host and guest machines
|
@@ -729,8 +630,7 @@ class LinkType(IntEnum):
|
|
729
630
|
#: header giving metadata about the packet.
|
730
631
|
DOCSIS31_XRA31 = 273
|
731
632
|
|
732
|
-
#: [``DLT_ETHERNET_MPACKET``]
|
733
|
-
#: 99-4, starting with the preamble and always ending with a CRC field.
|
633
|
+
#: [``DLT_ETHERNET_MPACKET``] IEEE 802.3 mPackets.
|
734
634
|
ETHERNET_MPACKET = 274
|
735
635
|
|
736
636
|
#: [``DLT_DISPLAYPORT_AUX``] DisplayPort AUX channel monitoring messages.
|
@@ -759,8 +659,8 @@ class LinkType(IntEnum):
|
|
759
659
|
#: prepended.
|
760
660
|
DSA_TAG_BRCM_PREPEND = 282
|
761
661
|
|
762
|
-
#: [``DLT_IEEE802_15_4_TAP``] IEEE 802.15.4
|
763
|
-
#:
|
662
|
+
#: [``DLT_IEEE802_15_4_TAP``] IEEE 802.15.4 packets, with a pseudo-header
|
663
|
+
#: containing TLVs with metadata preceding the 802.15.4 header.
|
764
664
|
IEEE802_15_4_TAP = 283
|
765
665
|
|
766
666
|
#: [``DLT_DSA_TAG_DSA``] Ethernet frames, with a Marvell DSA switch tag
|
@@ -771,9 +671,7 @@ class LinkType(IntEnum):
|
|
771
671
|
#: inserted.
|
772
672
|
DSA_TAG_EDSA = 285
|
773
673
|
|
774
|
-
#: [``DLT_ELEE``]
|
775
|
-
#: The packet begins with the ELEE header; it does not include any transport-
|
776
|
-
#: layer or lower-layer headers for protocols used to transport ELEE packets.
|
674
|
+
#: [``DLT_ELEE``] Reserved for ELEE lawful intercept protocol.
|
777
675
|
ELEE = 286
|
778
676
|
|
779
677
|
#: [``DLT_Z_WAVE_SERIAL``] Serial frames transmitted between a host and a
|
@@ -781,15 +679,10 @@ class LinkType(IntEnum):
|
|
781
679
|
#: 5 of the Z-Wave Serial API Host Application Programming Guide.
|
782
680
|
Z_WAVE_SERIAL = 287
|
783
681
|
|
784
|
-
#: [``DLT_USB_2_0``] USB 2.0, 1.1, or 1.0
|
785
|
-
#: described by Chapter 8 "Protocol Layer" of the the Universal Serial Bus
|
786
|
-
#: Specification Revision 2.0. Deprecated in favor of speed specific USB 2.0,
|
787
|
-
#: 1.1, or 1.0 linktypes.
|
682
|
+
#: [``DLT_USB_2_0``] USB 2.0, 1.1, or 1.0 packets.
|
788
683
|
USB_2_0 = 288
|
789
684
|
|
790
|
-
#: [``DLT_ATSC_ALP``] ATSC Link-Layer Protocol frames
|
791
|
-
#: 5 of the A/330 Link-Layer Protocol specification, found at the ATSC 3.0
|
792
|
-
#: standards page, beginning with a Base Header.
|
685
|
+
#: [``DLT_ATSC_ALP``] ATSC Link-Layer Protocol frames.
|
793
686
|
ATSC_ALP = 289
|
794
687
|
|
795
688
|
#: [``DLT_ETW``] Event Tracing for Windows messages.
|
@@ -802,27 +695,19 @@ class LinkType(IntEnum):
|
|
802
695
|
#: [``DLT_ZBOSS_NCP``] ZBOSS NCP Serial Protocol, with a pseudo-header.
|
803
696
|
ZBOSS_NCP = 292
|
804
697
|
|
805
|
-
#: [``DLT_USB_2_0_LOW_SPEED``] Low-Speed USB 2.0, 1.1, or 1.0
|
806
|
-
#: with a PID, as described by Chapter 8 "Protocol Layer" of the the Universal
|
807
|
-
#: Serial Bus Specification Revision 2.0.
|
698
|
+
#: [``DLT_USB_2_0_LOW_SPEED``] Low-Speed USB 2.0, 1.1, or 1.0 packets..
|
808
699
|
USB_2_0_LOW_SPEED = 293
|
809
700
|
|
810
|
-
#: [``DLT_USB_2_0_FULL_SPEED``] Full-Speed USB 2.0, 1.1, or 1.0
|
811
|
-
#: beginning with a PID, as described by Chapter 8 "Protocol Layer" of the the
|
812
|
-
#: Universal Serial Bus Specification Revision 2.0.
|
701
|
+
#: [``DLT_USB_2_0_FULL_SPEED``] Full-Speed USB 2.0, 1.1, or 1.0 packets.
|
813
702
|
USB_2_0_FULL_SPEED = 294
|
814
703
|
|
815
|
-
#: [``DLT_USB_2_0_HIGH_SPEED``] High-Speed USB 2.0
|
816
|
-
#: PID, as described by Chapter 8 "Protocol Layer" of the the Universal Serial
|
817
|
-
#: Bus Specification Revision 2.0.
|
704
|
+
#: [``DLT_USB_2_0_HIGH_SPEED``] High-Speed USB 2.0 packets.
|
818
705
|
USB_2_0_HIGH_SPEED = 295
|
819
706
|
|
820
|
-
#: [``DLT_AUERSWALD_LOG``] Auerswald Logger Protocol
|
821
|
-
#: document.
|
707
|
+
#: [``DLT_AUERSWALD_LOG``] Auerswald Logger Protocol packets.
|
822
708
|
AUERSWALD_LOG = 296
|
823
709
|
|
824
|
-
#: [``DLT_ZWAVE_TAP``] Z-Wave packets,
|
825
|
-
#: G.9959, with a TAP meta-data header.
|
710
|
+
#: [``DLT_ZWAVE_TAP``] Z-Wave packets, with a metadata header.
|
826
711
|
ZWAVE_TAP = 297
|
827
712
|
|
828
713
|
#: [``DLT_SILABS_DEBUG_CHANNEL``] Silicon Labs debug channel protocol, as
|
@@ -832,16 +717,10 @@ class LinkType(IntEnum):
|
|
832
717
|
#: [``DLT_FIRA_UCI``] Ultra-wideband (UWB) controller interface protocol (UCI).
|
833
718
|
FIRA_UCI = 299
|
834
719
|
|
835
|
-
#: [``DLT_MDB``] MDB (Multi-Drop Bus)
|
836
|
-
#: controller and peripherals inside the vending machine, with the message
|
837
|
-
#: format specified by the PCAP format for MDB specification.
|
720
|
+
#: [``DLT_MDB``] MDB (Multi-Drop Bus) messages, with a pseudo-header.
|
838
721
|
MDB = 300
|
839
722
|
|
840
|
-
#: [``DLT_DECT_NR``] DECT-2020 New Radio (NR) MAC layer
|
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.
|
723
|
+
#: [``DLT_DECT_NR``] DECT-2020 New Radio (NR) MAC layer.
|
845
724
|
DECT_NR = 301
|
846
725
|
|
847
726
|
@staticmethod
|
@@ -1,4 +1,4 @@
|
|
1
|
-
pcapkit/__init__.py,sha256
|
1
|
+
pcapkit/__init__.py,sha256=MDb-rEQDcuD_cH45janDMUU9Ox7qUGxG7ab8pi4IeWY,4026
|
2
2
|
pcapkit/__main__.py,sha256=G3rJrhCwkxlxOa04zwRJ4mq4G1k8JYWES3JnsaeMDe4,6415
|
3
3
|
pcapkit/all.py,sha256=6G7rVFlajYk98F5vCYcLOw-CkXdEw4C2zAwnTgU0asU,6679
|
4
4
|
pcapkit/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -117,9 +117,9 @@ pcapkit/const/pcapng/record_type.py,sha256=4rZytbhhF6u5SPvQ8ew3jx4OhN_rwDQG3I4Jl
|
|
117
117
|
pcapkit/const/pcapng/secrets_type.py,sha256=n_662aowLtqA25ilbdG6BWb2rYmrdBJt79_SISzfJkw,1578
|
118
118
|
pcapkit/const/pcapng/verdict_type.py,sha256=_jEkN0g6CX-DGshAj-lUiZjiwdK7Fqou2pnzgZ-WyIk,1476
|
119
119
|
pcapkit/const/reg/__init__.py,sha256=xKABPHwDQ0diN2sFA7hkw42FNsb6tx294XemEjTs2g8,1469
|
120
|
-
pcapkit/const/reg/apptype.py,sha256=
|
120
|
+
pcapkit/const/reg/apptype.py,sha256=OhjHqk7xP3-8CgjXxX9L97PTssMAHwsNHoggTliL4FA,1434077
|
121
121
|
pcapkit/const/reg/ethertype.py,sha256=6Xz-MugXqQMc8hUHmkMMK_zeeYlkJ1Ql9Jtek_e3j1g,26564
|
122
|
-
pcapkit/const/reg/linktype.py,sha256=
|
122
|
+
pcapkit/const/reg/linktype.py,sha256=FPvSyVKT4s0zeyl9JGIVnNOr_0Pc8VPxZM4O2cZILqA,23128
|
123
123
|
pcapkit/const/reg/transtype.py,sha256=quUphafWvhgSJYulKmhBtb3h4vqiE9qyHWPAt0tWPBs,13019
|
124
124
|
pcapkit/const/tcp/__init__.py,sha256=PSTSxmdKt5l4NBsXq4m8x6dELWqOSNQxAuWePqTNAw8,1494
|
125
125
|
pcapkit/const/tcp/checksum.py,sha256=0SSu5WD2_BcN6CYnIMI0AoToDBFTcVrxOYNzGinm7kE,1524
|
@@ -458,9 +458,9 @@ pcapkit/vendor/tcp/mp_tcp_option.py,sha256=f6_-VMoQFnhuEbxs17Q1rp6JjFSLXGK3w1K2v
|
|
458
458
|
pcapkit/vendor/tcp/option.py,sha256=p05DrOt2m0QCf4gjLJzRshQRvaWxmt2PIzsv2UMjsa8,3043
|
459
459
|
pcapkit/vendor/vlan/__init__.py,sha256=qvLktJ0yuoZokas6-_ZGwMJOzbujSCM8pZHQ9jjTegU,674
|
460
460
|
pcapkit/vendor/vlan/priority_level.py,sha256=xVu6M-Ys4pft5I-qPCCxM-KfnMAUnZppD2qPO9gPkVE,2961
|
461
|
-
pypcapkit-1.3.5.
|
462
|
-
pypcapkit-1.3.5.
|
463
|
-
pypcapkit-1.3.5.
|
464
|
-
pypcapkit-1.3.5.
|
465
|
-
pypcapkit-1.3.5.
|
466
|
-
pypcapkit-1.3.5.
|
461
|
+
pypcapkit-1.3.5.post15.dist-info/licenses/LICENSE,sha256=KkKND5E2e1Z6CQvSLPc1lRBy4xPRed41AG6q1txotWk,1516
|
462
|
+
pypcapkit-1.3.5.post15.dist-info/METADATA,sha256=ilQBWpwd2f9R6IVdsWaicWur5QqPwGIjeTU8Qpi9iF8,7754
|
463
|
+
pypcapkit-1.3.5.post15.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
|
464
|
+
pypcapkit-1.3.5.post15.dist-info/entry_points.txt,sha256=8tVaZ-N0S2t19ELoTEGq_OlC8-dSmd7dvNn-kMV3afY,100
|
465
|
+
pypcapkit-1.3.5.post15.dist-info/top_level.txt,sha256=KEssKRhG9ln3EOfGH-yi98HgI-MM9hOHy09QQP-fvk8,8
|
466
|
+
pypcapkit-1.3.5.post15.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|