summaryrefslogtreecommitdiffstats
path: root/include/mnl.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/mnl.h')
-rw-r--r--include/mnl.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/mnl.h b/include/mnl.h
index affbf746..72072f7f 100644
--- a/include/mnl.h
+++ b/include/mnl.h
@@ -3,8 +3,12 @@
#include <list.h>
#include <netlink.h>
+#include <libmnl/libmnl.h>
-struct mnl_socket;
+struct mnl_ctx {
+ struct mnl_socket *nf_sock;
+ unsigned int seqnum;
+};
struct mnl_socket *netlink_open_sock(void);
void netlink_close_sock(struct mnl_socket *nf_sock);