Modules§
Constants§
- NFT_
DEFAULT_ PROGRAM - The default “nft” program used via PATH lookup.
Functions§
- apply_
ruleset - Apply the given Nftables ruleset, optionally overriding which “nft” binary to use and adding extra arguments.
- apply_
ruleset_ raw - Apply the given ruleset as a String payload instead of an Nftables reference.
- get_
current_ ruleset - Get the current ruleset as Nftables via, optionally overriding which “nft” binary to use and what extra arguments to pass.
- get_
current_ ruleset_ raw - Get the current ruleset as a String payload instead of an Nftables instance.