Skip to content

Commit 91dc7a2

Browse files
Bumped version to 1.3.5.post2
Updated vendor constant enumerations at Sat Nov 30 10:05:04 UTC 2024. The following files have been changed: pcapkit/const/reg/apptype.py pcapkit/const/reg/linktype.py
1 parent 67468af commit 91dc7a2

File tree

3 files changed

+16
-21
lines changed

3 files changed

+16
-21
lines changed

pcapkit/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,4 +121,4 @@
121121
]
122122

123123
#: version number
124-
__version__ = '1.3.5.post1'
124+
__version__ = '1.3.5.post2'

pcapkit/const/reg/apptype.py

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10432,8 +10432,9 @@ def __hash__(self) -> 'int':
1043210432
#: - [UDP] initlsmsad
1043310433
initlsmsad: 'AppType' = 2793, 'initlsmsad', TransportProtocol.get('tcp') | TransportProtocol.get('udp')
1043410434

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')
1043710438

1043810439
#: - [TCP] LiveStats
1043910440
#: - [UDP] LiveStats
@@ -25468,6 +25469,9 @@ def __hash__(self) -> 'int':
2546825469
#: [UDP] Reserved
2546925470
reserved_18243: 'AppType' = 18243, 'reserved', TransportProtocol.get('udp')
2547025471

25472+
#: [N/A] Unassigned
25473+
unassigned_18259: 'AppType' = 18259, 'unassigned', TransportProtocol.get('undefined')
25474+
2547125475
#: - [TCP] GV NetConfig Service
2547225476
#: - [UDP] GV NetConfig Service
2547325477
gv_pf: 'AppType' = 18262, 'gv-pf', TransportProtocol.get('tcp') | TransportProtocol.get('udp')
@@ -32061,7 +32065,10 @@ def _missing_(cls, value: 'int') -> 'AppType':
3206132065
if 18188 <= value <= 18240:
3206232066
#: [N/A] Unassigned
3206332067
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:
3206532072
#: [N/A] Unassigned
3206632073
return extend_enum(cls, 'unassigned_%d' % value, value, 'unassigned', TransportProtocol.get('undefined'))
3206732074
if 18263 <= value <= 18462:

pcapkit/const/reg/linktype.py

Lines changed: 5 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -31,22 +31,17 @@ class LinkType(IntEnum):
3131
#: [``DLT_AX25``] AX.25 packet, with nothing preceding it.
3232
AX25 = 3
3333

34-
#: [``DLT_PRONET``] Proteon ProNET Token Ring.
34+
#: [``DLT_PRONET``] Reserved for Proteon ProNET Token Ring.
3535
PRONET = 4
3636

37-
#: [``DLT_CHAOS``] Chaos.
37+
#: [``DLT_CHAOS``] Reserved for MIT Chaosnet.
3838
CHAOS = 5
3939

4040
#: [``DLT_IEEE802``] IEEE 802.5 Token Ring; the IEEE802, without \_5, in the
4141
#: DLT\_ name is historical.
4242
IEEE802_5 = 6
4343

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.
5045
ARCNET_BSD = 7
5146

5247
#: [``DLT_SLIP``] SLIP, with a header giving packet direction
@@ -169,15 +164,8 @@ class LinkType(IntEnum):
169164
#: the packet, e.g. signal strength and channel for 802.11 packets.
170165
TZSP = 128
171166

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.
181169
ARCNET_LINUX = 129
182170

183171
#: [``DLT_JUNIPER_MLPPP``] Juniper Networks private data link type.

0 commit comments

Comments
 (0)