openc2lib.types.data.l4_protocol

 1from openc2lib.types.base import Enumerated
 2
 3class L4Protocol(Enumerated):
 4	""" OpenC2 L4 Protocol
 5
 6		This is an enumeration for all known transport protocols. The numeric identifier
 7		is set to the protocol number defined for IP.
 8	"""
 9	icmp = 1
10	tcp = 6
11	udp = 17
12	sctp = 132
class L4Protocol(openc2lib.types.base.enumerated.Enumerated):
 4class L4Protocol(Enumerated):
 5	""" OpenC2 L4 Protocol
 6
 7		This is an enumeration for all known transport protocols. The numeric identifier
 8		is set to the protocol number defined for IP.
 9	"""
10	icmp = 1
11	tcp = 6
12	udp = 17
13	sctp = 132

OpenC2 L4 Protocol

This is an enumeration for all known transport protocols. The numeric identifier is set to the protocol number defined for IP.

icmp = <L4Protocol.icmp: 1>
tcp = <L4Protocol.tcp: 6>
udp = <L4Protocol.udp: 17>
sctp = <L4Protocol.sctp: 132>
Inherited Members
openc2lib.types.base.enumerated.Enumerated
todict
fromdict
aenum._enum.Enum
name
value
values