History

netfilter: nf_tables: add NFTA_VERDICT_CHAIN_ID attribute

This netlink attribute allows you to identify the chain to jump/goto by means of the chain ID.

Pablo Neira Ayuso committed 6 years ago

Commit 51d70f11 parent 837830a2 files · +15 −3Browse files

Showing the changes to include/uapi (1 of 2 files). Show all

Unified · Split

include/uapi/linux/netfilter/nf_tables.h+2−0
@@ -471,11 +471,13 @@ enum nft_data_attributes { · 470 unmodified lines
471471 *
472472 * @NFTA_VERDICT_CODE: nf_tables verdict (NLA_U32: enum nft_verdicts)
473473 * @NFTA_VERDICT_CHAIN: jump target chain name (NLA_STRING)
474+ * @NFTA_VERDICT_CHAIN_ID: jump target chain ID (NLA_U32)
474475 */
475476 enum nft_verdict_attributes {
476477 NFTA_VERDICT_UNSPEC,
477478 NFTA_VERDICT_CODE,
478479 NFTA_VERDICT_CHAIN,
480+ NFTA_VERDICT_CHAIN_ID,
479481 __NFTA_VERDICT_MAX
480482 };
481483 #define NFTA_VERDICT_MAX (__NFTA_VERDICT_MAX - 1)