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

# rpcap_filter Struct Reference
[Internal Structures and Definitions]

General header used for the pcap_setfilter() command; keeps just the number of BPF instructions. More...

`#include <pcap-remote.h>`

## Data Fields
uint16 | filtertype
| type of the filter transferred (BPF instructions, ...)
uint16 | dummy
| Must be zero.
uint32 | nitems
| Number of items contained into the filter (e.g. BPF instructions for BPF filters).

## Detailed Description

General header used for the pcap_setfilter() command; keeps just the number of BPF instructions.

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

## Field Documentation

uint16 dummy

| Must be zero. Definition at line 232 of file pcap-remote.h.

uint16 filtertype

| type of the filter transferred (BPF instructions, ...) Definition at line 231 of file pcap-remote.h. Referenced by pcap_pack_bpffilter().

uint32 nitems

| Number of items contained into the filter (e.g. BPF instructions for BPF filters). Definition at line 233 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.