AF_Packet NamespaceΒΆ

Namespace: AF_Packet.

class zlogging.enum.af_packet.ChecksumMode(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)[source]

Bases: IntFlag

Enum: AF_Packet::ChecksumMode.

Available checksum validation modes.

CHECKSUM_OFF = 1

Ignore checksums, i.e. always assume they are correct.

CHECKSUM_ON = 2

Let Zeek compute and verify checksums.

CHECKSUM_KERNEL = 4

Let the kernel handle checksum offloading. Note: Semantics may depend on the kernel and driver version.

static _generate_next_value_(name, start, count, last_values)

Generate the next value when not given.

name: the name of the member start: the initial start value or None count: the number of existing members last_values: the last value assigned or None

class zlogging.enum.af_packet.FanoutMode(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)[source]

Bases: IntFlag

Enum: AF_Packet::FanoutMode.

Available fanout modes.

FANOUT_HASH = 1
FANOUT_CPU = 2
FANOUT_QM = 4
FANOUT_CBPF = 8
FANOUT_EBPF = 16
static _generate_next_value_(name, start, count, last_values)

Generate the next value when not given.

name: the name of the member start: the initial start value or None count: the number of existing members last_values: the last value assigned or None