public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
From: Samuel Thibault <samuel.thibault@ens-lyon.org>
To: libc-alpha@sourceware.org
Cc: Damien Zammit <damien@zamaudio.com>, commit-hurd@gnu.org
Subject: [hurd,commited 1/3] hurd: Add _IOT_ifrtreq to <net/route.h>
Date: Wed, 21 Sep 2022 19:56:23 +0200	[thread overview]
Message-ID: <20220921175625.435041-2-samuel.thibault@ens-lyon.org> (raw)
In-Reply-To: <20220921175625.435041-1-samuel.thibault@ens-lyon.org>

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


  reply	other threads:[~2022-09-21 17:56 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-21 17:56 [hurd,commited 0/3] Add route definitions Samuel Thibault
2022-09-21 17:56 ` Samuel Thibault [this message]
2022-09-21 17:56 ` [hurd,commited 2/3] hurd: Drop struct rtentry and in6_rtmsg Samuel Thibault
2022-09-21 17:56 ` [hurd,commited 3/3] hurd: Fix SIOCADD/DELRT ioctls Samuel Thibault

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220921175625.435041-2-samuel.thibault@ens-lyon.org \
    --to=samuel.thibault@ens-lyon.org \
    --cc=commit-hurd@gnu.org \
    --cc=damien@zamaudio.com \
    --cc=libc-alpha@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).