Skip to content

Commit

Permalink
Bumped version to 1.3.5.post4
Browse files Browse the repository at this point in the history
Updated vendor constant enumerations at Sat Dec 21 10:04:42 UTC 2024. The following files
have been changed: pcapkit/const/reg/apptype.py
  • Loading branch information
github-actions[bot] committed Dec 21, 2024
1 parent f57b6a1 commit 9c21b29
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion conda/build
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1
0
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.post3'
__version__ = '1.3.5.post4'
20 changes: 10 additions & 10 deletions pcapkit/const/reg/apptype.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,8 @@ def __ne__(self, other: 'Any') -> 'bool':
def __hash__(self) -> 'int':
return hash(self.port)

#: - [TCP] Reserved
#: - [UDP] Reserved
#: - [TCP] Reserved [:rfc:`6335`]
#: - [UDP] Reserved [:rfc:`6335`]
reserved_0: 'AppType' = 0, 'reserved', TransportProtocol.get('tcp') | TransportProtocol.get('udp')

#: - [TCP] TCP Port Service Multiplexer
Expand Down Expand Up @@ -3152,12 +3152,12 @@ def __hash__(self) -> 'int':
#: - [DCCP] RFC3692-style Experiment 2 [1][:rfc:`4727`][:rfc:`6335`]
exp2: 'AppType' = 1022, 'exp2', TransportProtocol.get('tcp') | TransportProtocol.get('udp') | TransportProtocol.get('sctp') | TransportProtocol.get('dccp')

#: - [TCP] Reserved
#: - [UDP] Reserved
#: - [TCP] Reserved [:rfc:`6335`]
#: - [UDP] Reserved [:rfc:`6335`]
reserved_1023: 'AppType' = 1023, 'reserved', TransportProtocol.get('tcp') | TransportProtocol.get('udp')

#: - [TCP] Reserved
#: - [UDP] Reserved
#: - [TCP] Reserved [:rfc:`6335`]
#: - [UDP] Reserved [:rfc:`6335`]
reserved_1024: 'AppType' = 1024, 'reserved', TransportProtocol.get('tcp') | TransportProtocol.get('udp')

#: - [TCP] network blackjack
Expand Down Expand Up @@ -27266,8 +27266,8 @@ def __hash__(self) -> 'int':
#: [UDP] Reserved
reserved_49150: 'AppType' = 49150, 'reserved', TransportProtocol.get('udp')

#: [N/A] IANA Reserved
iana_reserved: 'AppType' = 49151, 'iana_reserved', TransportProtocol.get('undefined')
#: [N/A] Reserved [:rfc:`6335`]
reserved_49151: 'AppType' = 49151, 'reserved', TransportProtocol.get('undefined')

#: [N/A] ARGUS Protocol
argus: 'AppType' = -1, 'argus', TransportProtocol.get('undefined')
Expand Down Expand Up @@ -30455,10 +30455,10 @@ def _missing_(cls, value: 'int') -> 'AppType':
if value in cls.__members_proto__.get(TransportProtocol.undefined, {}): # type: ignore[call-overload]
return cls.__members_proto__[TransportProtocol.undefined][value] # type: ignore[index]
if 225 <= value <= 241:
#: [N/A] Reserved
#: [N/A] Reserved [:rfc:`1060`]
return extend_enum(cls, 'reserved_%d' % value, value, 'reserved', TransportProtocol.get('undefined'))
if 249 <= value <= 255:
#: [N/A] Reserved
#: [N/A] Reserved [:rfc:`1060`]
return extend_enum(cls, 'reserved_%d' % value, value, 'reserved', TransportProtocol.get('undefined'))
if 272 <= value <= 279:
#: [N/A] Unassigned
Expand Down

0 comments on commit 9c21b29

Please sign in to comment.