]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Hurd: comment PF_ROUTE/AF_ROUTE defines
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Tue, 26 May 2026 20:28:49 +0000 (22:28 +0200)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Tue, 26 May 2026 20:29:29 +0000 (22:29 +0200)
Comment out the PF_ROUTE and AF_ROUTE defines, since they would be used for
PF_ROUTE setsockopts, which are not available on Hurd.

sysdeps/mach/hurd/bits/socket.h

index 4a5807e61971b3f300c5355b0c91a6f575cbf2e5..fb73dea063d43a01571123c3ef134fc8fa82bf6c 100644 (file)
@@ -95,7 +95,7 @@ enum __socket_type
 #define        PF_LAT          14      /* DEC Local Area Transport protocol.  */
 #define        PF_HYLINK       15      /* NSC Hyperchannel protocol.  */
 #define        PF_APPLETALK    16      /* Don't use this.  */
-#define        PF_ROUTE        17      /* Internal Routing Protocol.  */
+/* #define     PF_ROUTE        17      Internal Routing Protocol.  */
 /* #define     PF_LINK         18      Link layer interface.  */
 #define        PF_XTP          19      /* eXpress Transfer Protocol (no AF).  */
 #define        PF_COIP         20      /* Connection-oriented IP, aka ST II.  */
@@ -128,7 +128,7 @@ enum __socket_type
 #define        AF_LAT          PF_LAT
 #define        AF_HYLINK       PF_HYLINK
 #define        AF_APPLETALK    PF_APPLETALK
-#define        AF_ROUTE        PF_ROUTE
+/* #define     AF_ROUTE        PF_ROUTE */
 /* #define     AF_LINK         PF_LINK */
 #ifdef __USE_MISC
 # define       pseudo_AF_XTP   PF_XTP