Skip to content

Commit

Permalink
Bumped version to 1.3.5.post2
Browse files Browse the repository at this point in the history
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
  • Loading branch information
github-actions[bot] committed Nov 30, 2024
1 parent 67468af commit 91dc7a2
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 21 deletions.
2 changes: 1 addition & 1 deletion pcapkit/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,4 +121,4 @@
]

#: version number
__version__ = '1.3.5.post1'
__version__ = '1.3.5.post2'
13 changes: 10 additions & 3 deletions pcapkit/const/reg/apptype.py
Original file line number Diff line number Diff line change
Expand Up @@ -10432,8 +10432,9 @@ def __hash__(self) -> 'int':
#: - [UDP] initlsmsad
initlsmsad: 'AppType' = 2793, 'initlsmsad', TransportProtocol.get('tcp') | TransportProtocol.get('udp')

#: [N/A] Unassigned
unassigned_2794: 'AppType' = 2794, 'unassigned', TransportProtocol.get('undefined')
#: - [TCP] Uniform Resource Platform
#: - [UDP] Uniform Resource Platform
urp: 'AppType' = 2794, 'urp', TransportProtocol.get('tcp') | TransportProtocol.get('udp')

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

#: [N/A] Unassigned
unassigned_18259: 'AppType' = 18259, 'unassigned', TransportProtocol.get('undefined')

#: - [TCP] GV NetConfig Service
#: - [UDP] GV NetConfig Service
gv_pf: 'AppType' = 18262, 'gv-pf', TransportProtocol.get('tcp') | TransportProtocol.get('udp')
Expand Down Expand Up @@ -32061,7 +32065,10 @@ def _missing_(cls, value: 'int') -> 'AppType':
if 18188 <= value <= 18240:
#: [N/A] Unassigned
return extend_enum(cls, 'unassigned_%d' % value, value, 'unassigned', TransportProtocol.get('undefined'))
if 18244 <= value <= 18261:
if 18244 <= value <= 18258:
#: [N/A] Unassigned
return extend_enum(cls, 'unassigned_%d' % value, value, 'unassigned', TransportProtocol.get('undefined'))
if 18260 <= value <= 18261:
#: [N/A] Unassigned
return extend_enum(cls, 'unassigned_%d' % value, value, 'unassigned', TransportProtocol.get('undefined'))
if 18263 <= value <= 18462:
Expand Down
22 changes: 5 additions & 17 deletions pcapkit/const/reg/linktype.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,22 +31,17 @@ class LinkType(IntEnum):
#: [``DLT_AX25``] AX.25 packet, with nothing preceding it.
AX25 = 3

#: [``DLT_PRONET``] Proteon ProNET Token Ring.
#: [``DLT_PRONET``] Reserved for Proteon ProNET Token Ring.
PRONET = 4

#: [``DLT_CHAOS``] Chaos.
#: [``DLT_CHAOS``] Reserved for MIT Chaosnet.
CHAOS = 5

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

#: [``DLT_ARCNET``] ARCNET Data Packets, as described by the ARCNET Trade
#: Association standard ATA 878.1-1999, but without the Starting Delimiter,
#: Information Length, or Frame Check Sequence fields, and with only the first
#: ISU of the Destination Identifier. For most packet types, ARCNET Trade
#: Association draft standard ATA 878.2 is also used. See also RFC 1051 and RFC
#: 1201; for RFC 1051 frames, ATA 878.2 is not used.
#: [``DLT_ARCNET``] Reserved for ARCNET Data Packets with BSD encapsulation.
ARCNET_BSD = 7

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

#: [``DLT_ARCNET_LINUX``] ARCNET Data Packets, as described by the ARCNET Trade
#: Association standard ATA 878.1-1999, but without the Starting Delimiter,
#: Information Length, or Frame Check Sequence fields, with only the first ISU
#: of the Destination Identifier, and with an extra two-ISU offset field
#: following the Destination Identifier. For most packet types, ARCNET Trade
#: Association draft standard ATA 878.2 is also used; however, no exception
#: frames are supplied, and reassembled frames, rather than fragments, are
#: supplied. See also RFC 1051 and RFC 1201; for RFC 1051 frames, ATA 878.2 is
#: not used.
#: [``DLT_ARCNET_LINUX``] Reserved for ARCNET Data Packets with Linux
#: encapsulation.
ARCNET_LINUX = 129

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

0 comments on commit 91dc7a2

Please sign in to comment.