[IPv4] RAW: Compact the API for the kernel
authorPavel Emelyanov <xemul@openvz.org>
Tue, 20 Nov 2007 06:35:07 +0000 (22:35 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 22:54:28 +0000 (14:54 -0800)
commit7bc54c90307b4bc3d7fb2ffd6ad8fbda0671a45e
tree74e2030d9603c41ce5dc3699862804a69300b7dc
parente372c41401993b45c721c4d92730e7e0a79f7c1b
[IPv4] RAW: Compact the API for the kernel

The raw sockets functions are explicitly used from
inside the kernel in two places:

1. in ip_local_deliver_finish to intercept skb-s
2. in icmp_error

For this purposes many functions and even data structures,
that are naturally internal for raw protocol, are exported.

Compact the API to two functions and hide all the other
(including hash table and rwlock) inside the net/ipv4/raw.c

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