| Wireshark 4.7.3 The Wireshark network protocol analyzer

Loading...
Searching...
No Matches
Public Attributes | List of all members
packet_verdict_opt_s Struct Reference

Packet verdict option value, carrying a type-tagged verdict from the capture source. More...

`#include <wtap_opttypes.h>`

## Public Attributes
packet_verdict_type_e | type
union { |
GByteArray * verdict_bytes |
uint64_t verdict_linux_ebpf_tc |
uint64_t verdict_linux_ebpf_xdp |
} | data

## Detailed Description

Packet verdict option value, carrying a type-tagged verdict from the capture source.

## Member Data Documentation

## ◆ [union]

union { ... } packet_verdict_opt_s::data

Verdict payload; active member selected by `type`.

## ◆ type

packet_verdict_type_e packet_verdict_opt_s::type

Encoding type of the verdict; selects the active `data` member.

## ◆ verdict_bytes

GByteArray* packet_verdict_opt_s::verdict_bytes

Raw hardware verdict bytes (when `type` == `packet_verdict_hardware`).

## ◆ verdict_linux_ebpf_tc

uint64_t packet_verdict_opt_s::verdict_linux_ebpf_tc

Linux eBPF TC action value (when `type` == `packet_verdict_linux_ebpf_tc`).

## ◆ verdict_linux_ebpf_xdp

uint64_t packet_verdict_opt_s::verdict_linux_ebpf_xdp

Linux eBPF XDP action value (when `type` == `packet_verdict_linux_ebpf_xdp`).

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

- /builds/wireshark/wireshark/wiretap/wtap_opttypes.h