pypcapkit 1.3.5.post1__cp39-none-any.whl → 1.3.5.post4__cp39-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 CHANGED
@@ -121,4 +121,4 @@ __all__ = [
121
121
  ]
122
122
 
123
123
  #: version number
124
- __version__ = '1.3.5.post1'
124
+ __version__ = '1.3.5.post4'
@@ -116,8 +116,8 @@ class AppType(StrEnum):
116
116
  def __hash__(self) -> 'int':
117
117
  return hash(self.port)
118
118
 
119
- #: - [TCP] Reserved
120
- #: - [UDP] Reserved
119
+ #: - [TCP] Reserved [:rfc:`6335`]
120
+ #: - [UDP] Reserved [:rfc:`6335`]
121
121
  reserved_0: 'AppType' = 0, 'reserved', TransportProtocol.get('tcp') | TransportProtocol.get('udp')
122
122
 
123
123
  #: - [TCP] TCP Port Service Multiplexer
@@ -3152,12 +3152,12 @@ class AppType(StrEnum):
3152
3152
  #: - [DCCP] RFC3692-style Experiment 2 [1][:rfc:`4727`][:rfc:`6335`]
3153
3153
  exp2: 'AppType' = 1022, 'exp2', TransportProtocol.get('tcp') | TransportProtocol.get('udp') | TransportProtocol.get('sctp') | TransportProtocol.get('dccp')
3154
3154
 
3155
- #: - [TCP] Reserved
3156
- #: - [UDP] Reserved
3155
+ #: - [TCP] Reserved [:rfc:`6335`]
3156
+ #: - [UDP] Reserved [:rfc:`6335`]
3157
3157
  reserved_1023: 'AppType' = 1023, 'reserved', TransportProtocol.get('tcp') | TransportProtocol.get('udp')
3158
3158
 
3159
- #: - [TCP] Reserved
3160
- #: - [UDP] Reserved
3159
+ #: - [TCP] Reserved [:rfc:`6335`]
3160
+ #: - [UDP] Reserved [:rfc:`6335`]
3161
3161
  reserved_1024: 'AppType' = 1024, 'reserved', TransportProtocol.get('tcp') | TransportProtocol.get('udp')
3162
3162
 
3163
3163
  #: - [TCP] network blackjack
@@ -10432,8 +10432,9 @@ class AppType(StrEnum):
10432
10432
  #: - [UDP] initlsmsad
10433
10433
  initlsmsad: 'AppType' = 2793, 'initlsmsad', TransportProtocol.get('tcp') | TransportProtocol.get('udp')
10434
10434
 
10435
- #: [N/A] Unassigned
10436
- unassigned_2794: 'AppType' = 2794, 'unassigned', TransportProtocol.get('undefined')
10435
+ #: - [TCP] Uniform Resource Platform
10436
+ #: - [UDP] Uniform Resource Platform
10437
+ urp: 'AppType' = 2794, 'urp', TransportProtocol.get('tcp') | TransportProtocol.get('udp')
10437
10438
 
10438
10439
  #: - [TCP] LiveStats
10439
10440
  #: - [UDP] LiveStats
@@ -19978,7 +19979,7 @@ class AppType(StrEnum):
19978
19979
  #: [UDP] Reserved
19979
19980
  reserved_6077: 'AppType' = 6077, 'reserved', TransportProtocol.get('udp')
19980
19981
 
19981
- #: [UDP] Generic UDP Encapsulation [draft-herbert-gue]
19982
+ #: [UDP] Generic UDP Encapsulation [draft-herbert-gue-02]
19982
19983
  gue: 'AppType' = 6080, 'gue', TransportProtocol.get('udp')
19983
19984
 
19984
19985
  #: [TCP] Reserved
@@ -25468,6 +25469,9 @@ class AppType(StrEnum):
25468
25469
  #: [UDP] Reserved
25469
25470
  reserved_18243: 'AppType' = 18243, 'reserved', TransportProtocol.get('udp')
25470
25471
 
25472
+ #: [N/A] Unassigned
25473
+ unassigned_18259: 'AppType' = 18259, 'unassigned', TransportProtocol.get('undefined')
25474
+
25471
25475
  #: - [TCP] GV NetConfig Service
25472
25476
  #: - [UDP] GV NetConfig Service
25473
25477
  gv_pf: 'AppType' = 18262, 'gv-pf', TransportProtocol.get('tcp') | TransportProtocol.get('udp')
@@ -27262,8 +27266,8 @@ class AppType(StrEnum):
27262
27266
  #: [UDP] Reserved
27263
27267
  reserved_49150: 'AppType' = 49150, 'reserved', TransportProtocol.get('udp')
27264
27268
 
27265
- #: [N/A] IANA Reserved
27266
- iana_reserved: 'AppType' = 49151, 'iana_reserved', TransportProtocol.get('undefined')
27269
+ #: [N/A] Reserved [:rfc:`6335`]
27270
+ reserved_49151: 'AppType' = 49151, 'reserved', TransportProtocol.get('undefined')
27267
27271
 
