aboutsummaryrefslogtreecommitdiffstats
path: root/radix-trie.h
diff options
context:
space:
mode:
Diffstat (limited to 'radix-trie.h')
-rw-r--r--radix-trie.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/radix-trie.h b/radix-trie.h
index 6ffaccf..9475cdb 100644
--- a/radix-trie.h
+++ b/radix-trie.h
@@ -21,6 +21,9 @@ void ipp_free(struct ip_pool *pool);
int ipp_add_v4(struct ip_pool *pool, const struct in_addr *ip, uint8_t cidr);
int ipp_add_v6(struct ip_pool *pool, const struct in6_addr *ip, uint8_t cidr);
+int ipp_del_v4(struct ip_pool *pool, const struct in_addr *ip, uint8_t cidr);
+int ipp_del_v6(struct ip_pool *pool, const struct in6_addr *ip, uint8_t cidr);
+
uint32_t ipp_gettotal_v4(struct ip_pool *pool);
uint64_t ipp_gettotal_v6(struct ip_pool *pool, uint32_t *high);