Coverage for /root/GitHubProjects/impacket/impacket/pcap_linktypes.py : 100%

Hot-keys on this page
r m x p toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
1# SECUREAUTH LABS. Copyright 2018 SecureAuth Corporation. All rights reserved.
2#
3# This software is provided under under a slightly modified version
4# of the Apache Software License. See the accompanying LICENSE file
5# for more information.
6#
8LINKTYPE_NULL = 0
9DLT_NULL = LINKTYPE_NULL
10LINKTYPE_ETHERNET = 1
11DLT_EN10MB = LINKTYPE_ETHERNET
12LINKTYPE_AX25 = 3
13DLT_AX25 = LINKTYPE_AX25
14NKTYPE_IEEE802_5 = 6
15DLT_IEEE802 = NKTYPE_IEEE802_5
16LINKTYPE_ARCNET_BSD = 7
17DLT_ARCNET = LINKTYPE_ARCNET_BSD
18LINKTYPE_SLIP = 8
19DLT_SLIP = LINKTYPE_SLIP
20LINKTYPE_PPP = 9
21DLT_PPP = LINKTYPE_PPP
22LINKTYPE_FDDI = 10
23DLT_FDDI = LINKTYPE_FDDI
24LINKTYPE_PPP_HDLC = 50
25DLT_PPP_SERIAL = LINKTYPE_PPP_HDLC
26LINKTYPE_PPP_ETHER = 51
27DLT_PPP_ETHER = LINKTYPE_PPP_ETHER
28LINKTYPE_ATM_RFC1483 = 100
29DLT_ATM_RFC1483 = LINKTYPE_ATM_RFC1483
30LINKTYPE_RAW = 101
31DLT_RAW = LINKTYPE_RAW
32LINKTYPE_C_HDLC = 104
33DLT_C_HDLC = LINKTYPE_C_HDLC
34LINKTYPE_IEEE802_11 = 105
35DLT_IEEE802_11 = LINKTYPE_IEEE802_11
36LINKTYPE_FRELAY = 107
37DLT_FRELAY = LINKTYPE_FRELAY
38LINKTYPE_LOOP = 108
39DLT_LOOP = LINKTYPE_LOOP
40LINKTYPE_LINUX_SLL = 113
41DLT_LINUX_SLL = LINKTYPE_LINUX_SLL
42LINKTYPE_LTALK = 114
43DLT_LTALK = LINKTYPE_LTALK
44LINKTYPE_PFLOG = 117
45DLT_PFLOG = LINKTYPE_PFLOG
46LINKTYPE_IEEE802_11_PRISM = 119
47DLT_PRISM_HEADER = LINKTYPE_IEEE802_11_PRISM
48LINKTYPE_IP_OVER_FC = 122
49DLT_IP_OVER_FC = LINKTYPE_IP_OVER_FC
50LINKTYPE_SUNATM = 123
51DLT_SUNATM = LINKTYPE_SUNATM
52LINKTYPE_IEEE802_11_RADIOTAP = 127
53DLT_IEEE802_11_RADIO = LINKTYPE_IEEE802_11_RADIOTAP
54LINKTYPE_ARCNET_LINUX = 129
55DLT_ARCNET_LINUX = LINKTYPE_ARCNET_LINUX
56LINKTYPE_APPLE_IP_OVER_IEEE1394 = 138
57DLT_APPLE_IP_OVER_IEEE1394 = LINKTYPE_APPLE_IP_OVER_IEEE1394
58LINKTYPE_MTP2_WITH_PHDR = 139
59DLT_MTP2_WITH_PHDR = LINKTYPE_MTP2_WITH_PHDR
60LINKTYPE_MTP2 = 140
61DLT_MTP2 = LINKTYPE_MTP2
62LINKTYPE_MTP3 = 141
63DLT_MTP3 = LINKTYPE_MTP3
64LINKTYPE_SCCP = 142
65DLT_SCCP = LINKTYPE_SCCP
66LINKTYPE_DOCSIS = 143
67DLT_DOCSIS = LINKTYPE_DOCSIS
68LINKTYPE_LINUX_IRDA = 144
69DLT_LINUX_IRDA = LINKTYPE_LINUX_IRDA
70LINKTYPE_IEEE802_11_AVS = 163
71DLT_IEEE802_11_RADIO_AVS = LINKTYPE_IEEE802_11_AVS
72LINKTYPE_BACNET_MS_TP = 165
73DLT_BACNET_MS_TP = LINKTYPE_BACNET_MS_TP
74LINKTYPE_PPP_PPPD = 166
75DLT_PPP_PPPD = LINKTYPE_PPP_PPPD
76LINKTYPE_GPRS_LLC = 169
77DLT_GPRS_LLC = LINKTYPE_GPRS_LLC
78LINKTYPE_LINUX_LAPD = 177
79DLT_LINUX_LAPD = LINKTYPE_LINUX_LAPD
80LINKTYPE_BLUETOOTH_HCI_H4 = 187
81DLT_BLUETOOTH_HCI_H4 = LINKTYPE_BLUETOOTH_HCI_H4
82LINKTYPE_USB_LINUX = 189
83DLT_USB_LINUX = LINKTYPE_USB_LINUX
84LINKTYPE_PPI = 192
85DLT_PPI = LINKTYPE_PPI
86LINKTYPE_IEEE802_15_4 = 195
87DLT_IEEE802_15_4 = LINKTYPE_IEEE802_15_4
88LINKTYPE_SITA = 196
89DLT_SITA = LINKTYPE_SITA
90LINKTYPE_ERF = 197
91DLT_ERF = LINKTYPE_ERF
92LINKTYPE_BLUETOOTH_HCI_H4_WITH_PHDR = 201
93DLT_BLUETOOTH_HCI_H4_WITH_PHDR = LINKTYPE_BLUETOOTH_HCI_H4_WITH_PHDR
94LINKTYPE_AX25_KISS = 202
95DLT_AX25_KISS = LINKTYPE_AX25_KISS
96LINKTYPE_LAPD = 203
97DLT_LAPD = LINKTYPE_LAPD
98LINKTYPE_PPP_WITH_DIR = 204
99DLT_PPP_WITH_DIR = LINKTYPE_PPP_WITH_DIR
100LINKTYPE_C_HDLC_WITH_DIR = 205
101DLT_C_HDLC_WITH_DIR = LINKTYPE_C_HDLC_WITH_DIR
102LINKTYPE_FRELAY_WITH_DIR = 206
103DLT_FRELAY_WITH_DIR = LINKTYPE_FRELAY_WITH_DIR
104LINKTYPE_IPMB_LINUX = 209
105DLT_IPMB_LINUX = LINKTYPE_IPMB_LINUX
106LINKTYPE_IEEE802_15_4_NONASK_PHY = 215
107DLT_IEEE802_15_4_NONASK_PHY = LINKTYPE_IEEE802_15_4_NONASK_PHY
108LINKTYPE_USB_LINUX_MMAPPED = 220
109DLT_USB_LINUX_MMAPPED = LINKTYPE_USB_LINUX_MMAPPED
110LINKTYPE_FC_2 = 224
111DLT_FC_2 = LINKTYPE_FC_2
112LINKTYPE_FC_2_WITH_FRAME_DELIMS = 225
113DLT_FC_2_WITH_FRAME_DELIMS = LINKTYPE_FC_2_WITH_FRAME_DELIMS
114LINKTYPE_IPNET = 226
115DLT_IPNET = LINKTYPE_IPNET
116LINKTYPE_CAN_SOCKETCAN = 227
117DLT_CAN_SOCKETCAN = LINKTYPE_CAN_SOCKETCAN
118LINKTYPE_IPV4 = 228
119DLT_IPV4 = LINKTYPE_IPV4
120LINKTYPE_IPV6 = 229
121DLT_IPV6 = LINKTYPE_IPV6
122LINKTYPE_IEEE802_15_4_NOFCS = 230
123DLT_IEEE802_15_4_NOFCS = LINKTYPE_IEEE802_15_4_NOFCS
124LINKTYPE_DBUS = 231
125DLT_DBUS = LINKTYPE_DBUS
126LINKTYPE_DVB_CI = 235
127DLT_DVB_CI = LINKTYPE_DVB_CI
128LINKTYPE_MUX27010 = 236
129DLT_MUX27010 = LINKTYPE_MUX27010
130LINKTYPE_STANAG_5066_D_PDU = 237
131DLT_STANAG_5066_D_PDU = LINKTYPE_STANAG_5066_D_PDU
132LINKTYPE_NFLOG = 239
133DLT_NFLOG = LINKTYPE_NFLOG
134LINKTYPE_NETANALYZER = 240
135DLT_NETANALYZER = LINKTYPE_NETANALYZER
136LINKTYPE_NETANALYZER_TRANSPARENT = 241
137DLT_NETANALYZER_TRANSPARENT = LINKTYPE_NETANALYZER_TRANSPARENT
138LINKTYPE_IPOIB = 242
139DLT_IPOIB = LINKTYPE_IPOIB
140LINKTYPE_MPEG_2_TS = 243
141DLT_MPEG_2_TS = LINKTYPE_MPEG_2_TS
142LINKTYPE_NG40 = 244
143DLT_NG40 = LINKTYPE_NG40
144LINKTYPE_NFC_LLCP = 245
145DLT_NFC_LLCP = LINKTYPE_NFC_LLCP
146LINKTYPE_INFINIBAND = 247
147DLT_INFINIBAND = LINKTYPE_INFINIBAND
148LINKTYPE_SCTP = 248
149DLT_SCTP = LINKTYPE_SCTP
150LINKTYPE_USBPCAP = 249
151DLT_USBPCAP = LINKTYPE_USBPCAP
152LINKTYPE_RTAC_SERIAL = 250
153DLT_RTAC_SERIAL = LINKTYPE_RTAC_SERIAL
154LINKTYPE_BLUETOOTH_LE_LL = 251
155DLT_BLUETOOTH_LE_LL = LINKTYPE_BLUETOOTH_LE_LL
156LINKTYPE_NETLINK = 253
157DLT_NETLINK = LINKTYPE_NETLINK
158LINKTYPE_BLUETOOTH_LINUX_MONITOR = 254
159DLT_BLUETOOTH_LINUX_MONITOR = LINKTYPE_BLUETOOTH_LINUX_MONITOR
160LINKTYPE_BLUETOOTH_BREDR_BB = 255
161DLT_BLUETOOTH_BREDR_BB = LINKTYPE_BLUETOOTH_BREDR_BB
162LINKTYPE_BLUETOOTH_LE_LL_WITH_PHDR = 256
163DLT_BLUETOOTH_LE_LL_WITH_PHDR = LINKTYPE_BLUETOOTH_LE_LL_WITH_PHDR
164LINKTYPE_PROFIBUS_DL = 257
165DLT_PROFIBUS_DL = LINKTYPE_PROFIBUS_DL
166LINKTYPE_PKTAP = 258
167DLT_PKTAP = LINKTYPE_PKTAP
168LINKTYPE_EPON = 259
169DLT_EPON = LINKTYPE_EPON
170LINKTYPE_IPMI_HPM_2 = 260
171DLT_IPMI_HPM_2 = LINKTYPE_IPMI_HPM_2