27268
27272
  #: [N/A] ARGUS Protocol
27269
27273
  argus: 'AppType' = -1, 'argus', TransportProtocol.get('undefined')
@@ -30451,10 +30455,10 @@ class AppType(StrEnum):
30451
30455
  if value in cls.__members_proto__.get(TransportProtocol.undefined, {}): # type: ignore[call-overload]
30452
30456
  return cls.__members_proto__[TransportProtocol.undefined][value] # type: ignore[index]
30453
30457
  if 225 <= value <= 241:
30454
- #: [N/A] Reserved
30458
+ #: [N/A] Reserved [:rfc:`1060`]
30455
30459
  return extend_enum(cls, 'reserved_%d' % value, value, 'reserved', TransportProtocol.get('undefined'))
30456
30460
  if 249 <= value <= 255:
30457
- #: [N/A] Reserved
30461
+ #: [N/A] Reserved [:rfc:`1060`]
30458
30462
  return extend_enum(cls, 'reserved_%d' % value, value, 'reserved', TransportProtocol.get('undefined'))
30459
30463
  if 272 <= value <= 279:
30460
30464
  #: [N/A] Unassigned
@@ -32061,7 +32065,10 @@ class AppType(StrEnum):
32061
32065
  if 18188 <= value <= 18240:
32062
32066
  #: [N/A] Unassigned
32063
32067
  return extend_enum(cls, 'unassigned_%d' % value, value, 'unassigned', TransportProtocol.get('undefined'))
32064
- if 18244 <= value <= 18261:
32068
+ if 18244 <= value <= 18258:
32069
+ #: [N/A] Unassigned
32070
+ return extend_enum(cls, 'unassigned_%d' % value, value, 'unassigned', TransportProtocol.get('undefined'))
32071
+ if 18260 <= value <= 18261:
32065
32072
  #: [N/A] Unassigned
32066
32073
  return extend_enum(cls, 'unassigned_%d' % value, value, 'unassigned', TransportProtocol.get('undefined'))
32067
32074
  if 18263 <= value <= 18462:
@@ -31,22 +31,17 @@ class LinkType(IntEnum):
31
31
  #: [``DLT_AX25``] AX.25 packet, with nothing preceding it.
32
32
  AX25 = 3
33
33
 
34
- #: [``DLT_PRONET``] Proteon ProNET Token Ring.
34
+ #: [``DLT_PRONET``] Reserved for Proteon ProNET Token Ring.
35
35
  PRONET = 4
36
36
 
37
- #: [``DLT_CHAOS``] Chaos.
37
+ #: [``DLT_CHAOS``] Reserved for MIT Chaosnet.
38
38
  CHAOS = 5
39
39
 
40
40
  #: [``DLT_IEEE802``] IEEE 802.5 Token Ring; the IEEE802, without \_5, in the
41
41
  #: DLT\_ name is historical.
42
42
  IEEE802_5 = 6
43
43
 
44
- #: [``DLT_ARCNET``] ARCNET Data Packets, as described by the ARCNET Trade
45
- #: Association standard ATA 878.1-1999, but without the Starting Delimiter,
46
- #: Information Length, or Frame Check Sequence fields, and with only the first
47
- #: ISU of the Destination Identifier. For most packet types, ARCNET Trade
48
- #: Association draft standard ATA 878.2 is also used. See also RFC 1051 and RFC
49
- #: 1201; for RFC 1051 frames, ATA 878.2 is not used.
44
+ #: [``DLT_ARCNET``] Reserved for ARCNET Data Packets with BSD encapsulation.
50
45
  ARCNET_BSD = 7
51
46
 
52
47
  #: [``DLT_SLIP``] SLIP, with a header giving packet direction
@@ -169,15 +164,8 @@ class LinkType(IntEnum):
169
164
  #: the packet, e.g. signal strength and channel for 802.11 packets.
170
165
  TZSP = 128
171
166
 
172
- #: [``DLT_ARCNET_LINUX``] ARCNET Data Packets, as described by the ARCNET Trade
173
- #: Association standard ATA 878.1-1999, but without the Starting Delimiter,
174
- #: Information Length, or Frame Check Sequence fields, with only the first ISU
175
- #: of the Destination Identifier, and with an extra two-ISU offset field
176
- #: following the Destination Identifier. For most packet types, ARCNET Trade
177
- #: Association draft standard ATA 878.2 is also used; however, no exception
178
- #: frames are supplied, and reassembled frames, rather than fragments, are
179
- #: supplied. See also RFC 1051 and RFC 1201; for RFC 1051 frames, ATA 878.2 is
180
- #: not used.
167
+ #: [``DLT_ARCNET_LINUX``] Reserved for ARCNET Data Packets with Linux
168
+ #: encapsulation.
181
169
  ARCNET_LINUX = 129
