nftables/internal/nf2go
Antonio Ojea 3d223a54e6 nf2go: convert nftables rules to golang code
One of the biggest barriers to adopt the netlink format for nftables is
the complexity of writing bytecode.

This commits adds a tool that allows to take an nftables dump and
generate the corresponding golang code and validating that the generated
code produces the exact same output.

Change-Id: I491b35e0d8062de33c67091dd4126d843b231838
Signed-off-by: Antonio Ojea <aojea@google.com>
2025-02-02 15:55:41 +00:00
..
main.go nf2go: convert nftables rules to golang code 2025-02-02 15:55:41 +00:00
rules.txt nf2go: convert nftables rules to golang code 2025-02-02 15:55:41 +00:00
rules_simple.txt nf2go: convert nftables rules to golang code 2025-02-02 15:55:41 +00:00