[hurd,commited 1/3] hurd: Add _IOT_ifrtreq to <net/route.h>

Samuel Thibault samuel.thibault@ens-lyon.org
Wed Sep 21 17:56:23 GMT 2022


From: Damien Zammit <damien@zamaudio.com>

So that we can use struct ifrtreq in ioctls.
---
 sysdeps/mach/hurd/net/route.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sysdeps/mach/hurd/net/route.h b/sysdeps/mach/hurd/net/route.h
index e7c276edf3..73abcbf253 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.  */
-- 
2.35.1



More information about the Libc-alpha mailing list