Options
All
  • Public
  • Public/Protected
  • All
Menu

Enumeration MapFlags

Index

Enumeration members

CLONE = 512

Clone map from listener for newly accepted socket

INNER_MAP = 4096

Create a map that is suitable to be an inner map with dynamic max entries (since Linux 5.10)

MMAPABLE = 1024

Enable memory-mapping BPF map (since Linux 5.5)

NO_COMMON_LRU = 2

Instead of having one common LRU list in the BPF_MAP_TYPE_LRU_[PERCPU_]HASH map, use a percpu LRU list which can scale and perform better. Note, the LRU nodes (including free nodes) cannot be moved across different LRU lists.

NO_PREALLOC = 1

Don't preallocate map memory (since Linux 4.6; memory wasn't preallocated before)

NUMA_NODE = 4

Specify NUMA node during map creation (since Linux 4.15).

PRESERVE_ELEMS = 2048

Share perf_event among processes (since Linux 5.10)

RDONLY = 8

Flags for accessing BPF object from syscall side (since Linux 4.15).

RDONLY_PROG = 128

Flags for accessing BPF object from program side (since Linux 5.2).

STACK_BUILD_ID = 32

Flag for stack_map, store build_id+offset instead of pointer.

WRONLY = 16

Flags for accessing BPF object from syscall side (since Linux 4.15).

WRONLY_PROG = 256

Flags for accessing BPF object from program side (since Linux 5.2).

ZERO_SEED = 64

Zero-initialize hash function seed (since Linux 5.0). This should only be used for testing.

Generated using TypeDoc