From 20e0e8f2bec3b06ba5d77ec17d8e635750f4c085 Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Wed, 24 Jun 2020 16:27:00 +0200 Subject: src: add support for chain ID attribute his patch allows you to refer to chains via the chain ID. The semantics are similar to the NFTA_RULE_ID attribute. Signed-off-by: Pablo Neira Ayuso --- include/libnftnl/expr.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/libnftnl/expr.h') diff --git a/include/libnftnl/expr.h b/include/libnftnl/expr.h index cfe456d..dcbcf5c 100644 --- a/include/libnftnl/expr.h +++ b/include/libnftnl/expr.h @@ -98,6 +98,7 @@ enum { NFTNL_EXPR_IMM_DATA, NFTNL_EXPR_IMM_VERDICT, NFTNL_EXPR_IMM_CHAIN, + NFTNL_EXPR_IMM_CHAIN_ID, }; enum { -- cgit v1.2.3