zones: make forward policy destination bound
[project/firewall3.git] / utils.h
diff --git a/utils.h b/utils.h
index 42dac7333541c31a3acb002fe087eed8e92c3630..d2e1aa68e8eacc9b8d196b83d89a55a102e6c9bd 100644 (file)
--- a/utils.h
+++ b/utils.h
@@ -91,14 +91,12 @@ void fw3_write_statefile(void *state);
 
 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);
+
 #endif