projects
/
project
/
firewall3.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use netmasks instead of prefix lengths internally
[project/firewall3.git]
/
utils.h
diff --git
a/utils.h
b/utils.h
index
cd478f9
..
d2e1aa6
100644
(file)
--- a/
utils.h
+++ b/
utils.h
@@
-95,4
+95,8
@@
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