github.com/TeaOSLab/EdgeNode@v1.3.8/internal/firewalls/nftables/chain_policy.go (about)

     1  // Copyright 2022 Liuxiangchao iwind.liu@gmail.com. All rights reserved.
     2  //go:build linux
     3  
     4  package nftables
     5  
     6  import nft "github.com/google/nftables"
     7  
     8  type ChainPolicy = nft.ChainPolicy
     9  
    10  // Possible ChainPolicy values.
    11  const (
    12  	ChainPolicyDrop   = nft.ChainPolicyDrop
    13  	ChainPolicyAccept = nft.ChainPolicyAccept
    14  )