Protocol Type Registry Constant Enumerations

LINK-LAYER HEADER TYPES *

class pcapkit.const.reg.linktype.LinkType(*args, **kwds)[source]

Bases: aenum.IntEnum

[LinkType] Link-Layer Header Type Values

classmethod _missing_(value)[source]

Lookup function used when value is not found.

static get(key, default=- 1)[source]

Backport support for original codes.

APPLE_IP_OVER_IEEE1394 = 138
ARCNET_BSD = 7
ARCNET_LINUX = 129
ATM_RFC1483 = 100
ATSC_ALP = 289
AX25 = 3
AX25_KISS = 202
BACNET_MS_TP = 165
BLUETOOTH_BREDR_BB = 255
BLUETOOTH_HCI_H4 = 187
BLUETOOTH_HCI_H4_WITH_PHDR = 201
BLUETOOTH_LE_LL = 251
BLUETOOTH_LE_LL_WITH_PHDR = 256
BLUETOOTH_LINUX_MONITOR = 254
CAN_SOCKETCAN = 227
C_HDLC = 104
C_HDLC_WITH_DIR = 205
DBUS = 231
DISPLAYPORT_AUX = 275
DOCSIS = 143
DOCSIS31_XRA31 = 273
DSA_TAG_BRCM = 281
DSA_TAG_BRCM_PREPEND = 282
DSA_TAG_DSA = 284
DSA_TAG_EDSA = 285
DVB_CI = 235
EBHSCR = 279
ELEE = 286
EPON = 259
ERF = 197
ETHERNET = 1
ETHERNET_MPACKET = 274
FC_2 = 224
FC_2_WITH_FRAME_DELIMS = 225
FDDI = 10
FRELAY = 107
FRELAY_WITH_DIR = 206
GPF_F = 171
GPF_T = 170
GPRS_LLC = 169
IEEE802_11 = 105
IEEE802_11_AVS = 163
IEEE802_11_PRISM = 119
IEEE802_11_RADIOTAP = 127
IEEE802_15_4_NOFCS = 230
IEEE802_15_4_NONASK_PHY = 215
IEEE802_15_4_TAP = 283
IEEE802_15_4_WITHFCS = 195
IEEE802_5 = 6
INFINIBAND = 247
IPMB_LINUX = 209
IPMI_HPM_2 = 260
IPNET = 226
IPOIB = 242
IPV4 = 228
IPV6 = 229
IP_OVER_FC = 122
ISO_14443 = 264
LAPB_WITH_DIR = 207
LAPD = 203
LINUX_IRDA = 144
LINUX_LAPD = 177
LINUX_SLL = 113
LINUX_SLL2 = 276
LOOP = 108
LORATAP = 270
LTALK = 114
MFR = 182
MPEG_2_TS = 243
MTP2 = 140
MTP2_WITH_PHDR = 139
MTP3 = 141
MUX27010 = 236
NETANALYZER = 240
NETANALYZER_TRANSPARENT = 241
NFC_LLCP = 245
NFLOG = 239
NG40 = 244
NORDIC_BLE = 272
NULL = 0
OPENVIZSLA = 278
PFLOG = 117
PKTAP = 258
PPI = 192
PPP = 9
PPP_ETHER = 51
PPP_HDLC = 50
PPP_PPPD = 166
PPP_WITH_DIR = 204
PROFIBUS_DL = 257
RAW = 101
RDS = 265
RTAC_SERIAL = 250
SCCP = 142
SCTP = 248
SDLC = 268
SITA = 196
SLIP = 8
STANAG_5066_D_PDU = 237
SUNATM = 123
USBPCAP = 249
USB_2_0 = 288
USB_DARWIN = 266
USB_LINUX = 189
USB_LINUX_MMAPPED = 220
USER0 = 147
USER1 = 148
USER10 = 157
USER11 = 158
USER12 = 159
USER13 = 160
USER14 = 161
USER15 = 162
USER2 = 149
USER3 = 150
USER4 = 151
USER5 = 152
USER6 = 153
USER7 = 154
USER8 = 155
USER9 = 156
VPP_DISPATCH = 280
VSOCK = 271
WATTSTOPPER_DLM = 263
ZWAVE_R1_R2 = 261
ZWAVE_R3 = 262
Z_WAVE_SERIAL = 287

