libpcap
1.10.1
About: libpcap is a packet filter library used by tools like tcpdump.
![]() ![]() |
Go to the source code of this file.
Macros | |
#define | DLT_NULL 0 /* BSD loopback encapsulation */ |
#define | DLT_EN10MB 1 /* Ethernet (10Mb) */ |
#define | DLT_EN3MB 2 /* Experimental Ethernet (3Mb) */ |
#define | DLT_AX25 3 /* Amateur Radio AX.25 */ |
#define | DLT_PRONET 4 /* Proteon ProNET Token Ring */ |
#define | DLT_CHAOS 5 /* Chaos */ |
#define | DLT_IEEE802 6 /* 802.5 Token Ring */ |
#define | DLT_ARCNET 7 /* ARCNET, with BSD-style header */ |
#define | DLT_SLIP 8 /* Serial Line IP */ |
#define | DLT_PPP 9 /* Point-to-point Protocol */ |
#define | DLT_FDDI 10 /* FDDI */ |
#define | DLT_ATM_RFC1483 11 /* LLC-encapsulated ATM */ |
#define | DLT_RAW 12 /* raw IP */ |
#define | DLT_SLIP_BSDOS 15 /* BSD/OS Serial Line IP */ |
#define | DLT_PPP_BSDOS 16 /* BSD/OS Point-to-point Protocol */ |
#define | DLT_ATM_CLIP 19 /* Linux Classical IP over ATM */ |
#define | DLT_REDBACK_SMARTEDGE 32 |
#define | DLT_PPP_SERIAL 50 /* PPP over serial with HDLC encapsulation */ |
#define | DLT_PPP_ETHER 51 /* PPP over Ethernet */ |
#define | DLT_SYMANTEC_FIREWALL 99 |
#define | DLT_MATCHING_MIN 104 |
#define | DLT_C_HDLC 104 /* Cisco HDLC */ |
#define | DLT_CHDLC DLT_C_HDLC |
#define | DLT_IEEE802_11 105 /* IEEE 802.11 wireless */ |
#define | DLT_FRELAY 107 |
#define | DLT_LOOP 108 |
#define | DLT_ENC 109 |
#define | DLT_LINUX_SLL 113 |
#define | DLT_LTALK 114 |
#define | DLT_ECONET 115 |
#define | DLT_IPFILTER 116 |
#define | DLT_PFLOG 117 |
#define | DLT_CISCO_IOS 118 |
#define | DLT_PRISM_HEADER 119 |
#define | DLT_AIRONET_HEADER 120 |
#define | DLT_HHDLC 121 |
#define | DLT_IP_OVER_FC 122 |
#define | DLT_SUNATM 123 /* Solaris+SunATM */ |
#define | DLT_RIO 124 /* RapidIO */ |
#define | DLT_PCI_EXP 125 /* PCI Express */ |
#define | DLT_AURORA 126 /* Xilinx Aurora link layer */ |
#define | DLT_IEEE802_11_RADIO 127 /* 802.11 plus radiotap radio header */ |
#define | DLT_TZSP 128 /* Tazmen Sniffer Protocol */ |
#define | DLT_ARCNET_LINUX 129 /* ARCNET */ |
#define | DLT_JUNIPER_MLPPP 130 |
#define | DLT_JUNIPER_MLFR 131 |
#define | DLT_JUNIPER_ES 132 |
#define | DLT_JUNIPER_GGSN 133 |
#define | DLT_JUNIPER_MFR 134 |
#define | DLT_JUNIPER_ATM2 135 |
#define | DLT_JUNIPER_SERVICES 136 |
#define | DLT_JUNIPER_ATM1 137 |
#define | DLT_APPLE_IP_OVER_IEEE1394 138 |
#define | DLT_MTP2_WITH_PHDR 139 /* pseudo-header with various info, followed by MTP2 */ |
#define | DLT_MTP2 140 /* MTP2, without pseudo-header */ |
#define | DLT_MTP3 141 /* MTP3, without pseudo-header or MTP2 */ |
#define | DLT_SCCP 142 /* SCCP, without pseudo-header or MTP2 or MTP3 */ |
#define | DLT_DOCSIS 143 |
#define | DLT_LINUX_IRDA 144 |
#define | DLT_IBM_SP 145 |
#define | DLT_IBM_SN 146 |
#define | DLT_USER0 147 |
#define | DLT_USER1 148 |
#define | DLT_USER2 149 |
#define | DLT_USER3 150 |
#define | DLT_USER4 151 |
#define | DLT_USER5 152 |
#define | DLT_USER6 153 |
#define | DLT_USER7 154 |
#define | DLT_USER8 155 |
#define | DLT_USER9 156 |
#define | DLT_USER10 157 |
#define | DLT_USER11 158 |
#define | DLT_USER12 159 |
#define | DLT_USER13 160 |
#define | DLT_USER14 161 |
#define | DLT_USER15 162 |
#define | DLT_IEEE802_11_RADIO_AVS 163 /* 802.11 plus AVS radio header */ |
#define | DLT_JUNIPER_MONITOR 164 |
#define | DLT_BACNET_MS_TP 165 |
#define | DLT_PPP_PPPD 166 |
#define | DLT_PPP_WITH_DIRECTION DLT_PPP_PPPD |
#define | DLT_LINUX_PPP_WITHDIRECTION DLT_PPP_PPPD |
#define | DLT_JUNIPER_PPPOE 167 |
#define | DLT_JUNIPER_PPPOE_ATM 168 |
#define | DLT_GPRS_LLC 169 /* GPRS LLC */ |
#define | DLT_GPF_T 170 /* GPF-T (ITU-T G.7041/Y.1303) */ |
#define | DLT_GPF_F 171 /* GPF-F (ITU-T G.7041/Y.1303) */ |
#define | DLT_GCOM_T1E1 172 |
#define | DLT_GCOM_SERIAL 173 |
#define | DLT_JUNIPER_PIC_PEER 174 |
#define | DLT_ERF_ETH 175 /* Ethernet */ |
#define | DLT_ERF_POS 176 /* Packet-over-SONET */ |
#define | DLT_LINUX_LAPD 177 |
#define | DLT_JUNIPER_ETHER 178 |
#define | DLT_JUNIPER_PPP 179 |
#define | DLT_JUNIPER_FRELAY 180 |
#define | DLT_JUNIPER_CHDLC 181 |
#define | DLT_MFR 182 |
#define | DLT_JUNIPER_VP 183 |
#define | DLT_A429 184 |
#define | DLT_A653_ICM 185 |
#define | DLT_USB_FREEBSD 186 |
#define | DLT_USB 186 |
#define | DLT_BLUETOOTH_HCI_H4 187 |
#define | DLT_IEEE802_16_MAC_CPS 188 |
#define | DLT_USB_LINUX 189 |
#define | DLT_CAN20B 190 |
#define | DLT_IEEE802_15_4_LINUX 191 |
#define | DLT_PPI 192 |
#define | DLT_IEEE802_16_MAC_CPS_RADIO 193 |
#define | DLT_JUNIPER_ISM 194 |
#define | DLT_IEEE802_15_4_WITHFCS 195 |
#define | DLT_IEEE802_15_4 DLT_IEEE802_15_4_WITHFCS |
#define | DLT_SITA 196 |
#define | DLT_ERF 197 |
#define | DLT_RAIF1 198 |
#define | DLT_IPMB_KONTRON 199 |
#define | DLT_JUNIPER_ST 200 |
#define | DLT_BLUETOOTH_HCI_H4_WITH_PHDR 201 |
#define | DLT_AX25_KISS 202 |
#define | DLT_LAPD 203 |
#define | DLT_PPP_WITH_DIR 204 |
#define | DLT_C_HDLC_WITH_DIR 205 |
#define | DLT_FRELAY_WITH_DIR 206 |
#define | DLT_LAPB_WITH_DIR 207 |
#define | DLT_IPMB_LINUX 209 |
#define | DLT_FLEXRAY 210 |
#define | DLT_MOST 211 |
#define | DLT_LIN 212 |
#define | DLT_X2E_SERIAL 213 |
#define | DLT_X2E_XORAYA 214 |
#define | DLT_IEEE802_15_4_NONASK_PHY 215 |
#define | DLT_LINUX_EVDEV 216 |
#define | DLT_GSMTAP_UM 217 |
#define | DLT_GSMTAP_ABIS 218 |
#define | DLT_MPLS 219 |
#define | DLT_USB_LINUX_MMAPPED 220 |
#define | DLT_DECT 221 |
#define | DLT_AOS 222 |
#define | DLT_WIHART 223 |
#define | DLT_FC_2 224 |
#define | DLT_FC_2_WITH_FRAME_DELIMS 225 |
#define | DLT_IPNET 226 |
#define | DLT_CAN_SOCKETCAN 227 |
#define | DLT_IPV4 228 |
#define | DLT_IPV6 229 |
#define | DLT_IEEE802_15_4_NOFCS 230 |
#define | DLT_DBUS 231 |
#define | DLT_JUNIPER_VS 232 |
#define | DLT_JUNIPER_SRX_E2E 233 |
#define | DLT_JUNIPER_FIBRECHANNEL 234 |
#define | DLT_DVB_CI 235 |
#define | DLT_MUX27010 236 |
#define | DLT_STANAG_5066_D_PDU 237 |
#define | DLT_JUNIPER_ATM_CEMIC 238 |
#define | DLT_NFLOG 239 |
#define | DLT_NETANALYZER 240 |
#define | DLT_NETANALYZER_TRANSPARENT 241 |
#define | DLT_IPOIB 242 |
#define | DLT_MPEG_2_TS 243 |
#define | DLT_NG40 244 |
#define | DLT_NFC_LLCP 245 |
#define | DLT_PFSYNC 246 |
#define | DLT_INFINIBAND 247 |
#define | DLT_SCTP 248 |
#define | DLT_USBPCAP 249 |
#define | DLT_RTAC_SERIAL 250 |
#define | DLT_BLUETOOTH_LE_LL 251 |
#define | DLT_WIRESHARK_UPPER_PDU 252 |
#define | DLT_NETLINK 253 |
#define | DLT_BLUETOOTH_LINUX_MONITOR 254 |
#define | DLT_BLUETOOTH_BREDR_BB 255 |
#define | DLT_BLUETOOTH_LE_LL_WITH_PHDR 256 |
#define | DLT_PROFIBUS_DL 257 |
#define | DLT_PKTAP 258 |
#define | DLT_EPON 259 |
#define | DLT_IPMI_HPM_2 260 |
#define | DLT_ZWAVE_R1_R2 261 |
#define | DLT_ZWAVE_R3 262 |
#define | DLT_WATTSTOPPER_DLM 263 |
#define | DLT_ISO_14443 264 |
#define | DLT_RDS 265 |
#define | DLT_USB_DARWIN 266 |
#define | DLT_OPENFLOW 267 |
#define | DLT_SDLC 268 |
#define | DLT_TI_LLN_SNIFFER 269 |
#define | DLT_LORATAP 270 |
#define | DLT_VSOCK 271 |
#define | DLT_NORDIC_BLE 272 |
#define | DLT_DOCSIS31_XRA31 273 |
#define | DLT_ETHERNET_MPACKET 274 |
#define | DLT_DISPLAYPORT_AUX 275 |
#define | DLT_LINUX_SLL2 276 |
#define | DLT_SERCOS_MONITOR 277 |
#define | DLT_OPENVIZSLA 278 |
#define | DLT_EBHSCR 279 |
#define | DLT_VPP_DISPATCH 280 |
#define | DLT_DSA_TAG_BRCM 281 |
#define | DLT_DSA_TAG_BRCM_PREPEND 282 |
#define | DLT_IEEE802_15_4_TAP 283 |
#define | DLT_DSA_TAG_DSA 284 |
#define | DLT_DSA_TAG_EDSA 285 |
#define | DLT_ELEE 286 |
#define | DLT_Z_WAVE_SERIAL 287 |
#define | DLT_USB_2_0 288 |
#define | DLT_ATSC_ALP 289 |
#define | DLT_MATCHING_MAX 289 /* highest value in the "matching" range */ |
#define | DLT_CLASS(x) ((x) & 0x03ff0000) |
#define | DLT_CLASS_NETBSD_RAWAF 0x02240000 |
#define | DLT_NETBSD_RAWAF(af) (DLT_CLASS_NETBSD_RAWAF | (af)) |
#define | DLT_NETBSD_RAWAF_AF(x) ((x) & 0x0000ffff) |
#define | DLT_IS_NETBSD_RAWAF(x) (DLT_CLASS(x) == DLT_CLASS_NETBSD_RAWAF) |
#define DLT_CHDLC DLT_C_HDLC |
#define DLT_IEEE802_11_RADIO 127 /* 802.11 plus radiotap radio header */ |
#define DLT_IEEE802_11_RADIO_AVS 163 /* 802.11 plus AVS radio header */ |
#define DLT_IEEE802_15_4 DLT_IEEE802_15_4_WITHFCS |
#define DLT_IS_NETBSD_RAWAF | ( | x | ) | (DLT_CLASS(x) == DLT_CLASS_NETBSD_RAWAF) |
#define DLT_LINUX_PPP_WITHDIRECTION DLT_PPP_PPPD |
#define DLT_MATCHING_MAX 289 /* highest value in the "matching" range */ |
#define DLT_MTP2_WITH_PHDR 139 /* pseudo-header with various info, followed by MTP2 */ |
#define DLT_MTP3 141 /* MTP3, without pseudo-header or MTP2 */ |
#define DLT_NETBSD_RAWAF | ( | af | ) | (DLT_CLASS_NETBSD_RAWAF | (af)) |
#define DLT_PPP_SERIAL 50 /* PPP over serial with HDLC encapsulation */ |
#define DLT_PPP_WITH_DIRECTION DLT_PPP_PPPD |
#define DLT_SCCP 142 /* SCCP, without pseudo-header or MTP2 or MTP3 */ |