Modules
Managed Atomic eBPF (maeBPF): zero-clang pure-Elixir eBPF compilation,
compile-time fused MaeBPF.Plug pipelines, state-preserving atomic
BPF_LINK_UPDATE hot-swapping, and zero-polling enif_select ring buffer
streaming for Elixir/BEAM.
Behaviour for eBPF compiler backends invoked by use MaeBPF, compiler: Module.
Zero-clang pure-Elixir eBPF ISA v3 + ELF64 + .BTF + .BTF.ext compiler.
Unified compile-time DSL backing use MaeBPF.
Source-mapped Linux eBPF verifier error diagnostics.
Pure-Elixir eBPF ISA v3 disassembler for raw instruction binaries, compiled
ELF64 (EM_BPF) objects, and use MaeBPF modules.
BTF-driven pre-load patching and post-load read/write access for eBPF
.rodata, .data, and .bss global variables.
Typed BPF map definition inside %MaeBPF.IR.Module{}.
Root IR container representing a multi-program, multi-map eBPF ELF object.
Typed IR operation emitted by a MaeBPF.Plug or DSL statement.
Typed eBPF program entry inside %MaeBPF.IR.Module{}.
Attachment, atomic program hot-swap, iterator reads, introspection, and
teardown of kernel bpf_link resources.
Operations on eBPF maps belonging to a loaded object or opened from bpffs
via open_pinned/1, including native per-CPU map lookups and updates.
Transactional live hot-swap map migration planner and executor.
Validated migration plan produced by MaeBPF.Migration.plan/3.
Ethernet, IPv4, UDP, and TCP packet builders plus IPv4, CIDR, LPM key, and 16-byte packed RingBuf event codecs.
Compile-time behaviour for composable, zero-runtime-overhead eBPF pipeline plugs.
Looks up the packet's IPv4 source (or destination) address against a
module-level exact IPv4 map (:hash / :lru_hash, 4-byte key) or CIDR
longest-prefix-match map (:lpm_trie, 8-byte
<<32::32-little, ipv4::32-big>> key).
Increments a :percpu_array (lock-free) or :array (atomic) counter map at
slot 0 (configurable via :slot), and optionally accumulates packet byte
length (data_end - data) at slot 1 (configurable via :byte_slot).
Increments a :percpu_array (lock-free) or :array (atomic) counter map on
every kernel tracepoint invocation inside a trace hook block.
Drops frames shorter than 14 bytes (Ethernet header) or malformed IPv4
packets (ethertype == 0x0800 with fewer than 34 bytes or ihl < 5).
Drops IPv4 TCP packets matching one or more destination or source ports.
Drops IPv4 UDP packets matching one or more destination or source ports.
Passes IPv4 TCP packets matching one or more destination or source ports.
Passes IPv4 UDP packets matching one or more destination or source ports.
Emits a compact 16-byte packed event into a declared RingBuf stream
Pure-Elixir, zero-clang TLS ClientHello SNI domain filter for tcx and
cgroup_skb hooks.
Host kernel capability probing, privilege inspection, and human-readable feature diagnostics for Linux eBPF environments.
Zero-polling BPF_MAP_TYPE_RINGBUF consumer backed by ring_buffer__epoll_fd
and BEAM enif_select.
Single-source-of-truth schema compilation, packed binary codecs, endianness conversion, and map geometry compatibility checks for eBPF maps, events, and global variables.
Compiled BPF map specification capturing kernel geometry, key/value schemas, and a deterministic SHA-256 layout fingerprint.
OTP GenServer owning a live eBPF object, single or multi-hook bpf_link
attachments, optional enif_select ring buffer streaming, live zero-downtime
debug tracing, transactional map migration, and optional kernel runtime stats.
Pure-Elixir macOS and Linux simulator for MaeBPF.IR pipelines.
Standard OTP Supervisor managing one or more MaeBPF policy workers.
Ergonomic target validation and resolution for MaeBPF kernel attachments.
Live kernel BPF introspection and BPF_STATS_RUN_TIME telemetry controls.
Dual-mode testing harness comparing pure-Elixir IR simulation (MaeBPF.Sim)
against live Linux kernel BPF_PROG_TEST_RUN (MaeBPF.TestRun).
Direct Linux BPF_PROG_TEST_RUN execution for loaded eBPF programs.