diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/libnftnl/expr.h | 4 | ||||
-rw-r--r-- | include/linux/netfilter/nf_tables.h | 12 |
2 files changed, 16 insertions, 0 deletions
diff --git a/include/libnftnl/expr.h b/include/libnftnl/expr.h index cb2e8a3..9487b02 100644 --- a/include/libnftnl/expr.h +++ b/include/libnftnl/expr.h @@ -184,6 +184,10 @@ enum { NFTNL_EXPR_DUP_SREG_DEV, }; +enum { + NFTNL_EXPR_FWD_SREG_DEV = NFTNL_EXPR_BASE, +}; + /* * Compat */ diff --git a/include/linux/netfilter/nf_tables.h b/include/linux/netfilter/nf_tables.h index b491966..b250799 100644 --- a/include/linux/netfilter/nf_tables.h +++ b/include/linux/netfilter/nf_tables.h @@ -986,6 +986,18 @@ enum nft_dup_attributes { #define NFTA_DUP_MAX (__NFTA_DUP_MAX - 1) /** + * enum nft_fwd_attributes - nf_tables fwd expression netlink attributes + * + * @NFTA_FWD_SREG_DEV: output interface name (NLA_U32: nft_register) + */ +enum nft_fwd_attributes { + NFTA_FWD_UNSPEC, + NFTA_FWD_SREG_DEV, + __NFTA_FWD_MAX +}; +#define NFTA_FWD_MAX (__NFTA_FWD_MAX - 1) + +/** * enum nft_gen_attributes - nf_tables ruleset generation attributes * * @NFTA_GEN_ID: Ruleset generation ID (NLA_U32) |