182
170
 
183
171
  #: [``DLT_JUNIPER_MLPPP``] Juniper Networks private data link type.
@@ -407,7 +407,7 @@ class TransType(IntEnum):
407
407
  SMP = 121
408
408
 
409
409
  #: Simple Multicast Protocol (deprecated)) [Jon Crowcroft][draft-perlman-
410
- #: simple-multicast]
410
+ #: simple-multicast-03]
411
411
  SM = 122
412
412
 
413
413
  #: Performance Transparency Protocol [Michael Welzl]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pypcapkit
3
- Version: 1.3.5.post1
3
+ Version: 1.3.5.post4
4
4
  Summary: PyPCAPKit: comprehensive network packet analysis library
5
5
  Author-email: Jarry Shaw <jarryshaw@icloud.com>
6
6
  Maintainer: Jarry Shaw
@@ -1,4 +1,4 @@
1
- pcapkit/__init__.py,sha256=JdzJV_sFjUuhKQVtAKy8KJGT53-itI_pasqx3KyQtZY,4025
1
+ pcapkit/__init__.py,sha256=8KNT5Fl6_sx0aVG-DzP2VoYk-7-2eOOcmtaLU_WKjGs,4025
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,10 +117,10 @@ 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=kUb7pLU1RwrRu6AtSs6y4orpmAYZLz7pwJmSMsMCsr0,1432549
120
+ pcapkit/const/reg/apptype.py,sha256=7vQjLm2SfVT-zA0ioRVIbjqGwGMNUWabyVEiZpMhTCw,1433034
121
121
  pcapkit/const/reg/ethertype.py,sha256=6Xz-MugXqQMc8hUHmkMMK_zeeYlkJ1Ql9Jtek_e3j1g,26564
122
- pcapkit/const/reg/linktype.py,sha256=WU5JvrvjuvWZbdcZaVrb5pGzUEFlS0aTNBZNXa-93Os,34895
123
- pcapkit/const/reg/transtype.py,sha256=ub1J9FMvhg4DQqmseg2bp950HnCpkEUqGq5gDdpQusk,12946
122
+ pcapkit/const/reg/linktype.py,sha256=k7SNbH6tfp1NpG9LDiUkfTdF1-7tyhM8u7hiKKHJ4Jo,33981
123
+ pcapkit/const/reg/transtype.py,sha256=KLI7U9rqqHQ8FIjgd6V2KDh-zWXYhmKEdLnwuujH-S0,12949
124
124
  pcapkit/const/tcp/__init__.py,sha256=PSTSxmdKt5l4NBsXq4m8x6dELWqOSNQxAuWePqTNAw8,1494
125
125
  pcapkit/const/tcp/checksum.py,sha256=0SSu5WD2_BcN6CYnIMI0AoToDBFTcVrxOYNzGinm7kE,1524
126
126
  pcapkit/const/tcp/flags.py,sha256=hTsqWViSxku-j8zsbP3274UxNIeNsBF4ZJAyAXMQnRs,1740
@@ -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.post1.dist-info/LICENSE,sha256=KkKND5E2e1Z6CQvSLPc1lRBy4xPRed41AG6q1txotWk,1516
462
- pypcapkit-1.3.5.post1.dist-info/METADATA,sha256=U0FyCBfHRLO3GJF07Je7P7EcG9692AKPgGCKgnx5XRk,7676
463
- pypcapkit-1.3.5.post1.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
464
- pypcapkit-1.3.5.post1.dist-info/entry_points.txt,sha256=8tVaZ-N0S2t19ELoTEGq_OlC8-dSmd7dvNn-kMV3afY,100
465
- pypcapkit-1.3.5.post1.dist-info/top_level.txt,sha256=KEssKRhG9ln3EOfGH-yi98HgI-MM9hOHy09QQP-fvk8,8
466
- pypcapkit-1.3.5.post1.dist-info/RECORD,,
461
+ pypcapkit-1.3.5.post4.dist-info/LICENSE,sha256=KkKND5E2e1Z6CQvSLPc1lRBy4xPRed41AG6q1txotWk,1516
462
+ pypcapkit-1.3.5.post4.dist-info/METADATA,sha256=5jfjyKnNk_j1QT0ZXkzV4p7-baYvgrhrJKTP0Y9Yw2w,7676
463
+ pypcapkit-1.3.5.post4.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
464
+ pypcapkit-1.3.5.post4.dist-info/entry_points.txt,sha256=8tVaZ-N0S2t19ELoTEGq_OlC8-dSmd7dvNn-kMV3afY,100
465
+ pypcapkit-1.3.5.post4.dist-info/top_level.txt,sha256=KEssKRhG9ln3EOfGH-yi98HgI-MM9hOHy09QQP-fvk8,8
466
+ pypcapkit-1.3.5.post4.dist-info/RECORD,,