dlt_names.h 8.2 KB

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