[RAW]: Introduce raw_hashinfo structure
authorPavel Emelyanov <xemul@openvz.org>
Tue, 20 Nov 2007 06:36:45 +0000 (22:36 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 22:54:30 +0000 (14:54 -0800)
commitb673e4dfc8f29e5bfe4d342029b793e9d504f6dd
treee0282a3819176b9f28eb7e2021c55c70bdbda50e
parent69d6da0b0faa70249a243a14e6066c013e9294e5
[RAW]: Introduce raw_hashinfo structure

The ipv4/raw.c and ipv6/raw.c contain many common code (most
of which is proc interface) which can be consolidated.

Most of the places to consolidate deal with the raw sockets
hashtable, so introduce a struct raw_hashinfo which describes
the raw sockets hash.

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/raw.h
net/ipv4/raw.c
net/ipv6/raw.c