projects
/
project
/
firewall3.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
helpers: implement explicit CT helper assignment support
[project/firewall3.git]
/
utils.h
diff --git
a/utils.h
b/utils.h
index 9a716aec1a9dd8dc03fff00aeaf4cb9d304a1c5c..c8ab0e5b0b91d82884880a6f8e528647279a08a1 100644
(file)
--- a/
utils.h
+++ b/
utils.h
@@
-30,6
+30,7
@@
#include <sys/file.h>
#include <sys/types.h>
#include <ifaddrs.h>
#include <sys/file.h>
#include <sys/types.h>
#include <ifaddrs.h>
+#include <netdb.h>
#include <libubox/list.h>
#include <libubox/blob.h>
#include <libubox/list.h>
#include <libubox/blob.h>
@@
-38,6
+39,7
@@
#define FW3_STATEFILE "/var/run/fw3.state"
#define FW3_LOCKFILE "/var/run/fw3.lock"
#define FW3_STATEFILE "/var/run/fw3.state"
#define FW3_LOCKFILE "/var/run/fw3.lock"
+#define FW3_HELPERCONF "/usr/share/fw3/helpers.conf"
#define FW3_HOTPLUG "/sbin/hotplug-call"
extern bool fw3_pr_debug;
#define FW3_HOTPLUG "/sbin/hotplug-call"
extern bool fw3_pr_debug;
@@
-116,4
+118,6
@@
void fw3_flush_conntrack(void *zone);
bool fw3_attr_parse_name_type(struct blob_attr *entry, const char **name, const char **type);
bool fw3_attr_parse_name_type(struct blob_attr *entry, const char **name, const char **type);
+const char * fw3_protoname(void *proto);
+
#endif
#endif