summaryrefslogtreecommitdiffstats
path: root/src/network/netdev/vrf.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/network/netdev/vrf.h')
-rw-r--r--src/network/netdev/vrf.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/network/netdev/vrf.h b/src/network/netdev/vrf.h
new file mode 100644
index 0000000..05b3937
--- /dev/null
+++ b/src/network/netdev/vrf.h
@@ -0,0 +1,15 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
+#pragma once
+
+typedef struct Vrf Vrf;
+
+#include "netdev/netdev.h"
+
+struct Vrf {
+ NetDev meta;
+
+ uint32_t table;
+};
+
+DEFINE_NETDEV_CAST(VRF, Vrf);
+extern const NetDevVTable vrf_vtable;