#include <sys/stat.h>
#include <sys/wait.h>
#include <sys/file.h>
+#include <sys/types.h>
+#include <ifaddrs.h>
#include <libubox/list.h>
#include <uci.h>
void fw3_free_object(void *obj, const void *opts);
-
-struct fw3_rule_spec {
- int family;
- int table;
- int flag;
- const char *format;
-};
+void fw3_free_list(struct list_head *head);
bool fw3_hotplug(bool add, void *zone, void *device);
+int fw3_netmask2bitlen(int family, void *mask);
+
+bool fw3_bitlen2netmask(int family, int bits, void *mask);
+
+void fw3_flush_conntrack(void *zone);
+
#endif