# `MaeBPF.IR.Program`
[🔗](https://github.com/cocoa-xu/MaeBPF/blob/v0.1.0/maebpf/lib/maebpf/ir.ex#L147)

Typed eBPF program entry inside `%MaeBPF.IR.Module{}`.

# `hook`

```elixir
@type hook() ::
  :xdp
  | {:tcx, :ingress | :egress}
  | {:cgroup_skb, :ingress | :egress}
  | {:tracepoint, String.t()}
```

# `t`

```elixir
@type t() :: %MaeBPF.IR.Program{
  c_name: String.t(),
  default_action: atom(),
  hook: hook(),
  meta: map(),
  name: atom(),
  ops: [MaeBPF.IR.Op.t()],
  section: String.t()
}
```

---

*Consult [api-reference.md](api-reference.md) for complete listing*
