aboutsummaryrefslogtreecommitdiff
path: root/bits/in.h
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2012-05-10 12:37:15 -0700
committerRoland McGrath <roland@hack.frob.com>2012-05-10 15:57:22 -0700
commitbcfe3a546e831ff3e43a8782f65a95fab7bb864d (patch)
tree5b7d67d28c504ccce36b71db41ec50a1678638b5 /bits/in.h
parent89c9aa491a7cee97bf78a29cddbf0a25c902a671 (diff)
downloadglibc-bcfe3a546e831ff3e43a8782f65a95fab7bb864d.zip
glibc-bcfe3a546e831ff3e43a8782f65a95fab7bb864d.tar.gz
glibc-bcfe3a546e831ff3e43a8782f65a95fab7bb864d.tar.bz2
Hurd: Add more ipv6 macros.
Diffstat (limited to 'bits/in.h')
-rw-r--r--bits/in.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/bits/in.h b/bits/in.h
index 85f747e..bb14b02 100644
--- a/bits/in.h
+++ b/bits/in.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1997, 2000, 2004, 2007 Free Software Foundation, Inc.
+/* Copyright (C) 1997-2012 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -49,7 +49,7 @@ struct ip_opts
/* IPV6 socket options. */
#define IPV6_ADDRFORM 1
-#define IPV6_RXINFO 2
+#define IPV6_PKTINFO 2
#define IPV6_HOPOPTS 3
#define IPV6_DSTOPTS 4
#define IPV6_RTHDR 5
@@ -57,8 +57,9 @@ struct ip_opts
#define IPV6_CHECKSUM 7
#define IPV6_HOPLIMIT 8
-#define IPV6_TXINFO IPV6_RXINFO
-#define SCM_SRCINFO IPV6_TXINFO
+#define IPV6_RXINFO IPV6_PKTINFO
+#define IPV6_TXINFO IPV6_PKTINFO
+#define SCM_SRCINFO IPV6_PKTINFO
#define SCM_SRCRT IPV6_RXSRCRT
#define IPV6_UNICAST_HOPS 16