Macros§
- ebpf_
program_ context_ type - Macro used to declare program type for a
EbpfProgramContextimplementation. ImplementsStaticHelperSettrait for the context type.
Structs§
- BpfType
Filter - Ebpf
Helper Definition - Map
- A BPF map. This is a hashtable that can be accessed both by BPF programs and userspace.
- Pinned
Map - Maps are normally kept pinned in memory since linked eBPF programs store direct pointers to the maps they depend on.
- __
sk_ buff
Enums§
- Attach
Type - Ebpf
ApiError - Load
Bytes Base - MapError
- MapValue
Ref - Program
Type - The different type of BPF programs.
Constants§
- BPF_
MAP_ TYPE_ HASH - BPF_
PROG_ TYPE_ FUSE - RINGBUF_
SIGNAL - SECCOMP_
CBPF_ CONFIG - SKF_
AD_ ALU_ XOR_ X - SKF_
AD_ CPU - SKF_
AD_ HATYPE - SKF_
AD_ IFINDEX - SKF_
AD_ MARK - SKF_
AD_ MAX - SKF_
AD_ NLATTR - SKF_
AD_ NLATTR_ NEST - SKF_
AD_ OFF - SKF_
AD_ PAY_ OFFSET - SKF_
AD_ PKTTYPE - SKF_
AD_ PROTOCOL - SKF_
AD_ QUEUE - SKF_
AD_ RANDOM - SKF_
AD_ RXHASH - SKF_
AD_ VLAN_ TAG - SKF_
AD_ VLAN_ TAG_ PRESENT - SKF_
AD_ VLAN_ TPID - SKF_
LL_ OFF - SKF_
NET_ OFF - SOCKET_
FILTER_ CBPF_ CONFIG
Statics§
- BPF_
SOCKOPT_ ARGS - BPF_
SOCKOPT_ ID - BPF_
SOCKOPT_ TYPE - BPF_
SOCK_ ADDR_ ID - BPF_
SOCK_ ADDR_ INET4_ ARGS - BPF_
SOCK_ ADDR_ INET4_ TYPE - BPF_
SOCK_ ADDR_ INET6_ ARGS - BPF_
SOCK_ ADDR_ INET6_ TYPE - BPF_
SOCK_ ADDR_ TYPE - BPF_
SOCK_ ARGS - BPF_
SOCK_ ID - BPF_
SOCK_ TYPE - BPF_
USER_ PT_ REGS_ T_ ARGS - BPF_
USER_ PT_ REGS_ T_ ID - CGROUP_
SKB_ ARGS - CGROUP_
SKB_ SK_ BUF_ TYPE - Type for the
__sk_buffpassed toBPF_PROG_TYPE_CGROUP_SKBprograms. - SCHED_
ARGS - SCHED_
ARG_ TYPE - Type for the
__sk_buffpassed toBPF_PROG_TYPE_SCHED_CLSandBPF_PROG_TYPE_SCHED_ACTprograms. - SK_
BUF_ ID - SOCKET_
FILTER_ ARGS - SOCKET_
FILTER_ SK_ BUF_ TYPE - Type for the
__sk_buffpassed toBPF_PROG_TYPE_SOCKET_FILTERprograms.
Traits§
- Cgroup
SkbProgram Context - Cgroup
Sock Addr Program Context - Cgroup
Sock OptProgram Context - Cgroup
Sock Program Context - Current
Task Context - Current
Task Program Context - Maps
Context - Maps
Program Context - Packet
With Load Bytes - SkbLoad
Bytes Program Context - Socket
Cookie Context - Socket
Cookie Program Context - Socket
Filter Program Context - Socket
UidContext - Socket
UidProgram Context