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

     1  // Copyright 2022 Liuxiangchao iwind.liu@gmail.com. All rights reserved.
     2  //go:build linux
     3  
     4  package nftables
     5  
     6  import (
     7  	nft "github.com/google/nftables"
     8  )
     9  
    10  type TableFamily = nft.TableFamily
    11  
    12  const (
    13  	TableFamilyINet   TableFamily = nft.TableFamilyINet
    14  	TableFamilyIPv4   TableFamily = nft.TableFamilyIPv4
    15  	TableFamilyIPv6   TableFamily = nft.TableFamilyIPv6
    16  	TableFamilyARP    TableFamily = nft.TableFamilyARP
    17  	TableFamilyNetdev TableFamily = nft.TableFamilyNetdev
    18  	TableFamilyBridge TableFamily = nft.TableFamilyBridge
    19  )