From 1a829ec0c3285baac712352c3a046a4f76013e70 Mon Sep 17 00:00:00 2001 From: Phil Sutter Date: Thu, 6 Dec 2018 17:17:52 +0100 Subject: 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 Signed-off-by: Pablo Neira Ayuso --- src/libnftnl.map | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/libnftnl.map') 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; -- cgit v1.2.3