aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/mach
diff options
context:
space:
mode:
authorDamien Zammit <damien@zamaudio.com>2022-09-21 19:27:39 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2022-09-21 19:58:44 +0200
commit9ba0f010a63d788709140a3b64432fde3cdfbc56 (patch)
tree3720121f16a1cc52165967cbd7be3bd4f8b1cc45 /sysdeps/mach
parentfd36873ff9d766f5095d81bdfba900adfff5f784 (diff)
downloadglibc-9ba0f010a63d788709140a3b64432fde3cdfbc56.zip
glibc-9ba0f010a63d788709140a3b64432fde3cdfbc56.tar.gz
glibc-9ba0f010a63d788709140a3b64432fde3cdfbc56.tar.bz2
hurd: Add _IOT_ifrtreq to <net/route.h>
So that we can use struct ifrtreq in ioctls.
Diffstat (limited to 'sysdeps/mach')
-rw-r--r--sysdeps/mach/hurd/net/route.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdeps/mach/hurd/net/route.h b/sysdeps/mach/hurd/net/route.h
index e7c276e..73abcbf 100644
--- a/sysdeps/mach/hurd/net/route.h
+++ b/sysdeps/mach/hurd/net/route.h
@@ -80,6 +80,7 @@ typedef struct ifrtreq
int rt_tos;
int rt_class;
} ifrtreq_t;
+#define _IOT_ifrtreq _IOT (_IOTS(char), IF_NAMESIZE, _IOTS(int), 10, 0, 0)
#define RTF_UP 0x0001 /* Route usable. */