dlt_names.h 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460
  1. /*
  2. * Copyright (c) 2006 Aaron Turner
  3. * All rights reserved.
  4. *
  5. * This file is generated by scripts/dlt2name.pl which converts your pcap-bpf.h
  6. * header file which comes with libpcap into a header file
  7. * which translates DLT values to their string names as well as a list of all
  8. * of the available DLT types.
  9. *
  10. * Hence DO NOT EDIT THIS FILE!
  11. * If your DLT type is not listed here, edit the %known hash in
  12. * scripts/dlt2name.pl
  13. *
  14. * This file contains data which was taken from libpcap's pcap-bpf.h.
  15. * The copyright/license is included below:
  16. */
  17. /*-
  18. * Copyright (c) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997
  19. * The Regents of the University of California. All rights reserved.
  20. *
  21. * This code is derived from the Stanford/CMU enet packet filter,
  22. * (net/enet.c) distributed as part of 4.3BSD, and code contributed
  23. * to Berkeley by Steven McCanne and Van Jacobson both of Lawrence
  24. * Berkeley Laboratory.
  25. *
  26. * Redistribution and use in source and binary forms, with or without
  27. * modification, are permitted provided that the following conditions
  28. * are met:
  29. * 1. Redistributions of source code must retain the above copyright
  30. * notice, this list of conditions and the following disclaimer.
  31. * 2. Redistributions in binary form must reproduce the above copyright
  32. * notice, this list of conditions and the following disclaimer in the
  33. * documentation and/or other materials provided with the distribution.
  34. * 3. All advertising materials mentioning features or use of this software
  35. * must display the following acknowledgement:
  36. * This product includes software developed by the University of
  37. * California, Berkeley and its contributors.
  38. * 4. Neither the name of the University nor the names of its contributors
  39. * may be used to endorse or promote products derived from this software
  40. * without specific prior written permission.
  41. *
  42. * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  43. * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  44. * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  45. * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  46. * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  47. * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  48. * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  49. * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  50. * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  51. * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  52. * SUCH DAMAGE.
  53. *
  54. * @(#)bpf.h 7.1 (Berkeley) 5/7/91
  55. *
  56. * @(#) $Header: /tcpdump/master/libpcap/pcap-bpf.h,v 1.34.2.6 2005/08/13 22:29:47 hannes Exp $ (LBL)
  57. */
  58. /* include all the DLT types form pcap-bpf.h */
  59. extern const char *dlt2desc[];
  60. extern const char *dlt2name[];
  61. #define DLT2DESC_LEN 181
  62. #define DLT2NAME_LEN 181
  63. #ifndef DLT_NULL
  64. #define DLT_NULL 0
  65. #endif
  66. #ifndef DLT_EN10MB
  67. #define DLT_EN10MB 1
  68. #endif
  69. #ifndef DLT_EN3MB
  70. #define DLT_EN3MB 2
  71. #endif
  72. #ifndef DLT_AX25
  73. #define DLT_AX25 3
  74. #endif
  75. #ifndef DLT_PRONET
  76. #define DLT_PRONET 4
  77. #endif
  78. #ifndef DLT_CHAOS
  79. #define DLT_CHAOS 5
  80. #endif
  81. #ifndef DLT_IEEE802
  82. #define DLT_IEEE802 6
  83. #endif
  84. #ifndef DLT_ARCNET
  85. #define DLT_ARCNET 7
  86. #endif
  87. #ifndef DLT_SLIP
  88. #define DLT_SLIP 8
  89. #endif
  90. #ifndef DLT_PPP
  91. #define DLT_PPP 9
  92. #endif
  93. #ifndef DLT_FDDI
  94. #define DLT_FDDI 10
  95. #endif
  96. #ifndef DLT_ATM_RFC1483
  97. #define DLT_ATM_RFC1483 11
  98. #endif
  99. #ifndef DLT_RAW
  100. #define DLT_RAW 12
  101. #endif
  102. #ifndef DLT_ENC
  103. #define DLT_ENC 13
  104. #endif
  105. #ifndef DLT_PPP_BSDOS
  106. #define DLT_PPP_BSDOS 14
  107. #endif
  108. #ifndef DLT_SLIP_BSDOS
  109. #define DLT_SLIP_BSDOS 15
  110. #endif
  111. #ifndef DLT_PPP_BSDOS
  112. #define DLT_PPP_BSDOS 16
  113. #endif
  114. #ifndef DLT_OLD_PFLOG
  115. #define DLT_OLD_PFLOG 17
  116. #endif
  117. #ifndef DLT_PFSYNC
  118. #define DLT_PFSYNC 18
  119. #endif
  120. #ifndef DLT_ATM_CLIP
  121. #define DLT_ATM_CLIP 19
  122. #endif
  123. #ifndef DLT_REDBACK_SMARTEDGE
  124. #define DLT_REDBACK_SMARTEDGE 32
  125. #endif
  126. #ifndef DLT_PPP_SERIAL
  127. #define DLT_PPP_SERIAL 50
  128. #endif
  129. #ifndef DLT_PPP_ETHER
  130. #define DLT_PPP_ETHER 51
  131. #endif
  132. #ifndef DLT_SYMANTEC_FIREWALL
  133. #define DLT_SYMANTEC_FIREWALL 99
  134. #endif
  135. #ifndef DLT_C_HDLC
  136. #define DLT_C_HDLC 104
  137. #endif
  138. #ifndef DLT_IEEE802_11
  139. #define DLT_IEEE802_11 105
  140. #endif
  141. #ifndef DLT_FRELAY
  142. #define DLT_FRELAY 107
  143. #endif
  144. #ifndef DLT_LOOP
  145. #define DLT_LOOP 108
  146. #endif
  147. #ifndef DLT_ENC
  148. #define DLT_ENC 109
  149. #endif
  150. #ifndef DLT_LINUX_SLL
  151. #define DLT_LINUX_SLL 113
  152. #endif
  153. #ifndef DLT_LTALK
  154. #define DLT_LTALK 114
  155. #endif
  156. #ifndef DLT_ECONET
  157. #define DLT_ECONET 115
  158. #endif
  159. #ifndef DLT_IPFILTER
  160. #define DLT_IPFILTER 116
  161. #endif
  162. #ifndef DLT_PFLOG
  163. #define DLT_PFLOG 117
  164. #endif
  165. #ifndef DLT_CISCO_IOS
  166. #define DLT_CISCO_IOS 118
  167. #endif
  168. #ifndef DLT_PRISM_HEADER
  169. #define DLT_PRISM_HEADER 119
  170. #endif
  171. #ifndef DLT_AIRONET_HEADER
  172. #define DLT_AIRONET_HEADER 120
  173. #endif
  174. #ifndef DLT_HHDLC
  175. #define DLT_HHDLC 121
  176. #endif
  177. #ifndef DLT_IP_OVER_FC
  178. #define DLT_IP_OVER_FC 122
  179. #endif
  180. #ifndef DLT_SUNATM
  181. #define DLT_SUNATM 123
  182. #endif
  183. #ifndef DLT_RIO
  184. #define DLT_RIO 124
  185. #endif
  186. #ifndef DLT_PCI_EXP
  187. #define DLT_PCI_EXP 125
  188. #endif
  189. #ifndef DLT_AURORA
  190. #define DLT_AURORA 126
  191. #endif
  192. #ifndef DLT_IEEE802_11_RADIO
  193. #define DLT_IEEE802_11_RADIO 127
  194. #endif
  195. #ifndef DLT_TZSP
  196. #define DLT_TZSP 128
  197. #endif
  198. #ifndef DLT_ARCNET_LINUX
  199. #define DLT_ARCNET_LINUX 129
  200. #endif
  201. #ifndef DLT_JUNIPER_MLPPP
  202. #define DLT_JUNIPER_MLPPP 130
  203. #endif
  204. #ifndef DLT_JUNIPER_MLFR
  205. #define DLT_JUNIPER_MLFR 131
  206. #endif
  207. #ifndef DLT_JUNIPER_ES
  208. #define DLT_JUNIPER_ES 132
  209. #endif
  210. #ifndef DLT_JUNIPER_GGSN
  211. #define DLT_JUNIPER_GGSN 133
  212. #endif
  213. #ifndef DLT_JUNIPER_MFR
  214. #define DLT_JUNIPER_MFR 134
  215. #endif
  216. #ifndef DLT_JUNIPER_ATM2
  217. #define DLT_JUNIPER_ATM2 135
  218. #endif
  219. #ifndef DLT_JUNIPER_SERVICES
  220. #define DLT_JUNIPER_SERVICES 136
  221. #endif
  222. #ifndef DLT_JUNIPER_ATM1
  223. #define DLT_JUNIPER_ATM1 137
  224. #endif
  225. #ifndef DLT_APPLE_IP_OVER_IEEE1394
  226. #define DLT_APPLE_IP_OVER_IEEE1394 138
  227. #endif
  228. #ifndef DLT_MTP2_WITH_PHDR
  229. #define DLT_MTP2_WITH_PHDR 139
  230. #endif
  231. #ifndef DLT_MTP2
  232. #define DLT_MTP2 140
  233. #endif
  234. #ifndef DLT_MTP3
  235. #define DLT_MTP3 141
  236. #endif
  237. #ifndef DLT_SCCP
  238. #define DLT_SCCP 142
  239. #endif
  240. #ifndef DLT_DOCSIS
  241. #define DLT_DOCSIS 143
  242. #endif
  243. #ifndef DLT_LINUX_IRDA
  244. #define DLT_LINUX_IRDA 144
  245. #endif
  246. #ifndef DLT_IBM_SP
  247. #define DLT_IBM_SP 145
  248. #endif
  249. #ifndef DLT_IBM_SN
  250. #define DLT_IBM_SN 146
  251. #endif
  252. #ifndef DLT_USER0
  253. #define DLT_USER0 147
  254. #endif
  255. #ifndef DLT_USER1
  256. #define DLT_USER1 148
  257. #endif
  258. #ifndef DLT_USER2
  259. #define DLT_USER2 149
  260. #endif
  261. #ifndef DLT_USER3
  262. #define DLT_USER3 150
  263. #endif
  264. #ifndef DLT_USER4
  265. #define DLT_USER4 151
  266. #endif
  267. #ifndef DLT_USER5
  268. #define DLT_USER5 152
  269. #endif
  270. #ifndef DLT_USER6
  271. #define DLT_USER6 153
  272. #endif
  273. #ifndef DLT_USER7
  274. #define DLT_USER7 154
  275. #endif
  276. #ifndef DLT_USER8
  277. #define DLT_USER8 155
  278. #endif
  279. #ifndef DLT_USER9
  280. #define DLT_USER9 156
  281. #endif
  282. #ifndef DLT_USER10
  283. #define DLT_USER10 157
  284. #endif
  285. #ifndef DLT_USER11
  286. #define DLT_USER11 158
  287. #endif
  288. #ifndef DLT_USER12
  289. #define DLT_USER12 159
  290. #endif
  291. #ifndef DLT_USER13
  292. #define DLT_USER13 160
  293. #endif
  294. #ifndef DLT_USER14
  295. #define DLT_USER14 161
  296. #endif
  297. #ifndef DLT_USER15
  298. #define DLT_USER15 162
  299. #endif
  300. #ifndef DLT_IEEE802_11_RADIO_AVS
  301. #define DLT_IEEE802_11_RADIO_AVS 163
  302. #endif
  303. #ifndef DLT_JUNIPER_MONITOR
  304. #define DLT_JUNIPER_MONITOR 164
  305. #endif
  306. #ifndef DLT_BACNET_MS_TP
  307. #define DLT_BACNET_MS_TP 165
  308. #endif
  309. #ifndef DLT_PPP_PPPD
  310. #define DLT_PPP_PPPD 166
  311. #endif
  312. #ifndef DLT_JUNIPER_PPPOE
  313. #define DLT_JUNIPER_PPPOE 167
  314. #endif
  315. #ifndef DLT_JUNIPER_PPPOE_ATM
  316. #define DLT_JUNIPER_PPPOE_ATM 168
  317. #endif
  318. #ifndef DLT_GPRS_LLC
  319. #define DLT_GPRS_LLC 169
  320. #endif
  321. #ifndef DLT_GPF_T
  322. #define DLT_GPF_T 170
  323. #endif
  324. #ifndef DLT_GPF_F
  325. #define DLT_GPF_F 171
  326. #endif
  327. #ifndef DLT_GCOM_T1E1
  328. #define DLT_GCOM_T1E1 172
  329. #endif
  330. #ifndef DLT_GCOM_SERIAL
  331. #define DLT_GCOM_SERIAL 173
  332. #endif
  333. #ifndef DLT_JUNIPER_PIC_PEER
  334. #define DLT_JUNIPER_PIC_PEER 174
  335. #endif
  336. #ifndef DLT_ERF_ETH
  337. #define DLT_ERF_ETH 175
  338. #endif
  339. #ifndef DLT_ERF_POS
  340. #define DLT_ERF_POS 176
  341. #endif
  342. #ifndef DLT_LINUX_LAPD
  343. #define DLT_LINUX_LAPD 177
  344. #endif
  345. #ifndef DLT_JUNIPER_ETHER
  346. #define DLT_JUNIPER_ETHER 178
  347. #endif
  348. #ifndef DLT_JUNIPER_PPP
  349. #define DLT_JUNIPER_PPP 179
  350. #endif
  351. #ifndef DLT_JUNIPER_FRELAY
  352. #define DLT_JUNIPER_FRELAY 180
  353. #endif
  354. #ifndef DLT_JUNIPER_CHDLC
  355. #define DLT_JUNIPER_CHDLC 181
  356. #endif