# maebpf_c v0.1.0 - API Reference

## Modules

- [MaeBPF.Compiler.C](MaeBPF.Compiler.C.md): C CO-RE eBPF compiler implementing `@behaviour MaeBPF.Compiler` for
`use MaeBPFC` modules and direct `{:c, source}` compilation.
- [MaeBPFC](MaeBPFC.md): C CO-RE eBPF compiler, `use MaeBPFC` DSL, `~BPFC` inline C sigil, static BPF
object linker, and `MaeBPFC.Plugs.TLSSNI` companion package for `:maebpf`.
- [MaeBPFC.Codegen](MaeBPFC.Codegen.md): Lowers a structured `%MaeBPF.IR.Module{}` (built-in `MaeBPF.Plugs.*`,
`MaeBPFC.Plugs.TLSSNI`, `global/3`, `c_preamble/1`, and `~BPFC"""..."""`
inline C blocks) into clean, warning-free C CO-RE eBPF source.
- [MaeBPFC.InlineC](MaeBPFC.InlineC.md): Compile-time representation of an inline C eBPF snippet created by
`~BPFC"""..."""` (`MaeBPFC.Sigils.sigil_BPFC/2`).
- [MaeBPFC.Plugs.InlineC](MaeBPFC.Plugs.InlineC.md): `MaeBPF.Plug` wrapper for inline eBPF C blocks.
- [MaeBPFC.Plugs.TLSSNI](MaeBPFC.Plugs.TLSSNI.md): C CO-RE TLS ClientHello SNI filter (`bpf_iter_num` up to 64 extensions,
IPv4 + IPv6, 802.1Q/802.1ad VLANs, ECH detection, optional `tproxy_port`
punt for split PQ `ClientHello` reassembly, reversed-FQDN `LPM_TRIE`, and
5-tuple `LRU_HASH` flow cache) for `use MaeBPFC` `tcx` and `cgroup` hooks.
- [MaeBPFC.Sigils](MaeBPFC.Sigils.md): Sigil macros for embedding inline eBPF C blocks inside `use MaeBPFC` modules.

