about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/bits/in.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/sysv/linux/bits/in.h')
-rw-r--r--sysdeps/unix/sysv/linux/bits/in.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/bits/in.h b/sysdeps/unix/sysv/linux/bits/in.h
index 1d3817f68d..bfa7aae571 100644
--- a/sysdeps/unix/sysv/linux/bits/in.h
+++ b/sysdeps/unix/sysv/linux/bits/in.h
@@ -57,8 +57,10 @@ struct ip_mreq
 /* IPV6 socket options.  */
 #define IPV6_ADDRFORM		1
 #define IPV6_PKTINFO		2
-#define IPV6_RXHOPOPTS		3
-#define IPV6_RXDSTOPTS		4
+#define IPV6_RXHOPOPTS		3 /* obsolete name */
+#define IPV6_RXDSTOPTS		4 /* obsolete name */
+#define IPV6_HOPOPTS		IPV6_RXHOPOPTS  /* new name */
+#define IPV6_DSTOPTS		IPV6_RXDSTOPTS  /* new name */
 #define IPV6_RXSRCRT		5
 #define IPV6_PKTOPTIONS		6
 #define IPV6_CHECKSUM		7