Classes | Macros | Typedefs | Functions
bpf.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  bpf_insn
 A single BPF pseudo-instruction. More...
 
struct  bpf_program
 A BPF pseudo-assembly program. More...
 
struct  bpf_version
 

Macros

#define BPF_A   0x10
 
#define BPF_ABS   0x20
 
#define BPF_ADD   0x00
 
#define BPF_ALIGNMENT   sizeof(bpf_int32)
 
#define BPF_ALU   0x04
 
#define BPF_AND   0x50
 
#define BPF_B   0x10
 
#define BPF_CLASS(code)   ((code) & 0x07)
 
#define BPF_DIV   0x30
 
#define BPF_H   0x08
 
#define BPF_IMM   0x00
 
#define BPF_IND   0x40
 
#define BPF_JA   0x00
 
#define BPF_JEQ   0x10
 
#define BPF_JGE   0x30
 
#define BPF_JGT   0x20
 
#define BPF_JMP   0x05
 
#define BPF_JSET   0x40
 
#define BPF_JUMP(code, k, jt, jf)   { (u_short)(code), jt, jf, k }
 
#define BPF_K   0x00
 
#define BPF_LD   0x00
 
#define BPF_LDX   0x01
 
#define BPF_LEN   0x80
 
#define BPF_LSH   0x60
 
#define BPF_MAJOR_VERSION   1
 
#define BPF_MAXBUFSIZE   0x8000
 
#define BPF_MEM   0x60
 
#define BPF_MEMWORDS   16
 
#define BPF_MINBUFSIZE   32
 
#define BPF_MINOR_VERSION   1
 
#define BPF_MISC   0x07
 
#define BPF_MISCOP(code)   ((code) & 0xf8)
 
#define BPF_MODE(code)   ((code) & 0xe0)
 
#define BPF_MSH   0xa0
 
#define BPF_MUL   0x20
 
#define BPF_NEG   0x80
 
#define BPF_OP(code)   ((code) & 0xf0)
 
#define BPF_OR   0x40
 
#define BPF_RELEASE   199606
 
#define BPF_RET   0x06
 
#define BPF_RSH   0x70
 
#define BPF_RVAL(code)   ((code) & 0x18)
 
#define BPF_SIZE(code)   ((code) & 0x18)
 
#define BPF_SRC(code)   ((code) & 0x08)
 
#define BPF_ST   0x02
 
#define BPF_STMT(code, k)   { (u_short)(code), 0, 0, k }
 
#define BPF_STX   0x03
 
#define BPF_SUB   0x10
 
#define BPF_TAX   0x00
 
#define BPF_TXA   0x80
 
#define BPF_W   0x00
 
#define BPF_WORDALIGN(x)   (((x)+(BPF_ALIGNMENT-1))&~(BPF_ALIGNMENT-1))
 
#define BPF_X   0x08
 
#define DLT_A429   184
 
#define DLT_A653_ICM   185
 
#define DLT_AIRONET_HEADER   120
 
#define DLT_APPLE_IP_OVER_IEEE1394   138
 
#define DLT_ARCNET   7 /* ARCNET, with BSD-style header */
 
#define DLT_ARCNET_LINUX   129 /* ARCNET */
 
#define DLT_ATM_CLIP   19 /* Linux Classical-IP over ATM */
 
#define DLT_ATM_RFC1483   11 /* LLC-encapsulated ATM */
 
#define DLT_AURORA   126 /* Xilinx Aurora link layer */
 
#define DLT_AX25   3 /* Amateur Radio AX.25 */
 
#define DLT_AX25_KISS   202
 
#define DLT_BACNET_MS_TP   165
 
#define DLT_BLUETOOTH_HCI_H4   187
 
#define DLT_BLUETOOTH_HCI_H4_WITH_PHDR   201
 
#define DLT_C_HDLC   104 /* Cisco HDLC */
 
#define DLT_C_HDLC_WITH_DIR   205 /* Cisco HDLC */
 
#define DLT_CAN20B   190
 
#define DLT_CHAOS   5 /* Chaos */
 
#define DLT_CHDLC   DLT_C_HDLC
 
#define DLT_CISCO_IOS   118
 
#define DLT_CLASS(x)   ((x) & 0x03ff0000)
 
#define DLT_CLASS_NETBSD_RAWAF   0x02240000
 
#define DLT_DOCSIS   143
 
#define DLT_ECONET   115
 
#define DLT_EN10MB   1 /* Ethernet (10Mb) */
 
#define DLT_EN3MB   2 /* Experimental Ethernet (3Mb) */
 
#define DLT_ENC   109
 
#define DLT_ERF   197
 
#define DLT_ERF_ETH   175 /* Ethernet */
 
#define DLT_ERF_POS   176 /* Packet-over-SONET */
 
#define DLT_FDDI   10 /* FDDI */
 
#define DLT_FLEXRAY   210
 
#define DLT_FRELAY   107
 
#define DLT_FRELAY_WITH_DIR   206 /* Frame Relay */
 
#define DLT_GCOM_SERIAL   173
 
#define DLT_GCOM_T1E1   172
 
#define DLT_GPF_F   171 /* GPF-F (ITU-T G.7041/Y.1303) */
 
#define DLT_GPF_T   170 /* GPF-T (ITU-T G.7041/Y.1303) */
 
#define DLT_GPRS_LLC   169 /* GPRS LLC */
 
#define DLT_HHDLC   121
 
#define DLT_IBM_SN   146
 
#define DLT_IBM_SP   145
 
#define DLT_IEEE802   6 /* 802.5 Token Ring */
 
#define DLT_IEEE802_11   105 /* IEEE 802.11 wireless */
 
#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   195
 
#define DLT_IEEE802_15_4_LINUX   191
 
#define DLT_IEEE802_15_4_NONASK_PHY   215
 
#define DLT_IEEE802_16_MAC_CPS   188
 
#define DLT_IEEE802_16_MAC_CPS_RADIO   193
 
#define DLT_IP_OVER_FC   122
 
#define DLT_IPFILTER   116
 
#define DLT_IPMB   199
 
#define DLT_IPMB_LINUX   209
 
#define DLT_IS_NETBSD_RAWAF(x)   (DLT_CLASS(x) == DLT_CLASS_NETBSD_RAWAF)
 
#define DLT_JUNIPER_ATM1   137
 
#define DLT_JUNIPER_ATM2   135
 
#define DLT_JUNIPER_CHDLC   181
 
#define DLT_JUNIPER_ES   132
 
#define DLT_JUNIPER_ETHER   178
 
#define DLT_JUNIPER_FRELAY   180
 
#define DLT_JUNIPER_GGSN   133
 
#define DLT_JUNIPER_ISM   194
 
#define DLT_JUNIPER_MFR   134
 
#define DLT_JUNIPER_MLFR   131
 
#define DLT_JUNIPER_MLPPP   130
 
#define DLT_JUNIPER_MONITOR   164
 
#define DLT_JUNIPER_PIC_PEER   174
 
#define DLT_JUNIPER_PPP   179
 
#define DLT_JUNIPER_PPPOE   167
 
#define DLT_JUNIPER_PPPOE_ATM   168
 
#define DLT_JUNIPER_SERVICES   136
 
#define DLT_JUNIPER_ST   200
 
#define DLT_JUNIPER_VP   183
 
#define DLT_LAPB_WITH_DIR   207 /* LAPB */
 
#define DLT_LAPD   203
 
#define DLT_LIN   212
 
#define DLT_LINUX_IRDA   144
 
#define DLT_LINUX_LAPD   177
 
#define DLT_LINUX_PPP_WITHDIRECTION   DLT_PPP_PPPD
 
#define DLT_LINUX_SLL   113
 
#define DLT_LOOP   108
 
#define DLT_LTALK   114
 
#define DLT_MFR   182
 
#define DLT_MOST   211
 
#define DLT_MTP2   140 /* MTP2, without pseudo-header */
 
#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_NETBSD_RAWAF_AF(x)   ((x) & 0x0000ffff)
 
#define DLT_NULL   0 /* BSD loopback encapsulation */
 
