summaryrefslogtreecommitdiffstats
path: root/include/iface.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/iface.h')
-rw-r--r--include/iface.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/iface.h b/include/iface.h
index f41ee8be..786b1dfc 100644
--- a/include/iface.h
+++ b/include/iface.h
@@ -2,6 +2,7 @@
#define _NFTABLES_IFACE_H_
#include <net/if.h>
+#include <list.h>
struct iface {
struct list_head list;
@@ -15,4 +16,5 @@ char *nft_if_indextoname(unsigned int ifindex, char *name);
void iface_cache_update(void);
void iface_cache_release(void);
+const struct iface *iface_cache_get_next_entry(const struct iface *prev);
#endif