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