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

# rpcap_filterbpf_insn Struct Reference
[Internal Structures and Definitions]

Structure that keeps a single BPF instuction; it is repeated 'ninsn' times according to the 'rpcap_filterbpf' header. More...

`#include <pcap-remote.h>`

## Data Fields
uint16 | code
| opcode of the instuction
uint8 | jt
| relative offset to jump to in case of 'true'
uint8 | jf
| relative offset to jump to in case of 'false'
int32 | k
| instruction-dependent value

## Detailed Description

Structure that keeps a single BPF instuction; it is repeated 'ninsn' times according to the 'rpcap_filterbpf' header.

Definition at line 236 of file pcap-remote.h.

## Field Documentation

uint16 code

| opcode of the instuction Definition at line 238 of file pcap-remote.h. Referenced by pcap_pack_bpffilter().

uint8 jf

| relative offset to jump to in case of 'false' Definition at line 240 of file pcap-remote.h. Referenced by pcap_pack_bpffilter().

uint8 jt

| relative offset to jump to in case of 'true' Definition at line 239 of file pcap-remote.h. Referenced by pcap_pack_bpffilter().

int32 k

| instruction-dependent value Definition at line 241 of file pcap-remote.h. Referenced by pcap_pack_bpffilter().

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

- pcap-remote.h

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