Main Page | Modules | Data Structures | File List | Data Fields | Globals | Related Pages

# bpf_insn Struct Reference
[Packet.dll definitions and data structures]

A single BPF pseudo-instruction. More...

`#include <Packet32.h>`

## Data Fields
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.

## 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 133 of file Packet32.h.

## Field Documentation

USHORT code

| Instruction type and addressing mode. Definition at line 134 of file Packet32.h. Referenced by daemon_unpackapplyfilter(), and pcap_pack_bpffilter().

UCHAR jf

| Jump if false. Definition at line 136 of file Packet32.h.

UCHAR jt

| Jump if true. Definition at line 135 of file Packet32.h.

int k

| Generic field used for various purposes. Definition at line 137 of file Packet32.h.

The documentation for this struct was generated from the following file:

- Packet32.h

documentation. Copyright (c) 2002-2003 Politecnico di Torino. All rights reserved.