Wireshark 4.7.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
Public Attributes | List of all members
wtap_bpf_insn_s Struct Reference

Berkeley Packet Filter (BPF) instruction. More...

#include <wtap_opttypes.h>

Public Attributes

uint16_t code
 
uint8_t jt
 
uint8_t jf
 
uint32_t k
 

Detailed Description

Berkeley Packet Filter (BPF) instruction.

Represents a single BPF instruction used for packet filtering. Each instruction includes an opcode, jump targets, and a constant.

Member Data Documentation

◆ code

uint16_t wtap_bpf_insn_s::code

BPF opcode.

◆ jf

uint8_t wtap_bpf_insn_s::jf

Jump target if false.

◆ jt

uint8_t wtap_bpf_insn_s::jt

Jump target if true.

◆ k

uint32_t wtap_bpf_insn_s::k

Constant or offset.


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