diff --git a/chain.go b/chain.go index b2731aa..8b97bb1 100644 --- a/chain.go +++ b/chain.go @@ -73,6 +73,15 @@ const ( ChainTypeNAT ChainType = "nat" ) +// ChainPolicy defines what this chain default policy will be. +type ChainPolicy uint32 + +// Possible ChainPolicy values. +const ( + ChainPolicyDrop ChainPolicy = iota + ChainPolicyAccept +) + // A Chain contains Rules. See also // https://wiki.nftables.org/wiki-nftables/index.php/Configuring_chains type Chain struct {