#define DLT_PCI_EXP   125 /* PCI Express */
 
#define DLT_PFLOG   117
 
#define DLT_PPI   192
 
#define DLT_PPP   9 /* Point-to-point Protocol */
 
#define DLT_PPP_BSDOS   16 /* BSD/OS Point-to-point Protocol */
 
#define DLT_PPP_ETHER   51 /* PPP over Ethernet */
 
#define DLT_PPP_PPPD   166
 
#define DLT_PPP_SERIAL   50 /* PPP over serial with HDLC encapsulation */
 
#define DLT_PPP_WITH_DIR   204 /* PPP - don't confuse with DLT_PPP_WITH_DIRECTION */
 
#define DLT_PPP_WITH_DIRECTION   DLT_PPP_PPPD
 
#define DLT_PRISM_HEADER   119
 
#define DLT_PRONET   4 /* Proteon ProNET Token Ring */
 
#define DLT_RAIF1   198
 
#define DLT_RAW   12 /* raw IP */
 
#define DLT_REDBACK_SMARTEDGE   32
 
#define DLT_RIO   124 /* RapidIO */
 
#define DLT_SCCP   142 /* SCCP, without pseudo-header or MTP2 or MTP3 */
 
#define DLT_SITA   196
 
#define DLT_SLIP   8 /* Serial Line IP */
 
#define DLT_SLIP_BSDOS   15 /* BSD/OS Serial Line IP */
 
#define DLT_SUNATM   123 /* Solaris+SunATM */
 
#define DLT_SYMANTEC_FIREWALL   99
 
#define DLT_TZSP   128 /* Tazmen Sniffer Protocol */
 
#define DLT_USB   186
 
#define DLT_USB_LINUX   189
 
#define DLT_USER0   147
 
#define DLT_USER1   148
 
#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_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_X2E_SERIAL   213
 
#define DLT_X2E_XORAYA   214
 

Typedefs

typedef int bpf_int32
 
typedef u_int bpf_u_int32
 

Functions

u_int bpf_filter ()
 
int bpf_validate ()
 

Macro Definition Documentation

#define BPF_A   0x10

Definition at line 894 of file bpf.h.

#define BPF_ABS   0x20

Definition at line 866 of file bpf.h.

#define BPF_ADD   0x00

Definition at line 874 of file bpf.h.

#define BPF_ALIGNMENT   sizeof(bpf_int32)

Definition at line 76 of file bpf.h.

#define BPF_ALU   0x04

Definition at line 854 of file bpf.h.

#define BPF_AND   0x50

Definition at line 879 of file bpf.h.

#define BPF_B   0x10

Definition at line 863 of file bpf.h.

#define BPF_CLASS (   code)    ((code) & 0x07)

Definition at line 849 of file bpf.h.

#define BPF_DIV   0x30

Definition at line 877 of file bpf.h.

#define BPF_H   0x08

Definition at line 862 of file bpf.h.

#define BPF_IMM   0x00

Definition at line 865 of file bpf.h.

#define BPF_IND   0x40

Definition at line 867 of file bpf.h.

#define BPF_JA   0x00

Definition at line 883 of file bpf.h.

#define BPF_JEQ   0x10

Definition at line 884 of file bpf.h.

#define BPF_JGE   0x30

Definition at line 886 of file bpf.h.

#define BPF_JGT   0x20

Definition at line 885 of file bpf.h.

#define BPF_JMP   0x05

Definition at line 855 of file bpf.h.

#define BPF_JSET   0x40

Definition at line 887 of file bpf.h.

#define BPF_JUMP (   code,
  k,
  jt,
  jf 
)    { (u_short)(code), jt, jf, k }

Definition at line 915 of file bpf.h.

#define BPF_K   0x00

Definition at line 889 of file bpf.h.

#define BPF_LD   0x00

Definition at line 850 of file bpf.h.

#define BPF_LDX   0x01

Definition at line 851 of file bpf.h.

#define BPF_LEN   0x80

Definition at line 869 of file bpf.h.

#define BPF_LSH   0x60

Definition at line 880 of file bpf.h.

#define BPF_MAJOR_VERSION   1

