# \#bpf

**URL:** https://forum.elixirforum.com/tag/bpf/4836.md

[Latest](https://forum.elixirforum.com/latest.md) · [Categories](https://forum.elixirforum.com/categories.md) · [Tags](https://forum.elixirforum.com/tags.md)

---

## [BPF - Convert binary pattern matching to classic BPF programs](https://forum.elixirforum.com/t/bpf-convert-binary-pattern-matching-to-classic-bpf-programs/73888)

<div class="topic-metadata">

**Author:** [@ausimian](https://forum.elixirforum.com/u/ausimian)\
**Replies:** 6\
**Last updated:** [January 7, 2026, 4:05pm UTC](https://forum.elixirforum.com/t/bpf-convert-binary-pattern-matching-to-classic-bpf-programs/73888 "2026-01-07T16:05:33Z")

</div>

I just pushed a library called BPF that converts binary pattern matching expressions into (classic) BPF (Berkeley Packet Filter) programs that you can use with SO\_ATTACHFILTER or libpcap. There’s also an interpreter that…
