From: Ulrich Drepper Date: Wed, 3 Mar 2010 23:37:12 +0000 (-0800) Subject: More in.h definitions from the Linux kernel. X-Git-Tag: fedora/glibc-2.11.90-15~1^2~12 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d8c34cd19fca0b33776db2ce727cbc03fbe04df1;p=thirdparty%2Fglibc.git More in.h definitions from the Linux kernel. --- diff --git a/ChangeLog b/ChangeLog index a9e7a04b4f6..d4a70ae76bf 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2010-03-03 Ulrich Drepper + + * sysdeps/unix/sysv/linux/bits/in.h: Add a few more defintions from the + kernel headers. + 2010-03-03 David S. Miller * 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 b457a1790f4..0aa0d6638ae 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. */