Definition at line 109 of file bpf.h.

#define BPF_MAXBUFSIZE   0x8000

Definition at line 82 of file bpf.h.

#define BPF_MEM   0x60

Definition at line 868 of file bpf.h.

#define BPF_MEMWORDS   16

Definition at line 928 of file bpf.h.

#define BPF_MINBUFSIZE   32

Definition at line 83 of file bpf.h.

#define BPF_MINOR_VERSION   1

Definition at line 110 of file bpf.h.

#define BPF_MISC   0x07

Definition at line 857 of file bpf.h.

#define BPF_MISCOP (   code)    ((code) & 0xf8)

Definition at line 897 of file bpf.h.

#define BPF_MODE (   code)    ((code) & 0xe0)

Definition at line 864 of file bpf.h.

#define BPF_MSH   0xa0

Definition at line 870 of file bpf.h.

#define BPF_MUL   0x20

Definition at line 876 of file bpf.h.

#define BPF_NEG   0x80

Definition at line 882 of file bpf.h.

#define BPF_OP (   code)    ((code) & 0xf0)

Definition at line 873 of file bpf.h.

#define BPF_OR   0x40

Definition at line 878 of file bpf.h.

#define BPF_RELEASE   199606

Definition at line 61 of file bpf.h.

#define BPF_RET   0x06

Definition at line 856 of file bpf.h.

#define BPF_RSH   0x70

Definition at line 881 of file bpf.h.

#define BPF_RVAL (   code)    ((code) & 0x18)

Definition at line 893 of file bpf.h.

#define BPF_SIZE (   code)    ((code) & 0x18)

Definition at line 860 of file bpf.h.

#define BPF_SRC (   code)    ((code) & 0x08)

Definition at line 888 of file bpf.h.

#define BPF_ST   0x02

Definition at line 852 of file bpf.h.

#define BPF_STMT (   code,
 
)    { (u_short)(code), 0, 0, k }

Definition at line 914 of file bpf.h.

#define BPF_STX   0x03

Definition at line 853 of file bpf.h.

#define BPF_SUB   0x10

Definition at line 875 of file bpf.h.

#define BPF_TAX   0x00

Definition at line 898 of file bpf.h.

#define BPF_TXA   0x80

Definition at line 899 of file bpf.h.

#define BPF_W   0x00

Definition at line 861 of file bpf.h.

#define BPF_WORDALIGN (   x)    (((x)+(BPF_ALIGNMENT-1))&~(BPF_ALIGNMENT-1))

Definition at line 80 of file bpf.h.

#define BPF_X   0x08

Definition at line 890 of file bpf.h.

#define DLT_A429   184

Definition at line 629 of file bpf.h.

#define DLT_A653_ICM   185

Definition at line 636 of file bpf.h.

#define DLT_AIRONET_HEADER   120

Definition at line 323 of file bpf.h.

#define DLT_APPLE_IP_OVER_IEEE1394   138

Definition at line 424 of file bpf.h.

#define DLT_ARCNET   7 /* ARCNET, with BSD-style header */

Definition at line 135 of file bpf.h.

#define DLT_ARCNET_LINUX   129 /* ARCNET */

Definition at line 392 of file bpf.h.

#define DLT_ATM_CLIP   19 /* Linux Classical-IP over ATM */

Definition at line 179 of file bpf.h.

#define DLT_ATM_RFC1483   11 /* LLC-encapsulated ATM */

Definition at line 149 of file bpf.h.

#define DLT_AURORA   126 /* Xilinx Aurora link layer */

Definition at line 362 of file bpf.h.

#define DLT_AX25   3 /* Amateur Radio AX.25 */

Definition at line 131 of file bpf.h.

#define DLT_AX25_KISS   202

Definition at line 750 of file bpf.h.

#define DLT_BACNET_MS_TP   165

Definition at line 528 of file bpf.h.

#define DLT_BLUETOOTH_HCI_H4   187

Definition at line 648 of file bpf.h.

#define DLT_BLUETOOTH_HCI_H4_WITH_PHDR   201

Definition at line 741 of file bpf.h.

