diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2022-08-30 01:12:48 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2022-08-30 01:12:48 +0200 |
commit | 298c7dadc6844163dccc8938756093f1e0a3ce05 (patch) | |
tree | 5c9be5e7be1255f9fa45c0248d9eeee1ab734d38 /lwip | |
parent | eb1b2057d839249c955189c2cba8bc37c66d4151 (diff) | |
download | hurd-298c7dadc6844163dccc8938756093f1e0a3ce05.tar.gz hurd-298c7dadc6844163dccc8938756093f1e0a3ce05.tar.bz2 hurd-298c7dadc6844163dccc8938756093f1e0a3ce05.zip |
lwip: Add stubs for route ioctls
Diffstat (limited to 'lwip')
-rw-r--r-- | lwip/iioctl-ops.c | 18 |
1 files changed, 18 insertions, 0 deletions
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); |