summaryrefslogtreecommitdiffstats
path: root/src/network/netdev/nlmon.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/network/netdev/nlmon.h')
-rw-r--r--src/network/netdev/nlmon.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/network/netdev/nlmon.h b/src/network/netdev/nlmon.h
new file mode 100644
index 0000000..edfc504
--- /dev/null
+++ b/src/network/netdev/nlmon.h
@@ -0,0 +1,14 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
+#pragma once
+
+typedef struct NLMon NLMon;
+
+#include "netdev.h"
+
+struct NLMon {
+ NetDev meta;
+};
+
+DEFINE_NETDEV_CAST(NLMON, NLMon);
+
+extern const NetDevVTable nlmon_vtable;