diff options
author | Pablo Neira Ayuso | 2020-06-30 19:21:16 +0200 |
---|---|---|
committer | Pablo Neira Ayuso | 2020-07-04 01:18:41 +0200 |
commit | 837830a4b439bfeb86c70b0115c280377c84714b (patch) | |
tree | 9667e52b4a0850e65f55cdf647a635626304d252 /include/uapi | |
parent | 74cccc3d38438b346e40a4f8133cff3f0839ff84 (diff) |
netfilter: nf_tables: add NFTA_RULE_CHAIN_ID attribute
This new netlink attribute allows you to add rules to chains by the
chain ID.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/uapi')
-rw-r--r-- | include/uapi/linux/netfilter/nf_tables.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/netfilter/nf_tables.h b/include/uapi/linux/netfilter/nf_tables.h index 477779595b78..2304d1b7ba5e 100644 --- a/include/uapi/linux/netfilter/nf_tables.h +++ b/include/uapi/linux/netfilter/nf_tables.h @@ -240,6 +240,7 @@ enum nft_rule_attributes { NFTA_RULE_PAD, NFTA_RULE_ID, NFTA_RULE_POSITION_ID, + NFTA_RULE_CHAIN_ID, __NFTA_RULE_MAX }; #define NFTA_RULE_MAX (__NFTA_RULE_MAX - 1) |