package
0.3.0
Repository: https://github.com/google/nftables.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
Diff returns the first difference between the specified netlink messages and the expected netlink message payloads.
MatchRulesetBytes is a test helper that ensures the fillRuleset modifications correspond to the provided want netlink message payloads.
NewRecorder returns a ready-to-use Recorder.
OpenSystemConn returns a netlink connection that tests against the running kernel in a separate network namespace.

# Structs

Recorder provides an nftables connection that does not send to the Linux kernel but instead records netlink messages into the recorder.