[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[hurd,commited 1/3] hurd: Add _IOT_ifrtreq to <net/route.h>
From: |
Samuel Thibault |
Subject: |
[hurd,commited 1/3] hurd: Add _IOT_ifrtreq to <net/route.h> |
Date: |
Wed, 21 Sep 2022 19:56:23 +0200 |
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