]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
hurd: Add _IOT_ifrtreq to <net/route.h>
authorDamien Zammit <damien@zamaudio.com>
Wed, 21 Sep 2022 17:27:39 +0000 (19:27 +0200)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Wed, 21 Sep 2022 17:58:44 +0000 (19:58 +0200)
So that we can use struct ifrtreq in ioctls.

sysdeps/mach/hurd/net/route.h

index e7c276edf39d57f21ec5d0715f2c1a003553fcab..73abcbf25305fab8846d91d450478936b3ed041b 100644 (file)
@@ -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.  */