# Functions
AddDestinationNatRewriteRules destination rewrite rule for the traffic arriving on a specific port.
AddDestinationNatRules creates destination NAT rules.
AddFilterForwardMappedPortRules adds a set of rules in forwarding chain of filter table.
AddFilterForwardRules adds a set of rules in forwarding chain of filter table.
AddPostRoutingRules adds a set of rules in postrouting chain of nat table.
CreateChain creates NAT chain of a specific type.
CreateFilterForwardChain creates forward chain in filter table.
CreateJumpRule create a jump rule from one chain to another.
CreateNatInputChain creates an input chain in nat table.
CreateNatOutputChain creates an output chain in nat table.
CreateNatPostRoutingChain creates a postrouting chain in nat table.
CreateNatPreRoutingChain creates a prerouting chain in nat table.
CreateRawPreRoutingChain creates a prerouting chain in raw table.
CreateTable creates a table.
DeleteChain deletes a particular chain.
DeleteJumpRule deletes the chain jumping rule.
EncodeInterfaceName returns null-terminated string for netlink communication.
GetChainName returns nftables chain name based on the provided namespace and interface.
GetChainProps returns the rules and other properties of a particular chain.
GetJumpRule return information about a specific jump rule.
GetTestContainerID returns the name for a test container.
IsChainExists checks whether a chain exists.
IsTableExist checks whether a table exists.
LoadDataFromFilePath returns the content of a file based on the provided file path.
RemoveFilterForwardMappedPortRules removes a set of rules in forwarding chain of filter table.
# Structs
ChainInfo holds the rules of a particular chain.
MappingEntry holds the port mapping configuration.