Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyConfig ¶
ApplyConfig applies the given nftables config on the system. The system is expected to have the `nft` executable deployed and nftables enabled in the kernel.
func ApplyConfigEcho ¶ added in v0.4.0
ApplyConfigEcho applies the given nftables config on the system, echoing back the added elements with their assigned handles The system is expected to have the `nft` executable deployed and nftables enabled in the kernel.
func ReadConfig ¶
ReadConfig loads the nftables configuration from the system and returns it as a nftables config structure. The system is expected to have the `nft` executable deployed and nftables enabled in the kernel.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.