summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau2025-06-11 08:29:10 +0000
committerFelix Fietkau2025-06-11 08:29:18 +0000
commit3a7878065829683373d2ffa456f8afb361d06fb1 (patch)
treeb6246868375486a2ee80e59155f56a31fdedde3f
parent7901e66c5f273bceee8981bc8a0c8b0e60945f60 (diff)
downloadnetifd-3a7878065829683373d2ffa456f8afb361d06fb1.tar.gz
system-dummy: add missing vrf functions
Signed-off-by: Felix Fietkau <nbd@nbd.name>
-rw-r--r--system-dummy.c28
1 files changed, 28 insertions, 0 deletions
diff --git a/system-dummy.c b/system-dummy.c
index c698361..59411c4 100644
--- a/system-dummy.c
+++ b/system-dummy.c
@@ -389,3 +389,31 @@ int system_vlandev_del(struct device *vlandev)
{
return 0;
}
+
+int system_vrf_addvrf(struct device *vrf, unsigned int table)
+{
+ return 0;
+}
+
+int system_vrf_delvrf(struct device *vrf)
+{
+ return 0;
+}
+
+int system_vrf_addif(struct device *vrf, struct device *dev)
+{
+ return 0;
+}
+
+int system_vrf_delif(struct device *vrf, struct device *dev)
+{
+ return 0;
+}
+
+void system_tcp_l3mdev(bool enable)
+{
+}
+
+void system_udp_l3mdev(bool enable)
+{
+}