dlt_names.h 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457
  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 char *dlt2desc[];
  60. #define DLT2DESC_LEN 181
  61. #ifndef DLT_NULL
  62. #define DLT_NULL 0
  63. #endif
  64. #ifndef DLT_EN10MB
  65. #define DLT_EN10MB 1
  66. #endif
  67. #ifndef DLT_EN3MB
  68. #define DLT_EN3MB 2
  69. #endif
  70. #ifndef DLT_AX25
  71. #define DLT_AX25 3
  72. #endif
  73. #ifndef DLT_PRONET
  74. #define DLT_PRONET 4
  75. #endif
  76. #ifndef DLT_CHAOS
  77. #define DLT_CHAOS 5
  78. #endif
  79. #ifndef DLT_IEEE802
  80. #define DLT_IEEE802 6
  81. #endif
  82. #ifndef DLT_ARCNET
  83. #define DLT_ARCNET 7
  84. #endif
  85. #ifndef DLT_SLIP
  86. #define DLT_SLIP 8
  87. #endif
  88. #ifndef DLT_PPP
  89. #define DLT_PPP 9
  90. #endif
  91. #ifndef DLT_FDDI
  92. #define DLT_FDDI 10
  93. #endif
  94. #ifndef DLT_ATM_RFC1483
  95. #define DLT_ATM_RFC1483 11
  96. #endif
  97. #ifndef DLT_RAW
  98. #define DLT_RAW 12
  99. #endif
  100. #ifndef DLT_ENC
  101. #define DLT_ENC 13
  102. #endif
  103. #ifndef DLT_PPP_BSDOS
  104. #define DLT_PPP_BSDOS 14
  105. #endif
  106. #ifndef DLT_SLIP_BSDOS
  107. #define DLT_SLIP_BSDOS 15
  108. #endif
  109. #ifndef DLT_PPP_BSDOS
  110. #define DLT_PPP_BSDOS 16
  111. #endif
  112. #ifndef DLT_OLD_PFLOG
  113. #define DLT_OLD_PFLOG 17
  114. #endif
  115. #ifndef DLT_PFSYNC
  116. #define DLT_PFSYNC 18
  117. #endif
  118. #ifndef DLT_ATM_CLIP
  119. #define DLT_ATM_CLIP 19
  120. #endif
  121. #ifndef DLT_REDBACK_SMARTEDGE
  122. #define DLT_REDBACK_SMARTEDGE 32
  123. #endif
  124. #ifndef DLT_PPP_SERIAL
  125. #define DLT_PPP_SERIAL 50
  126. #endif
  127. #ifndef DLT_PPP_ETHER
  128. #define DLT_PPP_ETHER 51
  129. #endif
  130. #ifndef DLT_SYMANTEC_FIREWALL
  131. #define DLT_SYMANTEC_FIREWALL 99
  132. #endif
  133. #ifndef DLT_C_HDLC
  134. #define DLT_C_HDLC 104
  135. #endif
  136. #ifndef DLT_IEEE802_11
  137. #define DLT_IEEE802_11 105
  138. #endif
  139. #ifndef DLT_FRELAY
  140. #define DLT_FRELAY 107
  141. #endif
  142. #ifndef DLT_LOOP
  143. #define DLT_LOOP 108
  144. #endif
  145. #ifndef DLT_ENC
  146. #define DLT_ENC 109
  147. #endif
  148. #ifndef DLT_LINUX_SLL
  149. #define DLT_LINUX_SLL 113
  150. #endif
  151. #ifndef DLT_LTALK
  152. #define DLT_LTALK 114
  153. #endif
  154. #ifndef DLT_ECONET
  155. #define DLT_ECONET 115
  156. #endif
  157. #ifndef DLT_IPFILTER
  158. #define DLT_IPFILTER 116
  159. #endif
  160. #ifndef DLT_PFLOG
  161. #define DLT_PFLOG 117
  162. #endif
  163. #ifndef DLT_CISCO_IOS
  164. #define DLT_CISCO_IOS 118
  165. #endif
  166. #ifndef DLT_PRISM_HEADER
  167. #define DLT_PRISM_HEADER 119
  168. #endif
  169. #ifndef DLT_AIRONET_HEADER
  170. #define DLT_AIRONET_HEADER 120
  171. #endif
  172. #ifndef DLT_HHDLC
  173. #define DLT_HHDLC 121
  174. #endif
  175. #ifndef DLT_IP_OVER_FC
  176. #define DLT_IP_OVER_FC 122
  177. #endif
  178. #ifndef DLT_SUNATM
  179. #define DLT_SUNATM 123
  180. #endif
  181. #ifndef DLT_RIO
  182. #define DLT_RIO 124
  183. #endif
  184. #ifndef DLT_PCI_EXP
  185. #define DLT_PCI_EXP 125
  186. #endif
  187. #ifndef DLT_AURORA
  188. #define DLT_AURORA 126
  189. #endif
  190. #ifndef DLT_IEEE802_11_RADIO
  191. #define DLT_IEEE802_11_RADIO 127
  192. #endif
  193. #ifndef DLT_TZSP
  194. #define DLT_TZSP 128
  195. #endif
  196. #ifndef DLT_ARCNET_LINUX
  197. #define DLT_ARCNET_LINUX 129
  198. #endif
  199. #ifndef DLT_JUNIPER_MLPPP
  200. #define DLT_JUNIPER_MLPPP 130
  201. #endif
  202. #ifndef DLT_JUNIPER_MLFR
  203. #define DLT_JUNIPER_MLFR 131
  204. #endif
  205. #ifndef DLT_JUNIPER_ES
  206. #define DLT_JUNIPER_ES 132
  207. #endif
  208. #ifndef DLT_JUNIPER_GGSN
  209. #define DLT_JUNIPER_GGSN 133
  210. #endif
  211. #ifndef DLT_JUNIPER_MFR
  212. #define DLT_JUNIPER_MFR 134
  213. #endif
  214. #ifndef DLT_JUNIPER_ATM2
  215. #define DLT_JUNIPER_ATM2 135
  216. #endif
  217. #ifndef DLT_JUNIPER_SERVICES
  218. #define DLT_JUNIPER_SERVICES 136
  219. #endif
  220. #ifndef DLT_JUNIPER_ATM1
  221. #define DLT_JUNIPER_ATM1 137
  222. #endif
  223. #ifndef DLT_APPLE_IP_OVER_IEEE1394
  224. #define DLT_APPLE_IP_OVER_IEEE1394 138
  225. #endif
  226. #ifndef DLT_MTP2_WITH_PHDR
  227. #define DLT_MTP2_WITH_PHDR 139
  228. #endif
  229. #ifndef DLT_MTP2
  230. #define DLT_MTP2 140
  231. #endif
  232. #ifndef DLT_MTP3
  233. #define DLT_MTP3 141
  234. #endif
  235. #ifndef DLT_SCCP
  236. #define DLT_SCCP 142
  237. #endif
  238. #ifndef DLT_DOCSIS
  239. #define DLT_DOCSIS 143
  240. #endif
  241. #ifndef DLT_LINUX_IRDA
  242. #define DLT_LINUX_IRDA 144
  243. #endif
  244. #ifndef DLT_IBM_SP
  245. #define DLT_IBM_SP 145
  246. #endif
  247. #ifndef DLT_IBM_SN
  248. #define DLT_IBM_SN 146
  249. #endif
  250. #ifndef DLT_USER0
  251. #define DLT_USER0 147
  252. #endif
  253. #ifndef DLT_USER1
  254. #define DLT_USER1 148
  255. #endif
  256. #ifndef DLT_USER2
  257. #define DLT_USER2 149
  258. #endif
  259. #ifndef DLT_USER3
  260. #define DLT_USER3 150
  261. #endif
  262. #ifndef DLT_USER4
  263. #define DLT_USER4 151
  264. #endif
  265. #ifndef DLT_USER5
  266. #define DLT_USER5 152
  267. #endif
  268. #ifndef DLT_USER6
  269. #define DLT_USER6 153
  270. #endif
  271. #ifndef DLT_USER7
  272. #define DLT_USER7 154
  273. #endif
  274. #ifndef DLT_USER8
  275. #define DLT_USER8 155
  276. #endif
  277. #ifndef DLT_USER9
  278. #define DLT_USER9 156
  279. #endif
  280. #ifndef DLT_USER10
  281. #define DLT_USER10 157
  282. #endif
  283. #ifndef DLT_USER11
  284. #define DLT_USER11 158
  285. #endif
  286. #ifndef DLT_USER12
  287. #define DLT_USER12 159
  288. #endif
  289. #ifndef DLT_USER13
  290. #define DLT_USER13 160
  291. #endif
  292. #ifndef DLT_USER14
  293. #define DLT_USER14 161
  294. #endif
  295. #ifndef DLT_USER15
  296. #define DLT_USER15 162
  297. #endif
  298. #ifndef DLT_IEEE802_11_RADIO_AVS
  299. #define DLT_IEEE802_11_RADIO_AVS 163
  300. #endif
  301. #ifndef DLT_JUNIPER_MONITOR
  302. #define DLT_JUNIPER_MONITOR 164
  303. #endif
  304. #ifndef DLT_BACNET_MS_TP
  305. #define DLT_BACNET_MS_TP 165
  306. #endif
  307. #ifndef DLT_PPP_PPPD
  308. #define DLT_PPP_PPPD 166
  309. #endif
  310. #ifndef DLT_JUNIPER_PPPOE
  311. #define DLT_JUNIPER_PPPOE 167
  312. #endif
  313. #ifndef DLT_JUNIPER_PPPOE_ATM
  314. #define DLT_JUNIPER_PPPOE_ATM 168
  315. #endif
  316. #ifndef DLT_GPRS_LLC
  317. #define DLT_GPRS_LLC 169
  318. #endif
  319. #ifndef DLT_GPF_T
  320. #define DLT_GPF_T 170
  321. #endif
  322. #ifndef DLT_GPF_F
  323. #define DLT_GPF_F 171
  324. #endif
  325. #ifndef DLT_GCOM_T1E1
  326. #define DLT_GCOM_T1E1 172
  327. #endif
  328. #ifndef DLT_GCOM_SERIAL
  329. #define DLT_GCOM_SERIAL 173
  330. #endif
  331. #ifndef DLT_JUNIPER_PIC_PEER
  332. #define DLT_JUNIPER_PIC_PEER 174
  333. #endif
  334. #ifndef DLT_ERF_ETH
  335. #define DLT_ERF_ETH 175
  336. #endif
  337. #ifndef DLT_ERF_POS
  338. #define DLT_ERF_POS 176
  339. #endif
  340. #ifndef DLT_LINUX_LAPD
  341. #define DLT_LINUX_LAPD 177
  342. #endif
  343. #ifndef DLT_JUNIPER_ETHER
  344. #define DLT_JUNIPER_ETHER 178
  345. #endif
  346. #ifndef DLT_JUNIPER_PPP
  347. #define DLT_JUNIPER_PPP 179
  348. #endif
  349. #ifndef DLT_JUNIPER_FRELAY
  350. #define DLT_JUNIPER_FRELAY 180
  351. #endif
  352. #ifndef DLT_JUNIPER_CHDLC
  353. #define DLT_JUNIPER_CHDLC 181
  354. #endif