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

Typed IR operation emitted by a `MaeBPF.Plug` or DSL statement.

# `op_kind`

```elixir
@type op_kind() ::
  :drop_invalid
  | :match_l4_port
  | :blocklist_lookup
  | :tls_sni
  | :tls_sni_c
  | :inline_c
  | :count_packets
  | :count_tracepoint
  | :emit_ringbuf
  | :scope
  | :alloc_stack
  | :return
```

# `t`

```elixir
@type t() :: %MaeBPF.IR.Op{
  args: map(),
  desc: String.t() | nil,
  file: String.t() | nil,
  line: non_neg_integer() | nil,
  op: op_kind(),
  plug: module() | nil,
  plug_id: non_neg_integer(),
  stack_bytes: non_neg_integer()
}
```

---

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