ETHER TYPES

class pcapkit.const.reg.ethertype.EtherType(*args, **kwds)[source]

Bases: aenum.IntEnum

[EtherType] Ethertype IEEE 802 Numbers

classmethod _missing_(value)[source]

Lookup function used when value is not found.

static get(key, default=- 1)[source]

Backport support for original codes.

3Com_Loop_Detect = 36867
3Com_TCP_IP_Sys = 36866
3Com_XNS_Sys_Mgmt = 36865
ARAI_Bunkichi = 33188
ATOMIC = 34527
AT_T_0x8008 = 32776
AT_T_0x8046 = 32838
AT_T_0x8047 = 32839
AT_T_0x8069 = 32873
Address_Resolution_Protocol = 2054
Aeonic_Systems = 32822
Alpha_Micro = 33098
Apollo_Computer = 33015
Apollo_Domain = 32793
AppleTalk_AARP = 33011
Appletalk = 32923
Applitek_Corporation = 32967
Autophon = 32874
BBN_Simnet = 21000
BBN_VITAL_LanBridge_Cache = 65280
BIIN_0x814D = 33101
BIIN_0x814E = 33102
Banyan_Systems_0x80C4 = 32964
Banyan_Systems_0x80C5 = 32965
Banyan_VINES = 2989
Berkeley_Trailer_Nego = 4096
Cabletron = 28724
Chaosnet = 2052
ComDesign = 32876
Computgraphic_Corp = 32877
Counterpoint_Computers = 32866
Cronus_Direct = 32772
Cronus_VLN = 32771
Customer_VLAN_Tag_Type = 33024
DEC_Customer_Protocol = 24582
DEC_DECNET_Phase_IV_Route = 24579
DEC_Diagnostic_Protocol = 24581
DEC_Ethernet_Encryption = 32829
DEC_LANBridge = 32824
DEC_LAN_Traffic_Monitor = 32831
DEC_LAT = 24580
DEC_LAVC_SCA = 24583
DEC_MOP_Dump_Load = 24577
DEC_MOP_Remote_Console = 24578
DEC_Unassigned_0x6000 = 24576
DEC_Unassigned_0x803E = 32830
DLOG_0x0660 = 1632
DLOG_0x0661 = 1633
Dansk_Data_Elektronik = 32891
Delta_Controls = 34526
ECMA_Internet = 2051
Evans_Sutherland = 32861
Excelan = 32784
ExperData = 32841
Frame_Relay_ARP = 2056
General_Dynamics = 32872
General_Switch_Management_Protocol = 34828
GeoNetworking_As_Defined_In_ETSI_EN_302_636_4_1 = 35143
HIPPI_FP_Encapsulation = 33152
HP_Probe = 32773
Hayes_Microcomputers = 33072
IBM_SNA_Service_On_Ether = 32981
IEEE_Std_802_11_Fast_Roaming_Remote_Request = 35085
IEEE_Std_802_11_Pre_Authentication = 35015
IEEE_Std_802_1AE_Media_Access_Control_Security = 35045
IEEE_Std_802_1Q_Multiple_Multicast_Registration_Protocol = 35062
IEEE_Std_802_1Q_Multiple_VLAN_Registration_Protocol = 35061
IEEE_Std_802_1Q_Service_VLAN_Tag_Identifier = 34984
IEEE_Std_802_1Qbe_Multiple_I_SID_Registration_Protocol = 35113
IEEE_Std_802_1Qbg_ECP_Protocol = 35136
IEEE_Std_802_1X_Port_based_Network_Access_Control = 34958
IEEE_Std_802_21_Media_Independent_Handover_Protocol = 35095
IEEE_Std_802_3_Ethernet_Passive_Optical_Network = 34824
IEEE_Std_802_Local_Experimental_Ethertype_0x88B5 = 34997
IEEE_Std_802_Local_Experimental_Ethertype_0x88B6 = 34998
IEEE_Std_802_OUI_Extended_Ethertype = 34999
IP_Autonomous_Systems = 34668
Internet_Protocol_Version_4 = 2048
Internet_Protocol_Version_6 = 34525
L2_IS_IS = 8948
Little_Machines = 32864
LoWPAN_Encapsulation = 41197
Logicraft = 33096
Loopback = 36864
MPLS = 34887
MPLS_With_Upstream_assigned_Label = 34888
Matra = 32890
Merit_Internodal = 32892
Motorola_Computer = 33165
Multi_Topology = 39458
Multicast_Channel_Allocation_Protocol = 34913
NBS_Internet = 2050
NSH = 35151
Nestar = 32774
Network_Computing_Devices = 33097
Nixdorf = 1024
Nixdorf_Computers = 32931
PCS_Basic_Block_Protocol = 16962
PPP_Over_Ethernet_Discovery_Stage = 34915
PPP_Over_Ethernet_Session_Stage = 34916
PUP_Addr_Trans_0x0201 = 513
PUP_Addr_Trans_0x0A01 = 2561
Pacer_Software = 32966
Planning_Research_Corp = 32836
Point_to_Point_Protocol = 34827
Proteon = 28720
Provider_Backbone_Bridging_Instance_Tag = 35047
Rational_Corp = 33104
Raw_Frame_Relay = 25945
Reserved = 65535
Reserved_For_HIPPI_6400_0x8182 = 33154
Reserved_For_HIPPI_6400_0x8183 = 33155
Retix = 33010
Reverse_Address_Resolution_Protocol = 32821
SECTRA = 34523
SGI_Bounce_Server = 32790
SGI_Diagnostics = 32787
SGI_Network_Games = 32788
SGI_Reserved = 32789
SGI_Time_Warner_Prop = 33150
SNMP = 33100
STP_HIPPI_ST = 33153
Secure_Data = 34669
Spider_Systems_Ltd = 32927
Stanford_V_Kernel_Exp = 32859
Stanford_V_Kernel_Prod = 32860
Symbolics_Private = 2076
TCP_IP_Compression = 34667
TRILL = 8947
TRILL_Fine_Grained_Labeling = 35131
TRILL_RBridge_Channel = 35142
Technically_Elite_Concept = 33103
The_Ethertype_Will_Be_Used_To_Identify_A_Channel_In_Which_Control_Messages_Are_Encapsulated_As_Payload_Of_GRE_Packets_When_A_GRE_Packet_Tagged_With_The_Ethertype_Is_Received_The_Payload_Will_Be_Handed_To_The_Network_Processor_For_Processing = 47082
Tigan_Inc = 32815
Trans_Ether_Bridging = 25944
Tymshare = 32814
Ungermann_Bass_Dia_loop = 28674
Ungermann_Bass_Download = 28672
Ungermann_Bass_Net_Debugr = 2304
Univ_Of_Mass_Amherst_0x8065 = 32869
Univ_Of_Mass_Amherst_0x8066 = 32870
VG_Laboratory_Systems = 33073
VINES_Echo = 2991
VINES_Loopback = 2990
Valid_Systems = 5632
Varian_Associates = 32989
Veeco_Integrated_Auto = 32871
Wellfleet_Communications = 33023
XEROX_NS_IDP = 1536
XEROX_PUP = 512
XNS_Compatability = 2055
XTP = 33149
X_25_Level_3 = 2053
X_75_Internet = 2049
Xerox_IEEE802_3_PUP = 2560

