Main Page | Modules | Class List | Directories | File List | Class Members | File Members | Related Pages

bpf_insn Struct Reference
[Definitions and data structuresDefinitions and data structures]

A single BPF pseudo-instruction. More...

#include <PACKET32.H>

List of all members.

Public Attributes

USHORT code
 Instruction type and addressing mode.
UCHAR jt
 Jump if true.
UCHAR jf
 Jump if false.
int k
 Generic field used for various purposes.
u_short code
u_char jt
u_char jf
bpf_int32 k


Detailed Description

A single BPF pseudo-instruction.

bpf_insn contains a single instruction for the BPF register-machine. It is used to send a filter program to the driver.

Definition at line 108 of file PACKET32.H.


Member Data Documentation

u_short bpf_insn::code
 

Definition at line 656 of file pcap-bpf.h.

u_short bpf_insn::code
 

Instruction type and addressing mode.

Definition at line 656 of file pcap-bpf.h.

u_char bpf_insn::jf
 

Definition at line 658 of file pcap-bpf.h.

u_char bpf_insn::jf
 

Jump if false.

Definition at line 658 of file pcap-bpf.h.

u_char bpf_insn::jt
 

Definition at line 657 of file pcap-bpf.h.

u_char bpf_insn::jt
 

Jump if true.

Definition at line 657 of file pcap-bpf.h.

bpf_int32 bpf_insn::k
 

Definition at line 659 of file pcap-bpf.h.

bpf_int32 bpf_insn::k
 

Generic field used for various purposes.

Definition at line 659 of file pcap-bpf.h.


The documentation for this struct was generated from the following files:
Generated on Sun May 14 14:51:32 2006 by  doxygen 1.4.2