aboutgitcodebugslistschat
path: root/passt.h
diff options
context:
space:
mode:
Diffstat (limited to 'passt.h')
-rw-r--r--passt.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/passt.h b/passt.h
index bfbdc06..28840fc 100644
--- a/passt.h
+++ b/passt.h
@@ -1,4 +1,5 @@
-#define UNIX_SOCK_PATH "/tmp/passt.socket"
+#define UNIX_SOCK_MAX 100
+#define UNIX_SOCK_PATH "/tmp/passt_%i.socket"
/**
* struct tap_msg - Generic message descriptor for arrays of messages
@@ -26,6 +27,8 @@ struct fqdn {
char n[NS_MAXDNAME];
};
+#include <net/if.h>
+
/**
* struct ctx - Execution context
* @epollfd: file descriptor for epoll instance