#define DLT_C_HDLC   104 /* Cisco HDLC */

Definition at line 224 of file bpf.h.

#define DLT_C_HDLC_WITH_DIR   205 /* Cisco HDLC */

Definition at line 766 of file bpf.h.

#define DLT_CAN20B   190

Definition at line 669 of file bpf.h.

#define DLT_CHAOS   5 /* Chaos */

Definition at line 133 of file bpf.h.

#define DLT_CHDLC   DLT_C_HDLC

Definition at line 225 of file bpf.h.

#define DLT_CISCO_IOS   118

Definition at line 310 of file bpf.h.

#define DLT_CLASS (   x)    ((x) & 0x03ff0000)

Definition at line 830 of file bpf.h.

#define DLT_CLASS_NETBSD_RAWAF   0x02240000

Definition at line 839 of file bpf.h.

#define DLT_DOCSIS   143

Definition at line 438 of file bpf.h.

#define DLT_ECONET   115

Definition at line 288 of file bpf.h.

#define DLT_EN10MB   1 /* Ethernet (10Mb) */

Definition at line 129 of file bpf.h.

#define DLT_EN3MB   2 /* Experimental Ethernet (3Mb) */

Definition at line 130 of file bpf.h.

#define DLT_ENC   109

Definition at line 265 of file bpf.h.

#define DLT_ERF   197

Definition at line 714 of file bpf.h.

#define DLT_ERF_ETH   175 /* Ethernet */

Definition at line 586 of file bpf.h.

#define DLT_ERF_POS   176 /* Packet-over-SONET */

Definition at line 587 of file bpf.h.

#define DLT_FDDI   10 /* FDDI */

Definition at line 138 of file bpf.h.

#define DLT_FLEXRAY   210

Definition at line 785 of file bpf.h.

#define DLT_FRELAY   107

Definition at line 242 of file bpf.h.

#define DLT_FRELAY_WITH_DIR   206 /* Frame Relay */

Definition at line 767 of file bpf.h.

#define DLT_GCOM_SERIAL   173

Definition at line 571 of file bpf.h.

#define DLT_GCOM_T1E1   172

Definition at line 570 of file bpf.h.

#define DLT_GPF_F   171 /* GPF-F (ITU-T G.7041/Y.1303) */

Definition at line 564 of file bpf.h.

#define DLT_GPF_T   170 /* GPF-T (ITU-T G.7041/Y.1303) */

Definition at line 563 of file bpf.h.

#define DLT_GPRS_LLC   169 /* GPRS LLC */

Definition at line 562 of file bpf.h.

#define DLT_HHDLC   121

Definition at line 328 of file bpf.h.

#define DLT_IBM_SN   146

Definition at line 461 of file bpf.h.

#define DLT_IBM_SP   145

Definition at line 460 of file bpf.h.

#define DLT_IEEE802   6 /* 802.5 Token Ring */

Definition at line 134 of file bpf.h.

#define DLT_IEEE802_11   105 /* IEEE 802.11 wireless */

Definition at line 227 of file bpf.h.

#define DLT_IEEE802_11_RADIO   127 /* 802.11 plus radiotap radio header */

Definition at line 369 of file bpf.h.

#define DLT_IEEE802_11_RADIO_AVS   163 /* 802.11 plus AVS radio header */

Definition at line 515 of file bpf.h.

#define DLT_IEEE802_15_4   195

Definition at line 701 of file bpf.h.

#define DLT_IEEE802_15_4_LINUX   191

Definition at line 675 of file bpf.h.

#define DLT_IEEE802_15_4_NONASK_PHY   215

Definition at line 822 of file bpf.h.

#define DLT_IEEE802_16_MAC_CPS   188

Definition at line 654 of file bpf.h.

#define DLT_IEEE802_16_MAC_CPS_RADIO   193

Definition at line 687 of file bpf.h.

#define DLT_IP_OVER_FC   122

Definition at line 338 of file bpf.h.

#define DLT_IPFILTER   116

Definition at line 293 of file bpf.h.

#define DLT_IPMB   199

Definition at line 728 of file bpf.h.

#define DLT_IPMB_LINUX   209

