diff mbox series

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

Message ID 20220921175625.435041-2-samuel.thibault@ens-lyon.org
State New
Headers show
Series Add route definitions | expand

Commit Message

Samuel Thibault Sept. 21, 2022, 5:56 p.m. UTC
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 mbox series

Patch

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.  */