diff --git a/pkg/abi/linux/netfilter.go b/pkg/abi/linux/netfilter.go index 0ac5d67df..d5ddf1199 100644 --- a/pkg/abi/linux/netfilter.go +++ b/pkg/abi/linux/netfilter.go @@ -33,6 +33,18 @@ const ( NF_INET_NUMHOOKS = 5 ) +// Protocol families (address families). These correspond to values in +// include/uapi/linux/netfilter.h. +const ( + NFPROTO_UNSPEC = 0 + NFPROTO_INET = 1 + NFPROTO_IPV4 = 2 + NFPROTO_ARP = 3 + NFPROTO_NETDEV = 5 + NFPROTO_BRIDGE = 7 + NFPROTO_IPV6 = 10 +) + // Verdicts that can be returned by targets. These correspond to values in // include/uapi/linux/netfilter.h const (