Definition at line 779 of file bpf.h.

#define DLT_IS_NETBSD_RAWAF (   x)    (DLT_CLASS(x) == DLT_CLASS_NETBSD_RAWAF)

Definition at line 842 of file bpf.h.

#define DLT_JUNIPER_ATM1   137

Definition at line 407 of file bpf.h.

#define DLT_JUNIPER_ATM2   135

Definition at line 405 of file bpf.h.

#define DLT_JUNIPER_CHDLC   181

Definition at line 607 of file bpf.h.

#define DLT_JUNIPER_ES   132

Definition at line 402 of file bpf.h.

#define DLT_JUNIPER_ETHER   178

Definition at line 604 of file bpf.h.

#define DLT_JUNIPER_FRELAY   180

Definition at line 606 of file bpf.h.

#define DLT_JUNIPER_GGSN   133

Definition at line 403 of file bpf.h.

#define DLT_JUNIPER_ISM   194

Definition at line 695 of file bpf.h.

#define DLT_JUNIPER_MFR   134

Definition at line 404 of file bpf.h.

#define DLT_JUNIPER_MLFR   131

Definition at line 401 of file bpf.h.

#define DLT_JUNIPER_MLPPP   130

Definition at line 400 of file bpf.h.

#define DLT_JUNIPER_MONITOR   164

Definition at line 523 of file bpf.h.

#define DLT_JUNIPER_PIC_PEER   174

Definition at line 578 of file bpf.h.

#define DLT_JUNIPER_PPP   179

Definition at line 605 of file bpf.h.

#define DLT_JUNIPER_PPPOE   167

Definition at line 559 of file bpf.h.

#define DLT_JUNIPER_PPPOE_ATM   168

Definition at line 560 of file bpf.h.

#define DLT_JUNIPER_SERVICES   136

Definition at line 406 of file bpf.h.

#define DLT_JUNIPER_ST   200

Definition at line 735 of file bpf.h.

#define DLT_JUNIPER_VP   183

Definition at line 620 of file bpf.h.

#define DLT_LAPB_WITH_DIR   207 /* LAPB */

Definition at line 768 of file bpf.h.

#define DLT_LAPD   203

Definition at line 757 of file bpf.h.

#define DLT_LIN   212

Definition at line 799 of file bpf.h.

#define DLT_LINUX_IRDA   144

Definition at line 455 of file bpf.h.

#define DLT_LINUX_LAPD   177

Definition at line 595 of file bpf.h.

#define DLT_LINUX_PPP_WITHDIRECTION   DLT_PPP_PPPD

Definition at line 551 of file bpf.h.

#define DLT_LINUX_SLL   113

Definition at line 278 of file bpf.h.

#define DLT_LOOP   108

Definition at line 254 of file bpf.h.

#define DLT_LTALK   114

Definition at line 283 of file bpf.h.

#define DLT_MFR   182

Definition at line 612 of file bpf.h.

#define DLT_MOST   211

Definition at line 792 of file bpf.h.

#define DLT_MTP2   140 /* MTP2, without pseudo-header */

Definition at line 431 of file bpf.h.

#define DLT_MTP2_WITH_PHDR   139 /* pseudo-header with various info, followed by MTP2 */

Definition at line 430 of file bpf.h.

#define DLT_MTP3   141 /* MTP3, without pseudo-header or MTP2 */

Definition at line 432 of file bpf.h.

#define DLT_NETBSD_RAWAF (   af)    (DLT_CLASS_NETBSD_RAWAF | (af))

Definition at line 840 of file bpf.h.

#define DLT_NETBSD_RAWAF_AF (   x)    ((x) & 0x0000ffff)

Definition at line 841 of file bpf.h.

#define DLT_NULL   0 /* BSD loopback encapsulation */

Definition at line 128 of file bpf.h.

#define DLT_PCI_EXP   125 /* PCI Express */

Definition at line 361 of file bpf.h.

#define DLT_PFLOG   117

Definition at line 305 of file bpf.h.

#define DLT_PPI   192

Definition at line 681 of file bpf.h.

#define DLT_PPP   9 /* Point-to-point Protocol */

