aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2010-03-03 15:37:12 -0800
committerUlrich Drepper <drepper@redhat.com>2010-03-03 15:37:12 -0800
commitd8c34cd19fca0b33776db2ce727cbc03fbe04df1 (patch)
tree6d216839cb20367c8b20238366628896b0d1d956
parent2e9337f58ab3165b54acd8ebd84577e3a51f79be (diff)
downloadglibc-d8c34cd19fca0b33776db2ce727cbc03fbe04df1.tar
glibc-d8c34cd19fca0b33776db2ce727cbc03fbe04df1.tar.gz
glibc-d8c34cd19fca0b33776db2ce727cbc03fbe04df1.tar.bz2
glibc-d8c34cd19fca0b33776db2ce727cbc03fbe04df1.zip
More in.h definitions from the Linux kernel.
-rw-r--r--ChangeLog5
-rw-r--r--sysdeps/unix/sysv/linux/bits/in.h30
2 files changed, 26 insertions, 9 deletions
diff --git a/ChangeLog b/ChangeLog
index a9e7a04b4f..d4a70ae76b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2010-03-03 Ulrich Drepper <drepper@redhat.com>
+
+ * sysdeps/unix/sysv/linux/bits/in.h: Add a few more defintions from the
+ kernel headers.
+
2010-03-03 David S. Miller <davem@davemloft.net>
* math/math_private.h (INSERT_WORDS64): Fix argument order.
diff --git a/sysdeps/unix/sysv/linux/bits/in.h b/sysdeps/unix/sysv/linux/bits/in.h
index b457a1790f..0aa0d6638a 100644
--- a/sysdeps/unix/sysv/linux/bits/in.h
+++ b/sysdeps/unix/sysv/linux/bits/in.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991-1999, 2000, 2004, 2008 Free Software Foundation, Inc.
+/* Copyright (C) 1991-1999, 2000, 2004, 2008, 2010 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
@@ -56,14 +56,26 @@
# define MCAST_INCLUDE 1
#endif
-#define IP_ROUTER_ALERT 5 /* bool */
-#define IP_PKTINFO 8 /* bool */
-#define IP_PKTOPTIONS 9
-#define IP_PMTUDISC 10 /* obsolete name? */
-#define IP_MTU_DISCOVER 10 /* int; see below */
-#define IP_RECVERR 11 /* bool */
-#define IP_RECVTTL 12 /* bool */
-#define IP_RECVTOS 13 /* bool */
+#define IP_ROUTER_ALERT 5 /* bool */
+#define IP_PKTINFO 8 /* bool */
+#define IP_PKTOPTIONS 9
+#define IP_PMTUDISC 10 /* obsolete name? */
+#define IP_MTU_DISCOVER 10 /* int; see below */
+#define IP_RECVERR 11 /* bool */
+#define IP_RECVTTL 12 /* bool */
+#define IP_RECVTOS 13 /* bool */
+#define IP_MTU 14 /* int */
+#define IP_FREEBIND 15
+#define IP_IPSEC_POLICY 16
+#define IP_XFRM_POLICY 17
+#define IP_PASSSEC 18
+#define IP_TRANSPARENT 19
+
+/* TProxy original addresses */
+#define IP_ORIGDSTADDR 20
+#define IP_RECVORIGDSTADDR IP_ORIGDSTADDR
+
+#define IP_MINTTL 21
/* IP_MTU_DISCOVER arguments. */