Re: [PATCH] net: santize headers for iproute2

2007-12-31 Thread Stephen Hemminger
The Glib 2.7 version of netinet/tcp.h works for building iproute2, but since iproute needs to build on older versions of glibc; for now, I'll just put a corrected version of netinet/tcp.h in the iproute2 build tree. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body o

Re: [PATCH] net: santize headers for iproute2

2007-12-29 Thread David Miller
From: Stephen Hemminger <[EMAIL PROTECTED]> Date: Tue, 25 Dec 2007 17:13:10 -0800 > Well changing netinet/tcp.h is just not a realistic proposition, it takes > too long to filter from glibc through distro's to be worth it. But you have to, the ifdef mess you are suggesting is so much worse. Look

Re: [PATCH] net: santize headers for iproute2

2007-12-25 Thread Stephen Hemminger
On Tue, 25 Dec 2007 15:02:38 -0800 (PST) David Miller <[EMAIL PROTECTED]> wrote: > From: Stephen Hemminger <[EMAIL PROTECTED]> > Date: Tue, 25 Dec 2007 12:43:23 -0800 > > > The problem is that iproute ss.c needs linux/tcp.h to get the > > tcp_info structure definition but linux/tcp.h has incompat

Re: [PATCH] net: santize headers for iproute2

2007-12-25 Thread David Miller
From: Stephen Hemminger <[EMAIL PROTECTED]> Date: Tue, 25 Dec 2007 12:43:23 -0800 > The problem is that iproute ss.c needs linux/tcp.h to get the > tcp_info structure definition but linux/tcp.h has incompatible > definitions with netinet/tcp.h. I propose that the enum be moved > from net/tcp_stat

Re: [PATCH] net: santize headers for iproute2

2007-12-25 Thread Stephen Hemminger
> net/tcp_states.h is not movable to include/linux/ and thus to > userspace, it defines things that are present already in existing > userland header files. If you look, defines these > state values, as an enumeration. If you need the TCPF_* flag bit > versions, sorry... you'll need to find som

Re: [PATCH] net: santize headers for iproute2

2007-12-24 Thread David Miller
From: Stephen Hemminger <[EMAIL PROTECTED]> Date: Fri, 21 Dec 2007 09:43:36 -0800 > iproute2 source uses headers that result from "make headers_install". > The header files net/tcp_states.h and net/veth.h are both being used > but are not processed. > > Signed-off-by: Stephen Hemminger <[EMAIL P

[PATCH] net: santize headers for iproute2

2007-12-21 Thread Stephen Hemminger
iproute2 source uses headers that result from "make headers_install". The header files net/tcp_states.h and net/veth.h are both being used but are not processed. Signed-off-by: Stephen Hemminger <[EMAIL PROTECTED]> --- This patch is not "urgent" but it would be good to get it in 2.6.24. --- a/i