summaryrefslogtreecommitdiffstats
path: root/src/libnftnl.map
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2018-12-06 17:17:52 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2018-12-07 10:49:27 +0100
commit1a829ec0c3285baac712352c3a046a4f76013e70 (patch)
treeaacbefd74443dd07d82aaf095f99d23b999383d2 /src/libnftnl.map
parente33798478176f97edf2649cd61444e0375fdc12b (diff)
chain: Add lookup functions for chain list and rules in chain
For now, these lookup functions simply iterate over the linked list until they find the right entry. In future, they may make use of more optimized data structures behind the curtains. Signed-off-by: Phil Sutter <phil@nwl.cc> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/libnftnl.map')
-rw-r--r--src/libnftnl.map3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libnftnl.map b/src/libnftnl.map
index 96d5b5f..0d3be32 100644
--- a/src/libnftnl.map
+++ b/src/libnftnl.map
@@ -345,4 +345,7 @@ LIBNFTNL_12 {
nftnl_rule_iter_create;
nftnl_rule_iter_next;
nftnl_rule_iter_destroy;
+
+ nftnl_chain_list_lookup_byname;
+ nftnl_rule_lookup_byindex;
} LIBNFTNL_11;