Definition at line 137 of file bpf.h.

#define DLT_PPP_BSDOS   16 /* BSD/OS Point-to-point Protocol */

Definition at line 170 of file bpf.h.

#define DLT_PPP_ETHER   51 /* PPP over Ethernet */

Definition at line 193 of file bpf.h.

#define DLT_PPP_PPPD   166

Definition at line 544 of file bpf.h.

#define DLT_PPP_SERIAL   50 /* PPP over serial with HDLC encapsulation */

Definition at line 192 of file bpf.h.

#define DLT_PPP_WITH_DIR   204 /* PPP - don't confuse with DLT_PPP_WITH_DIRECTION */

Definition at line 765 of file bpf.h.

#define DLT_PPP_WITH_DIRECTION   DLT_PPP_PPPD

Definition at line 550 of file bpf.h.

#define DLT_PRISM_HEADER   119

Definition at line 317 of file bpf.h.

#define DLT_PRONET   4 /* Proteon ProNET Token Ring */

Definition at line 132 of file bpf.h.

#define DLT_RAIF1   198

Definition at line 721 of file bpf.h.

#define DLT_RAW   12 /* raw IP */

Definition at line 154 of file bpf.h.

#define DLT_REDBACK_SMARTEDGE   32

Definition at line 185 of file bpf.h.

#define DLT_RIO   124 /* RapidIO */

Definition at line 360 of file bpf.h.

#define DLT_SCCP   142 /* SCCP, without pseudo-header or MTP2 or MTP3 */

Definition at line 433 of file bpf.h.

#define DLT_SITA   196

Definition at line 707 of file bpf.h.

#define DLT_SLIP   8 /* Serial Line IP */

Definition at line 136 of file bpf.h.

#define DLT_SLIP_BSDOS   15 /* BSD/OS Serial Line IP */

Definition at line 169 of file bpf.h.

#define DLT_SUNATM   123 /* Solaris+SunATM */

Definition at line 354 of file bpf.h.

#define DLT_SYMANTEC_FIREWALL   99

Definition at line 202 of file bpf.h.

#define DLT_TZSP   128 /* Tazmen Sniffer Protocol */

Definition at line 379 of file bpf.h.

#define DLT_USB   186

Definition at line 642 of file bpf.h.

#define DLT_USB_LINUX   189

Definition at line 660 of file bpf.h.

#define DLT_USER0   147

Definition at line 488 of file bpf.h.

#define DLT_USER1   148

Definition at line 489 of file bpf.h.

#define DLT_USER10   157

Definition at line 498 of file bpf.h.

#define DLT_USER11   158

Definition at line 499 of file bpf.h.

#define DLT_USER12   159

Definition at line 500 of file bpf.h.

#define DLT_USER13   160

Definition at line 501 of file bpf.h.

#define DLT_USER14   161

Definition at line 502 of file bpf.h.

#define DLT_USER15   162

Definition at line 503 of file bpf.h.

#define DLT_USER2   149

Definition at line 490 of file bpf.h.

#define DLT_USER3   150

Definition at line 491 of file bpf.h.

#define DLT_USER4   151

Definition at line 492 of file bpf.h.

#define DLT_USER5   152

Definition at line 493 of file bpf.h.

#define DLT_USER6   153

Definition at line 494 of file bpf.h.

#define DLT_USER7   154

Definition at line 495 of file bpf.h.

#define DLT_USER8   155

Definition at line 496 of file bpf.h.

#define DLT_USER9   156

Definition at line 497 of file bpf.h.

#define DLT_X2E_SERIAL   213

Definition at line 805 of file bpf.h.

#define DLT_X2E_XORAYA   214

Definition at line 811 of file bpf.h.

Typedef Documentation

typedef int bpf_int32

Definition at line 67 of file bpf.h.

typedef u_int bpf_u_int32

Definition at line 68 of file bpf.h.

Function Documentation

u_int bpf_filter ( )
int bpf_validate ( )


soem
Author(s): Arthur Ketels and M.J.G. van den Molengraft
autogenerated on Sat Jun 27 2020 03:48:21