pypcapkit 1.3.5.post10__cp313-none-any.whl → 1.3.5.post13__cp313-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 +19 -2
- pcapkit/const/reg/linktype.py +44 -133
- pcapkit/const/tcp/flags.py +2 -2
- pcapkit/const/tcp/option.py +2 -4
- {pypcapkit-1.3.5.post10.dist-info → pypcapkit-1.3.5.post13.dist-info}/METADATA +3 -2
- {pypcapkit-1.3.5.post10.dist-info → pypcapkit-1.3.5.post13.dist-info}/RECORD +11 -11
- {pypcapkit-1.3.5.post10.dist-info → pypcapkit-1.3.5.post13.dist-info}/WHEEL +1 -1
- {pypcapkit-1.3.5.post10.dist-info → pypcapkit-1.3.5.post13.dist-info}/entry_points.txt +0 -0
- {pypcapkit-1.3.5.post10.dist-info → pypcapkit-1.3.5.post13.dist-info/licenses}/LICENSE +0 -0
- {pypcapkit-1.3.5.post10.dist-info → pypcapkit-1.3.5.post13.dist-info}/top_level.txt +0 -0
pcapkit/__init__.py
CHANGED
pcapkit/const/reg/apptype.py
CHANGED
@@ -21912,6 +21912,13 @@ class AppType(StrEnum):
|
|
21912
21912
|
#: - [UDP] Proprietary immutable distributed data storage
|
21913
21913
|
rome: 'AppType' = 7663, 'rome', TransportProtocol.get('tcp') | TransportProtocol.get('udp')
|
21914
21914
|
|
21915
|
+
#: [TCP] AuthorityGate Secure API communication for Orchestrated task
|
21916
|
+
#: sequencing
|
21917
|
+
authoritygate: 'AppType' = 7668, 'authoritygate', TransportProtocol.get('tcp')
|
21918
|
+
|
21919
|
+
#: [UDP] Reserved
|
21920
|
+
reserved_7668: 'AppType' = 7668, 'reserved', TransportProtocol.get('udp')
|
21921
|
+
|
21915
21922
|
#: [TCP] iMQ STOMP Server
|
21916
21923
|
imqstomp: 'AppType' = 7672, 'imqstomp', TransportProtocol.get('tcp')
|
21917
21924
|
|
@@ -27100,6 +27107,10 @@ class AppType(StrEnum):
|
|
27100
27107
|
#: - [UDP] InVision AG
|
27101
27108
|
invision_ag: 'AppType' = 45054, 'invision-ag', TransportProtocol.get('tcp') | TransportProtocol.get('udp')
|
27102
27109
|
|
27110
|
+
#: - [TCP] Wire and Wireless transfer on synchroniz
|
27111
|
+
#: - [UDP] Wire and Wireless transfer on synchroniz
|
27112
|
+
witsnet: 'AppType' = 45185, 'witsnet', TransportProtocol.get('tcp') | TransportProtocol.get('udp')
|
27113
|
+
|
27103
27114
|
#: [TCP] ASSIA CloudCheck WiFi Management System
|
27104
27115
|
cloudcheck: 'AppType' = 45514, 'cloudcheck', TransportProtocol.get('tcp')
|
27105
27116
|
|
@@ -31238,7 +31249,10 @@ class AppType(StrEnum):
|
|
31238
31249
|
if 7649 <= value <= 7662:
|
31239
31250
|
#: [N/A] Unassigned
|
31240
31251
|
return extend_enum(cls, 'unassigned_%d' % value, value, 'unassigned', TransportProtocol.get('undefined'))
|
31241
|
-
if 7664 <= value <=
|
31252
|
+
if 7664 <= value <= 7667:
|
31253
|
+
#: [N/A] Unassigned
|
31254
|
+
return extend_enum(cls, 'unassigned_%d' % value, value, 'unassigned', TransportProtocol.get('undefined'))
|
31255
|
+
if 7669 <= value <= 7671:
|
31242
31256
|
#: [N/A] Unassigned
|
31243
31257
|
return extend_enum(cls, 'unassigned_%d' % value, value, 'unassigned', TransportProtocol.get('undefined'))
|
31244
31258
|
if 7678 <= value <= 7679:
|
@@ -32675,7 +32689,10 @@ class AppType(StrEnum):
|
|
32675
32689
|
if 45046 <= value <= 45053:
|
32676
32690
|
#: [N/A] Unassigned
|
32677
32691
|
return extend_enum(cls, 'unassigned_%d' % value, value, 'unassigned', TransportProtocol.get('undefined'))
|
32678
|
-
if 45055 <= value <=
|
32692
|
+
if 45055 <= value <= 45184:
|
32693
|
+
#: [N/A] Unassigned
|
32694
|
+
return extend_enum(cls, 'unassigned_%d' % value, value, 'unassigned', TransportProtocol.get('undefined'))
|
32695
|
+
if 45186 <= value <= 45513:
|
32679
32696
|
#: [N/A] Unassigned
|
32680
32697
|
return extend_enum(cls, 'unassigned_%d' % value, value, 'unassigned', TransportProtocol.get('undefined'))
|
32681
32698
|
if 45515 <= value <= 45677:
|
pcapkit/const/reg/linktype.py
CHANGED
@@ -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,11 +56,7 @@ 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
62
|
#: [``DLT_PPP_ETHER``] PPPoE; the packet begins with a PPPoE header, as per RFC
|
@@ -83,8 +75,7 @@ class LinkType(IntEnum):
|
|
83
75
|
#: header.
|
84
76
|
RAW = 101
|
85
77
|
|
86
|
-
#: [``DLT_C_HDLC``] Cisco PPP with HDLC framing
|
87
|
-
#: 1547.
|
78
|
+
#: [``DLT_C_HDLC``] Cisco PPP with HDLC framing.
|
88
79
|
C_HDLC = 104
|
89
80
|
|
90
81
|
#: [``DLT_IEEE802_11``] IEEE 802.11 wireless LAN.
|
@@ -93,9 +84,7 @@ class LinkType(IntEnum):
|
|
93
84
|
#: [``DLT_ATM_CLIP``] Linux Classical IP over ATM.
|
94
85
|
ATM_CLIP = 106
|
95
86
|
|
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.
|
87
|
+
#: [``DLT_FRELAY``] Frame Relay LAPF.
|
99
88
|
FRELAY = 107
|
100
89
|
|
101
90
|
#: [``DLT_LOOP``] OpenBSD loopback encapsulation.
|
@@ -139,8 +128,7 @@ class LinkType(IntEnum):
|
|
139
128
|
#: link-layer header.
|
140
129
|
AIRONET_HEADER = 120
|
141
130
|
|
142
|
-
#: [``DLT_IP_OVER_FC``]
|
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.
|
144
132
|
IP_OVER_FC = 122
|
145
133
|
|
146
134
|
#: [``DLT_SUNATM``] ATM traffic captured from a SunATM device.
|
@@ -346,8 +334,7 @@ class LinkType(IntEnum):
|
|
346
334
|
#: frames prepended with meta-information.
|
347
335
|
JUNIPER_CHDLC = 181
|
348
336
|
|
349
|
-
#: [``DLT_MFR``] FRF.16.1 Multi-Link Frame Relay frames
|
350
|
-
#: FRF.12 Interface fragmentation format fragmentation header.
|
337
|
+
#: [``DLT_MFR``] FRF.16.1 Multi-Link Frame Relay frames.
|
351
338
|
MFR = 182
|
352
339
|
|
353
340
|
#: [``DLT_JUNIPER_VP``] Juniper Networks private data link type.
|
@@ -364,26 +351,13 @@ class LinkType(IntEnum):
|
|
364
351
|
#: [``DLT_USB_FREEBSD``] USB with FreeBSD header.
|
365
352
|
USB_FREEBSD = 186
|
366
353
|
|
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.
|
354
|
+
#: [``DLT_BLUETOOTH_HCI_H4``] Bluetooth HCI UART Transport Layer packets.
|
373
355
|
BLUETOOTH_HCI_H4 = 187
|
374
356
|
|
375
357
|
#: [``DLT_IEEE802_16_MAC_CPS``] IEEE 802.16 MAC Common Part Sublayer.
|
376
358
|
IEEE802_16_MAC_CPS = 188
|
377
359
|
|
378
|
-
#: [``DLT_USB_LINUX``] USB packets, beginning with a Linux USB header
|
379
|
-
#: specified by the struct usbmon\_packet in the Documentation/usb/usbmon.txt
|
380
|
-
#: file in the Linux source tree. Only the first 48 bytes of that header are
|
381
|
-
#: present. All fields in the header are in host byte order. When performing a
|
382
|
-
#: live capture, the host byte order is the byte order of the machine on that
|
383
|
-
#: the packets are captured. When reading a pcap file, the byte order is the
|
384
|
-
#: byte order for the file, as specified by the file's magic number; when
|
385
|
-
#: reading a pcapng file, the byte order is the byte order for the section of
|
386
|
-
#: the pcapng file, as specified by the Section Header Block.
|
360
|
+
#: [``DLT_USB_LINUX``] USB packets, beginning with a Linux USB header.
|
387
361
|
USB_LINUX = 189
|
388
362
|
|
389
363
|
#: [``DLT_CAN20B``] Controller Area Network (CAN) v. 2.0B.
|
@@ -393,9 +367,7 @@ class LinkType(IntEnum):
|
|
393
367
|
#: is done by Linux drivers.
|
394
368
|
IEEE802_15_4_LINUX = 191
|
395
369
|
|
396
|
-
#: [``DLT_PPI``] Per-Packet Information
|
397
|
-
#: Packet Information Header Specification, followed by a packet with the
|
398
|
-
#: LINKTYPE\_ value specified by the pph\_dlt field of that header.
|
370
|
+
#: [``DLT_PPI``] Per-Packet Information header precending packet data.
|
399
371
|
PPI = 192
|
400
372
|
|
401
373
|
#: [``DLT_IEEE802_16_MAC_CPS_RADIO``] IEEE 802.16 MAC Common Part Sublayer plus
|
@@ -405,8 +377,7 @@ class LinkType(IntEnum):
|
|
405
377
|
#: [``DLT_JUNIPER_ISM``] Juniper Networks private data link type.
|
406
378
|
JUNIPER_ISM = 194
|
407
379
|
|
408
|
-
#: [``DLT_IEEE802_15_4_WITHFCS``] IEEE 802.15.4
|
409
|
-
#: 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.
|
410
381
|
IEEE802_15_4_WITHFCS = 195
|
411
382
|
|
412
383
|
#: [``DLT_SITA``] Various link-layer types, with a pseudo-header, for SITA.
|
@@ -427,51 +398,28 @@ class LinkType(IntEnum):
|
|
427
398
|
#: [``DLT_JUNIPER_ST``] Juniper Networks private data link type.
|
428
399
|
JUNIPER_ST = 200
|
429
400
|
|
430
|
-
#: [``DLT_BLUETOOTH_HCI_H4_WITH_PHDR``] Bluetooth HCI UART
|
431
|
-
#:
|
432
|
-
#: the low-order bit of which is set if the frame was sent from the host to the
|
433
|
-
#: controller and clear if the frame was received by the host from the
|
434
|
-
#: controller, followed by an HCI packet indicator byte, as specified by the
|
435
|
-
#: UART Transport Layer portion of the most recent Bluetooth Core
|
436
|
-
#: specification, followed by an HCI packet of the specified packet type, as
|
437
|
-
#: specified by the Host Controller Interface Functional Specification portion
|
438
|
-
#: 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.
|
439
403
|
BLUETOOTH_HCI_H4_WITH_PHDR = 201
|
440
404
|
|
441
405
|
#: [``DLT_AX25_KISS``] AX.25 packet, with a 1-byte KISS header containing a
|
442
406
|
#: type indicator.
|
443
407
|
AX25_KISS = 202
|
444
408
|
|
445
|
-
#: [``DLT_LAPD``]
|
446
|
-
#: specified by ITU-T Recommendation Q.920 and ITU-T Recommendation Q.921,
|
447
|
-
#: starting with the address field, with no pseudo-header.
|
409
|
+
#: [``DLT_LAPD``] Q.921 LAPD frames.
|
448
410
|
LAPD = 203
|
449
411
|
|
450
|
-
#: [``DLT_PPP_WITH_DIR``] PPP,
|
451
|
-
#: one-byte pseudo-header with a zero value meaning "received by this host" and
|
452
|
-
#: a non-zero value meaning "sent by this host"; if the first 2 bytes are 0xff
|
453
|
-
#: and 0x03, it's PPP in HDLC-like framing, with the PPP header following those
|
454
|
-
#: two bytes, otherwise it's PPP without framing, and the packet begins with
|
455
|
-
#: 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.
|
456
413
|
PPP_WITH_DIR = 204
|
457
414
|
|
458
|
-
#: [``DLT_C_HDLC_WITH_DIR``] Cisco PPP with HDLC framing,
|
459
|
-
#:
|
460
|
-
#: meaning "received by this host" and a non-zero value meaning "sent by this
|
461
|
-
#: host".
|
415
|
+
#: [``DLT_C_HDLC_WITH_DIR``] Cisco PPP with HDLC framing, with a direction
|
416
|
+
#: header.
|
462
417
|
C_HDLC_WITH_DIR = 205
|
463
418
|
|
464
|
-
#: [``DLT_FRELAY_WITH_DIR``] Frame Relay LAPF
|
465
|
-
#: pseudo-header with a zero value meaning "received by this host" (DCE⇒DTE)
|
466
|
-
#: and a non-zero value meaning "sent by this host" (DTE⇒DCE), followed by an
|
467
|
-
#: ITU-T Recommendation Q.922 LAPF header starting with the address field, and
|
468
|
-
#: without an FCS at the end of the frame.
|
419
|
+
#: [``DLT_FRELAY_WITH_DIR``] Frame Relay LAPF, with a direction header.
|
469
420
|
FRELAY_WITH_DIR = 206
|
470
421
|
|
471
|
-
#: [``DLT_LAPB_WITH_DIR``]
|
472
|
-
#: by ITU-T Recommendation X.25, preceded with a one-byte pseudo-header with a
|
473
|
-
#: zero value meaning "received by this host" (DCE⇒DTE) and a non-zero value
|
474
|
-
#: meaning "sent by this host" (DTE⇒DCE).
|
422
|
+
#: [``DLT_LAPB_WITH_DIR``] X.25 LAPB, with a direction header.
|
475
423
|
LAPB_WITH_DIR = 207
|
476
424
|
|
477
425
|
#: [``DLT_IPMB_LINUX``] Legacy names (do not use) for Linux I2C below.
|
@@ -488,8 +436,8 @@ class LinkType(IntEnum):
|
|
488
436
|
#: transport.
|
489
437
|
MOST = 211
|
490
438
|
|
491
|
-
#: [``DLT_LIN``] Local Interconnect Network (LIN) automotive bus,
|
492
|
-
#:
|
439
|
+
#: [``DLT_LIN``] Local Interconnect Network (LIN) automotive bus, with a
|
440
|
+
#: metadata header
|
493
441
|
LIN = 212
|
494
442
|
|
495
443
|
#: [``DLT_X2E_SERIAL``] X2E-private data link type used for serial line
|
@@ -500,11 +448,7 @@ class LinkType(IntEnum):
|
|
500
448
|
#: logger family.
|
501
449
|
X2E_XORAYA = 214
|
502
450
|
|
503
|
-
#: [``DLT_IEEE802_15_4_NONASK_PHY``] IEEE 802.15.4
|
504
|
-
#: with each packet having the FCS at the end of the frame, and with the PHY-
|
505
|
-
#: level data for the O-QPSK, BPSK, GFSK, MSK, and RCC DSS BPSK PHYs (4 octets
|
506
|
-
#: of 0 as preamble, one octet of SFD, one octet of frame length + reserved
|
507
|
-
#: 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.
|
508
452
|
IEEE802_15_4_NONASK_PHY = 215
|
509
453
|
|
510
454
|
#: [``DLT_LINUX_EVDEV``] Linux evdev events from /dev/input/eventN devices.
|
@@ -519,17 +463,8 @@ class LinkType(IntEnum):
|
|
519
463
|
#: [``DLT_MPLS``] MPLS, with an MPLS label as the link-layer header.
|
520
464
|
MPLS = 219
|
521
465
|
|
522
|
-
#: [``DLT_USB_LINUX_MMAPPED``] USB packets, beginning with
|
523
|
-
#:
|
524
|
-
#: Documentation/usb/usbmon.txt file in the Linux source tree. All 64 bytes of
|
525
|
-
#: the header are present. All fields in the header are in host byte order.
|
526
|
-
#: When performing a live capture, the host byte order is the byte order of the
|
527
|
-
#: machine on that the packets are captured. When reading a pcap file, the byte
|
528
|
-
#: order is the byte order for the file, as specified by the file's magic
|
529
|
-
#: number; when reading a pcapng file, the byte order is the byte order for the
|
530
|
-
#: section of the pcapng file, as specified by the Section Header Block. For
|
531
|
-
#: isochronous transfers, the ndesc field specifies the number of isochronous
|
532
|
-
#: descriptors that follow.
|
466
|
+
#: [``DLT_USB_LINUX_MMAPPED``] USB packets, beginning with an extended Linux
|
467
|
+
#: USB header.
|
533
468
|
USB_LINUX_MMAPPED = 220
|
534
469
|
|
535
470
|
#: [``DLT_DECT``] DECT packets, with a pseudo-header.
|
@@ -542,23 +477,17 @@ class LinkType(IntEnum):
|
|
542
477
|
#: the HART Communication Foundation (IEC/PAS 62591).
|
543
478
|
WIHART = 223
|
544
479
|
|
545
|
-
#: [``DLT_FC_2``] Fibre Channel FC-2 frames
|
480
|
+
#: [``DLT_FC_2``] Fibre Channel FC-2 frames.
|
546
481
|
FC_2 = 224
|
547
482
|
|
548
|
-
#: [``DLT_FC_2_WITH_FRAME_DELIMS``] Fibre Channel FC-2 frames
|
549
|
-
#: encoding of the SOF, followed by a Frame\_Header, and ending with an
|
550
|
-
#: encoding of the SOF. The encodings represent the frame delimiters as 4-byte
|
551
|
-
#: sequences representing the corresponding ordered sets, with K28.5
|
552
|
-
#: represented as 0xBC, and the D symbols as the corresponding byte values; for
|
553
|
-
#: example, SOFi2, which is K28.5 - D21.5 - D1.2 - D21.2, is represented as
|
554
|
-
#: 0xBC 0xB5 0x55 0x55.
|
483
|
+
#: [``DLT_FC_2_WITH_FRAME_DELIMS``] Fibre Channel FC-2 frames with SOF and EOF.
|
555
484
|
FC_2_WITH_FRAME_DELIMS = 225
|
556
485
|
|
557
486
|
#: [``DLT_IPNET``] Solaris ipnet
|
558
487
|
IPNET = 226
|
559
488
|
|
560
|
-
#: [``DLT_CAN_SOCKETCAN``]
|
561
|
-
#: header
|
489
|
+
#: [``DLT_CAN_SOCKETCAN``] Controller Area Network (CAN) frames, with a
|
490
|
+
#: metadata header.
|
562
491
|
CAN_SOCKETCAN = 227
|
563
492
|
|
564
493
|
#: [``DLT_IPV4``] Raw IPv4; the packet begins with an IPv4 header.
|
@@ -567,13 +496,10 @@ class LinkType(IntEnum):
|
|
567
496
|
#: [``DLT_IPV6``] Raw IPv6; the packet begins with an IPv6 header.
|
568
497
|
IPV6 = 229
|
569
498
|
|
570
|
-
#: [``DLT_IEEE802_15_4_NOFCS``] IEEE 802.15.4
|
571
|
-
#: without the FCS at the end of the frame.
|
499
|
+
#: [``DLT_IEEE802_15_4_NOFCS``] IEEE 802.15.4 packets without FCS.
|
572
500
|
IEEE802_15_4_NOFCS = 230
|
573
501
|
|
574
|
-
#: [``DLT_DBUS``] Raw D-Bus messages
|
575
|
-
#: followed by the message type, etc., but without the authentication handshake
|
576
|
-
#: before the message sequence.
|
502
|
+
#: [``DLT_DBUS``] Raw D-Bus messages.
|
577
503
|
DBUS = 231
|
578
504
|
|
579
505
|
#: [``DLT_JUNIPER_VS``] Juniper Networks private data link type.
|
@@ -589,14 +515,10 @@ class LinkType(IntEnum):
|
|
589
515
|
#: PCAP format for DVB-CI specification.
|
590
516
|
DVB_CI = 235
|
591
517
|
|
592
|
-
#: [``DLT_MUX27010``] Variant of 3GPP TS 27.010 multiplexing protocol
|
593
|
-
#: to, but not the same as, 27.010).
|
518
|
+
#: [``DLT_MUX27010``] Variant of 3GPP TS 27.010 multiplexing protocol.
|
594
519
|
MUX27010 = 236
|
595
520
|
|
596
|
-
#: [``DLT_STANAG_5066_D_PDU``] D\_PDUs
|
597
|
-
#: 5066, starting with the synchronization sequence, and including both header
|
598
|
-
#: and data CRCs. The current version of STANAG 5066 is backwards-compatible
|
599
|
-
#: with the 1.0.2 version, although newer versions are classified.
|
521
|
+
#: [``DLT_STANAG_5066_D_PDU``] STANAG 5066 D\_PDUs.
|
600
522
|
STANAG_5066_D_PDU = 237
|
601
523
|
|
602
524
|
#: [``DLT_JUNIPER_ATM_CEMIC``] Juniper Networks private data link type.
|
@@ -605,12 +527,12 @@ class LinkType(IntEnum):
|
|
605
527
|
#: [``DLT_NFLOG``] Linux netlink NETLINK NFLOG socket log messages.
|
606
528
|
NFLOG = 239
|
607
529
|
|
608
|
-
#: [``DLT_NETANALYZER``] Ethernet frames
|
609
|
-
#:
|
530
|
+
#: [``DLT_NETANALYZER``] Ethernet frames with Hilscher netANALYZER pseudo-
|
531
|
+
#: header.
|
610
532
|
NETANALYZER = 240
|
611
533
|
|
612
|
-
#: [``DLT_NETANALYZER_TRANSPARENT``] Ethernet frames
|
613
|
-
#: and SFD, preceded by a Hilscher
|
534
|
+
#: [``DLT_NETANALYZER_TRANSPARENT``] Ethernet frames with netANALYZER pseudo-
|
535
|
+
#: header, preamble and SFD, preceded by a Hilscher.
|
614
536
|
NETANALYZER_TRANSPARENT = 241
|
615
537
|
|
616
538
|
#: [``DLT_IPOIB``] IP-over-InfiniBand, as specified by RFC 4391 section 6.
|
@@ -661,8 +583,7 @@ class LinkType(IntEnum):
|
|
661
583
|
#: [``DLT_NETLINK``] Linux Netlink capture encapsulation.
|
662
584
|
NETLINK = 253
|
663
585
|
|
664
|
-
#: [``DLT_BLUETOOTH_LINUX_MONITOR``] Bluetooth Linux Monitor
|
665
|
-
#: traffic for the BlueZ stack.
|
586
|
+
#: [``DLT_BLUETOOTH_LINUX_MONITOR``] Bluetooth Linux Monitor.
|
666
587
|
BLUETOOTH_LINUX_MONITOR = 254
|
667
588
|
|
668
589
|
#: [``DLT_BLUETOOTH_BREDR_BB``] Bluetooth Basic Rate and Enhanced Data Rate
|
@@ -691,12 +612,10 @@ class LinkType(IntEnum):
|
|
691
612
|
#: packets in this format must match the time stamps in the Trace Data Blocks.
|
692
613
|
IPMI_HPM_2 = 260
|
693
614
|
|
694
|
-
#: [``DLT_ZWAVE_R1_R2``] Z-Wave RF profile R1 and R2 packets
|
695
|
-
#: ITU-T Recommendation G.9959, with some MAC layer fields moved.
|
615
|
+
#: [``DLT_ZWAVE_R1_R2``] Z-Wave RF profile R1 and R2 packets.
|
696
616
|
ZWAVE_R1_R2 = 261
|
697
617
|
|
698
|
-
#: [``DLT_ZWAVE_R3``] Z-Wave RF profile R3 packets
|
699
|
-
#: Recommendation G.9959, with some MAC layer fields moved.
|
618
|
+
#: [``DLT_ZWAVE_R3``] Z-Wave RF profile R3 packets.
|
700
619
|
ZWAVE_R3 = 262
|
701
620
|
|
702
621
|
#: [``DLT_WATTSTOPPER_DLM``] WattStopper Digital Lighting Management (DLM) and
|
@@ -730,8 +649,7 @@ class LinkType(IntEnum):
|
|
730
649
|
#: [``DLT_TI_LLN_SNIFFER``] TI LLN sniffer frames.
|
731
650
|
TI_LLN_SNIFFER = 269
|
732
651
|
|
733
|
-
#: [``DLT_LORATAP``] LoRaTap pseudo-header
|
734
|
-
#: typically the PHYPayload from the LoRaWan specification.
|
652
|
+
#: [``DLT_LORATAP``] LoRaWan packets with a LoRaTap pseudo-header.
|
735
653
|
LORATAP = 270
|
736
654
|
|
737
655
|
#: [``DLT_VSOCK``] Protocol for communication between host and guest machines
|
@@ -776,8 +694,8 @@ class LinkType(IntEnum):
|
|
776
694
|
#: prepended.
|
777
695
|
DSA_TAG_BRCM_PREPEND = 282
|
778
696
|
|
779
|
-
#: [``DLT_IEEE802_15_4_TAP``] IEEE 802.15.4
|
780
|
-
#:
|
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.
|
781
699
|
IEEE802_15_4_TAP = 283
|
782
700
|
|
783
701
|
#: [``DLT_DSA_TAG_DSA``] Ethernet frames, with a Marvell DSA switch tag
|
@@ -838,8 +756,7 @@ class LinkType(IntEnum):
|
|
838
756
|
#: document.
|
839
757
|
AUERSWALD_LOG = 296
|
840
758
|
|
841
|
-
#: [``DLT_ZWAVE_TAP``] Z-Wave packets,
|
842
|
-
#: G.9959, with a TAP meta-data header.
|
759
|
+
#: [``DLT_ZWAVE_TAP``] Z-Wave packets, with a metadata header.
|
843
760
|
ZWAVE_TAP = 297
|
844
761
|
|
845
762
|
#: [``DLT_SILABS_DEBUG_CHANNEL``] Silicon Labs debug channel protocol, as
|
@@ -849,16 +766,10 @@ class LinkType(IntEnum):
|
|
849
766
|
#: [``DLT_FIRA_UCI``] Ultra-wideband (UWB) controller interface protocol (UCI).
|
850
767
|
FIRA_UCI = 299
|
851
768
|
|
852
|
-
#: [``DLT_MDB``] MDB (Multi-Drop Bus)
|
853
|
-
#: controller and peripherals inside the vending machine, with the message
|
854
|
-
#: format specified by the PCAP format for MDB specification.
|
769
|
+
#: [``DLT_MDB``] MDB (Multi-Drop Bus) vending machine protocol.
|
855
770
|
MDB = 300
|
856
771
|
|
857
|
-
#: [``DLT_DECT_NR``] DECT-2020 New Radio (NR) MAC layer
|
858
|
-
#: 103 636-4. The Physical Header Field is always encoded using 80 bits (10
|
859
|
-
#: bytes). Broadcast transmissions using 40 bits (5 bytes) is padded with 40
|
860
|
-
#: zero bits (5 bytes). When padding is used the Receiver Identity value 0x0000
|
861
|
-
#: (reserved address) is used to detect broadcast transmissions.
|
772
|
+
#: [``DLT_DECT_NR``] DECT-2020 New Radio (NR) MAC layer.
|
862
773
|
DECT_NR = 301
|
863
774
|
|
864
775
|
@staticmethod
|
pcapkit/const/tcp/flags.py
CHANGED
@@ -31,8 +31,8 @@ class Flags(IntFlag):
|
|
31
31
|
#: Reserved for future use [:rfc:`9293`]
|
32
32
|
Reserved_6 = 1 << 6
|
33
33
|
|
34
|
-
#:
|
35
|
-
|
34
|
+
#: AE (Accurate ECN) [RFC-ietf-tcpm-accurate-ecn-34]
|
35
|
+
AE = 1 << 7
|
36
36
|
|
37
37
|
#: CWR (Congestion Window Reduced) [:rfc:`3168`]
|
38
38
|
CWR = 1 << 8
|
pcapkit/const/tcp/option.py
CHANGED
@@ -138,15 +138,13 @@ class Option(IntEnum):
|
|
138
138
|
#: Reserved (known unauthorized use without proper IANA assignment)
|
139
139
|
Reserved_78 = 78
|
140
140
|
|
141
|
-
#: Accurate ECN Order 0 (AccECN0)
|
142
|
-
#: registered 2024-07-11, expires 2025-08-03) [draft-ietf-tcpm-accurate-ecn-20]
|
141
|
+
#: Accurate ECN Order 0 (AccECN0) [RFC-ietf-tcpm-accurate-ecn-34]
|
143
142
|
Accurate_ECN_Order_0 = 172
|
144
143
|
|
145
144
|
#: Reserved
|
146
145
|
Reserved_173 = 173
|
147
146
|
|
148
|
-
#: Accurate ECN Order 1 (AccECN1)
|
149
|
-
#: registered 2024-07-11, expires 2025-08-03) [draft-ietf-tcpm-accurate-ecn-20]
|
147
|
+
#: Accurate ECN Order 1 (AccECN1) [RFC-ietf-tcpm-accurate-ecn-34]
|
150
148
|
Accurate_ECN_Order_1 = 174
|
151
149
|
|
152
150
|
#: RFC3692-style Experiment 1 (also improperly used for shipping
|
@@ -1,6 +1,6 @@
|
|
1
|
-
Metadata-Version: 2.
|
1
|
+
Metadata-Version: 2.4
|
2
2
|
Name: pypcapkit
|
3
|
-
Version: 1.3.5.
|
3
|
+
Version: 1.3.5.post13
|
4
4
|
Summary: PyPCAPKit: comprehensive network packet analysis library
|
5
5
|
Author-email: Jarry Shaw <jarryshaw@icloud.com>
|
6
6
|
Maintainer: Jarry Shaw
|
@@ -76,6 +76,7 @@ Requires-Dist: typing-extensions; extra == "docs"
|
|
76
76
|
Requires-Dist: mypy-extensions; extra == "docs"
|
77
77
|
Dynamic: description
|
78
78
|
Dynamic: description-content-type
|
79
|
+
Dynamic: license-file
|
79
80
|
|
80
81
|
PyPCAPKit - Comprehensive Network Packet Analysis Library
|
81
82
|
=========================================================
|
@@ -1,4 +1,4 @@
|
|
1
|
-
pcapkit/__init__.py,sha256=
|
1
|
+
pcapkit/__init__.py,sha256=jIhIVcv3ENZS4AcyNNTuuXBdI17hDNnXis0IFvA3eI0,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,15 +117,15 @@ 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=qjFIL38KV4QW7kPVRSwRXb5EQqZeIYlUtrFxNeF7_SA,1434105
|
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=MUwgprJkKYpBRdx9hn6Ziglr4Arw_2liKqmzu4TEdZw,26976
|
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
|
126
|
-
pcapkit/const/tcp/flags.py,sha256=
|
126
|
+
pcapkit/const/tcp/flags.py,sha256=hT3El099DguAyXqHj4CFDx6TJNCTPzJNnsBRO9qwMGc,1744
|
127
127
|
pcapkit/const/tcp/mp_tcp_option.py,sha256=deLEl_q8GtoLu0GeJ8Ln3pEK-dHUImbUvNvHfANF9ig,2187
|
128
|
-
pcapkit/const/tcp/option.py,sha256=
|
128
|
+
pcapkit/const/tcp/option.py,sha256=OV-MElXFlEtlNoyQjpetZJn7Con9VpAl0fCgUmF0Gpo,5553
|
129
129
|
pcapkit/const/vlan/__init__.py,sha256=e58kBqVyx-aNe10uWkfI1grb1gI5t-VxyYnmP4qT2bM,690
|
130
130
|
pcapkit/const/vlan/priority_level.py,sha256=lditGE8zcRNmCnPW7lTM45R5Q9RQ-CqBRkqGGDSByJw,1936
|
131
131
|
pcapkit/corekit/__init__.py,sha256=YcNlfudunIO0cnpU7xX_r-xZafcO39TmS8Vp7z45BjE,1659
|
@@ -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.post13.dist-info/licenses/LICENSE,sha256=KkKND5E2e1Z6CQvSLPc1lRBy4xPRed41AG6q1txotWk,1516
|
462
|
+
pypcapkit-1.3.5.post13.dist-info/METADATA,sha256=5Hj3LWybjTsfPmcv_CA9rymUxxrUPnzudBo2weSHPwY,7754
|
463
|
+
pypcapkit-1.3.5.post13.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
|
464
|
+
pypcapkit-1.3.5.post13.dist-info/entry_points.txt,sha256=8tVaZ-N0S2t19ELoTEGq_OlC8-dSmd7dvNn-kMV3afY,100
|
465
|
+
pypcapkit-1.3.5.post13.dist-info/top_level.txt,sha256=KEssKRhG9ln3EOfGH-yi98HgI-MM9hOHy09QQP-fvk8,8
|
466
|
+
pypcapkit-1.3.5.post13.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|