summaryrefslogtreecommitdiffstats
path: root/include/data_reg.h
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2020-06-24 16:27:00 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2020-07-21 02:34:29 +0200
commit20e0e8f2bec3b06ba5d77ec17d8e635750f4c085 (patch)
tree3b0ea888c0d2f7a3d58745ff368029564858be9e /include/data_reg.h
parenteedafeb6db330b8adff1b7cdd3dac325f9144195 (diff)
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 <pablo@netfilter.org>
Diffstat (limited to 'include/data_reg.h')
-rw-r--r--include/data_reg.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/data_reg.h b/include/data_reg.h
index 10517ba..d9578aa 100644
--- a/include/data_reg.h
+++ b/include/data_reg.h
@@ -21,6 +21,7 @@ union nftnl_data_reg {
struct {
uint32_t verdict;
const char *chain;
+ uint32_t chain_id;
};
};