# Packages
Buildversion is a destination for the linker trickery so we can auto set the build-version.
# Functions
ClearChain idempotently clear the iptables rules in the specified table/chain.
DeleteChain idempotently deletes the specified table/chain.
DeleteConntrackEntriesForDstIP delete the conntrack entries for the connections specified by the given destination IP and protocol.
DeleteConntrackEntriesForDstPort delete the conntrack entries for the connections specified by the given destination port, protocol and IP family.
DeleteRule idempotently delete the iptables rule in the specified table/chain.
EnsureChain idempotently creates the iptables chain.
FormatChainName generates a chain name to be used with iptables.
FormatComment returns a comment used for easier rule identification within iptables.
InsertUnique will add a rule to a chain if it does not already exist.
MustFormatChainNameWithPrefix generates a chain name similar to FormatChainName, but adds a custom prefix between chainPrefix and unique identifier.
MustFormatHashWithPrefix returns a string of given length that begins with the given prefix.
SupportsIPTables tests whether the system supports using netfilter via the iptables API (whether via "iptables-legacy" or "iptables-nft").
SupportsNFTables tests whether the system supports using netfilter via the nftables API (ie, not via "iptables-nft").
# Constants
Assigned Internet Protocol Numbers https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml.
Assigned Internet Protocol Numbers https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml.
Assigned Internet Protocol Numbers https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml.