public inbox for libc-hacker@sourceware.org
 help / color / mirror / Atom feed
* bits/in.h patch
@ 2007-02-18 13:48 Andreas Jaeger
  2007-02-19  5:56 ` Ulrich Drepper
  0 siblings, 1 reply; 8+ messages in thread
From: Andreas Jaeger @ 2007-02-18 13:48 UTC (permalink / raw)
  To: GNU libc hackers

[-- Attachment #1: Type: text/plain, Size: 2001 bytes --]


The following patch fixes bugzilla #3905 and adds some more options.

Looking at the Linux header linux/in6.h I see also the following changes:
#define IPV6_2292PKTINFO	2
#define IPV6_2292HOPOPTS	3
#define IPV6_2292DSTOPTS	4
#define IPV6_2292RTHDR		5
#define IPV6_2292PKTOPTIONS	6
#define IPV6_2292HOPLIMIT	8

#define IPV6_RECVPKTINFO	49
#define IPV6_PKTINFO		50
#define IPV6_RECVHOPLIMIT	51
#define IPV6_HOPLIMIT		52
#define IPV6_RECVHOPOPTS	53
#define IPV6_HOPOPTS		54
#define IPV6_RTHDRDSTOPTS	55
#define IPV6_RECVRTHDR		56
#define IPV6_RTHDR		57
#define IPV6_RECVDSTOPTS	58
#define IPV6_DSTOPTS		59

These redefine some values.  Should I add these as well?  That would
close bugzilla #3906 as well.

Ok to submit the appended patch?

Andreas

2007-02-18  Andreas Jaeger  <aj@suse.de>

	[BZ #3905]
	* bits/in.h (IPV6_ROUTER_ALERT, IPV6_MTU_DISCOVER, IPV6_MTU,
	IPV6_RECVERR, IPV6_V6ONLY, IPV6_JOIN_ANYCAST, IPV6_LEAVE_ANYCAST):
	Added.

--- bits/in.h   10 Aug 2004 22:05:17 -0000      1.8
+++ bits/in.h   18 Feb 2007 13:45:36 -0000
@@ -1,4 +1,4 @@
-/* Copyright (C) 1997, 2000, 2004 Free Software Foundation, Inc.
+/* Copyright (C) 1997, 2000, 2004, 2007 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
@@ -68,6 +68,13 @@ struct ip_opts
 #define IPV6_MULTICAST_LOOP    19
 #define IPV6_JOIN_GROUP                20
 #define IPV6_LEAVE_GROUP       21
+#define IPV6_ROUTER_ALERT      22
+#define IPV6_MTU_DISCOVER      23
+#define IPV6_MTU               24
+#define IPV6_RECVERR           25
+#define IPV6_V6ONLY            26
+#define IPV6_JOIN_ANYCAST      27
+#define IPV6_LEAVE_ANYCAST     28

-- 
 Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj/
  SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)
   Maxfeldstr. 5, 90409 Nürnberg, Germany
    GPG fingerprint = 93A3 365E CE47 B889 DF7F  FED1 389A 563C C272 A126

[-- Attachment #2: Type: application/pgp-signature, Size: 188 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2007-04-20 16:01 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-18 13:48 bits/in.h patch Andreas Jaeger
2007-02-19  5:56 ` Ulrich Drepper
2007-02-19  8:15   ` Andreas Jaeger
2007-02-19  9:05     ` Ulrich Drepper
2007-02-19  9:55   ` Roland McGrath
2007-03-24 16:28     ` Andreas Jaeger
2007-04-02 20:32       ` Roland McGrath
2007-04-20 16:01         ` Andreas Jaeger

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).