[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20071225.150238.193724414.davem@davemloft.net>
Date: Tue, 25 Dec 2007 15:02:38 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: shemminger@...ux-foundation.org
Cc: vgusev@...nvz.org, netdev@...r.kernel.org
Subject: Re: [PATCH] net: santize headers for iproute2
From: Stephen Hemminger <shemminger@...ux-foundation.org>
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_states.h to linux/tcp.h.
This would be fragile, at best.
We need to solve this in a way such that both linux/tcp.h and
netinet/tcp.h can both be included at the same time by userland.
If we export linux/tcp.h to userspace, we have to make it play nice
with the existing header file namespace.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists