aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorToni Uhlig <matzeton@googlemail.com>2020-11-08 15:13:43 +0100
committerToni Uhlig <matzeton@googlemail.com>2020-11-08 15:14:08 +0100
commitca28fd9a0357da62267a7b5549bdd0dc6ef55d96 (patch)
tree571619fb4c53995b977187d75fc468e024112e8b /contrib
parent54f6ab21925f990a2f7ab49e6b1dbb1ebb2ae65a (diff)
Make sure that DAEMON_EVENT_SHUTDOWN gets transmitted before close() (hacky, but works).
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'contrib')
-rw-r--r--contrib/nDPIsrvd.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/contrib/nDPIsrvd.h b/contrib/nDPIsrvd.h
new file mode 100644
index 000000000..568e9befc
--- /dev/null
+++ b/contrib/nDPIsrvd.h
@@ -0,0 +1,18 @@
+#ifndef NDPISRVD_H
+#define NDPISRVD_H 1
+
+struct nDPIsrvd_socket
+{
+ int fd;
+ union {
+ struct {
+ char const * dst_ip;
+ unsigned short dst_port;
+ } ip;
+ struct {
+ char * path;
+ } unix;
+ } address;
+};
+
+#endif