# `MaeBPF.Schema.MapSpec`
[🔗](https://github.com/cocoa-xu/MaeBPF/blob/v0.1.0/maebpf/lib/maebpf/schema.ex#L27)

Compiled BPF map specification capturing kernel geometry, key/value
schemas, and a deterministic SHA-256 layout fingerprint.

# `map_type`

```elixir
@type map_type() ::
  :hash
  | :array
  | :prog_array
  | :perf_event_array
  | :percpu_hash
  | :percpu_array
  | :stack_trace
  | :lru_hash
  | :lru_percpu_hash
  | :lpm_trie
  | :ringbuf
```

# `t`

```elixir
@type t() :: %MaeBPF.Schema.MapSpec{
  fingerprint: &lt;&lt;_::256&gt;&gt;,
  flags: non_neg_integer(),
  key: MaeBPF.Schema.t(),
  max_entries: pos_integer(),
  name: String.t(),
  type: map_type(),
  value: MaeBPF.Schema.t()
}
```

---

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