From 298c7dadc6844163dccc8938756093f1e0a3ce05 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Tue, 30 Aug 2022 01:12:48 +0200 Subject: lwip: Add stubs for route ioctls --- lwip/iioctl-ops.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'lwip') diff --git a/lwip/iioctl-ops.c b/lwip/iioctl-ops.c index d0fe464c..4e285a49 100644 --- a/lwip/iioctl-ops.c +++ b/lwip/iioctl-ops.c @@ -161,6 +161,24 @@ siocsifXaddr (struct sock_user *user, return err; } +/* 10 SIOCADDRT -- Add a network route */ +kern_return_t +lwip_S_iioctl_siocaddrt (struct sock_user *user, + const ifname_t ifnam, + const struct srtentry route) +{ + return EOPNOTSUPP; +} + +/* 11 SIOCDELRT -- Delete a network route */ +kern_return_t +lwip_S_iioctl_siocdelrt (struct sock_user *user, + const ifname_t ifnam, + const struct srtentry route) +{ + return EOPNOTSUPP; +} + /* 12 SIOCSIFADDR -- Set address of a network interface. */ SIOCSIF (addr, ADDR); -- cgit v1.2.3