summaryrefslogtreecommitdiff
path: root/bits/in.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-02-22 05:09:06 +0000
committerUlrich Drepper <drepper@redhat.com>2000-02-22 05:09:06 +0000
commitbfaf0bbb7d2b7a1adbcc1e61625bd5ea29547fac (patch)
treebeef21aa27f47555d25bdf25ba5f28ba4365a74e /bits/in.h
parent782a9fe711d6d94226ce03f50fdaa3da37686c39 (diff)
downloadglibc-bfaf0bbb7d2b7a1adbcc1e61625bd5ea29547fac.tar.gz
Update.
2000-02-21 Andreas Jaeger <aj@suse.de> * sysdeps/unix/sysv/linux/bits/in.h (IPV6_RXSRCRT): Renamed to IPV6_RTHDR; added IPV6_RTHDR_LOOSE, IPV6_RTHDR_STRICT and IPV6_RTHDR_TYPE_0 to synch with RFC 2292. * sysdeps/generic/bits/in.h: Likewise. 2000-02-21 Ulrich Drepper <drepper@redhat.com> * po/gl.po: Update from translation team. * timezone/antarctica: Update from tzdata2000b. * timezone/asia: Likewise. * timezone/australasia: Likewise. * timezone/europe: Likewise. * malloc/malloc.c (vALLOc): Call ptmalloc_init before mEMALIGn call to initialize malloc_getpagesize. (pvALLOc): Likewise.
Diffstat (limited to 'bits/in.h')
-rw-r--r--bits/in.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/bits/in.h b/bits/in.h
index 83d7ae6b10..8cafffc6fe 100644
--- a/bits/in.h
+++ b/bits/in.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1997, 2000 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
@@ -66,7 +66,7 @@ struct ip_mreq
#define IPV6_RXINFO 2
#define IPV6_RXHOPOPTS 3
#define IPV6_RXDSTOPTS 4
-#define IPV6_RXSRCRT 5
+#define IPV6_RTHDR 5
#define IPV6_PKTOPTIONS 6
#define IPV6_CHECKSUM 7
#define IPV6_HOPLIMIT 8
@@ -81,3 +81,9 @@ struct ip_mreq
#define IPV6_MULTICAST_LOOP 19
#define IPV6_ADD_MEMBERSHIP 20
#define IPV6_DROP_MEMBERSHIP 21
+
+/* Routing header options for IPv6. */
+#define IPV6_RTHDR_LOOSE 0 /* Hop doesn't need to be neighbour. */
+#define IPV6_RTHDR_STRICT 1 /* Hop must be a neighbour. */
+
+#define IPV6_RTHDR_TYPE_0 0 /* IPv6 Routing header type 0. */