Assigned Internet Protocol Numbers

class pcapkit.const.reg.transtype.TransType(*args, **kwds)[source]

Bases: aenum.IntEnum

[TransType] Transport Layer Protocol Numbers

classmethod _missing_(value)[source]

Lookup function used when value is not found.

static get(key, default=- 1)[source]

Backport support for original codes.

3PC = 34
AH = 51
ARGUS = 13
ARIS = 104
AX_25 = 93
A_N = 107
Any_0_hop_Protocol = 114
Any_Distributed_File_System = 68
Any_Host_Internal_Protocol = 61
Any_Local_Network = 63
Any_Private_Encryption_Scheme = 99
BBN_RCC_MON = 10
BNA = 49
BR_SAT_MON = 76
CBT = 7
CFTP = 62
CHAOS = 16
CPHB = 73
CPNX = 72
CRTP = 126
CRUDP = 127
Compaq_Peer = 110
DCCP = 33
DCN_MEAS = 19
DDP = 37
DDX = 116
DGP = 86
DSR = 48
EGP = 8
EIGRP = 88
EMCON = 14
ENCAP = 98
ESP = 50
ETHERIP = 97
Ethernet = 143
FC = 133
FIRE = 125
GGP = 3
GMTP = 100
GRE = 47
HIP = 139
HMP = 20
HOPOPT = 0
IATP = 117
ICMP = 1
IDPR = 35
IDPR_CMTP = 38
IDRP = 45
IFMP = 101
IGMP = 2
IGP = 9
IL = 40
IPCV = 71
IPComp = 108
IPIP = 94
IPLT = 129
IPPC = 67
IPTM = 84
IPX_in_IP = 111
IPv4 = 4
IPv6 = 41
IPv6_Frag = 44
IPv6_ICMP = 58
IPv6_NoNxt = 59
IPv6_Opts = 60
IPv6_Route = 43
IRTP = 28
ISIS_Over_IPv4 = 124
ISO_IP = 80
ISO_TP4 = 29
I_NLSP = 52
KRYPTOLAN = 65
L2TP = 115
LARP = 91
LEAF_1 = 25
LEAF_2 = 26
MERIT_INP = 32
MFE_NSP = 31
MICP = 95
MOBILE = 55
MPLS_in_IP = 137
MTP = 92
MUX = 18
Manet = 138
Mobility_Header = 135
NARP = 54
NETBLT = 30
NSFNET_IGP = 85
NVP_II = 11
OSPFIGP = 89
PGM = 113
PIM = 103
PIPE = 131
PNNI = 102
PRM = 21
PTP = 123
PUP = 12
PVP = 75
QNX = 106
RDP = 27
ROHC = 142
RSVP = 46
RSVP_E2E_IGNORE = 134
RVD = 66
Reserved = 255
SAT_EXPAK = 64
SAT_MON = 69
SCC_SP = 96
SCPS = 105
SCTP = 132
SDRP = 42
SECURE_VMTP = 82
SKIP = 57
SM = 122
SMP = 121
SNP = 109
SPS = 130
SRP = 119
SSCOPMCE = 128
ST = 5
STP = 118
SUN_ND = 77
SWIPE = 53
Shim6 = 140
Sprite_RPC = 90
TCF = 87
TCP = 6
TLSP = 56
TP = 39
TRUNK_1 = 23
TRUNK_2 = 24
TTP = 84
UDP = 17
UDPLite = 136
UTI = 120
Use_For_Experimentation_And_Testing_253 = 253
Use_For_Experimentation_And_Testing_254 = 254
VINES = 83
VISA = 70
VMTP = 81
VRRP = 112
WB_EXPAK = 79
WB_MON = 78
WESP = 141
WSN = 74
XNET = 15
XNS_IDP = 22
XTP = 36

*

http://www.tcpdump.org/linktypes.html

https://www.iana.org/assignments/ieee-802-numbers/ieee-802-numbers.xhtml#ieee-802-numbers-1

https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml#protocol-numbers-1