[INET_DIAG]: Move the tcp_diag interface to the proper place
Arnaldo Carvalho de Melo authored

With this the previous setup is back, i.e. tcp_diag can be built as a module,
as dccp_diag and both share the infrastructure available in inet_diag.

If one selects CONFIG_INET_DIAG as module CONFIG_INET_TCP_DIAG will also be
built as a module, as will CONFIG_INET_DCCP_DIAG, if CONFIG_IP_DCCP was
selected static or as a module, if CONFIG_INET_DIAG is y, being statically
linked CONFIG_INET_TCP_DIAG will follow suit and CONFIG_INET_DCCP_DIAG will be
built in the same manner as CONFIG_IP_DCCP.

Now to aim at UDP, converting it to use inet_hashinfo, so that we can use
iproute2 for UDP sockets as well.

Ah, just to show an example of this new infrastructure working for DCCP :-)

[root@qemu ~]# ./ss -dane
State      Recv-Q Send-Q Local Address:Port  Peer Address:Port
LISTEN     0      0                  *:5001             *:*     ino:942 sk:cfd503a0
ESTAB      0      0          127.0.0.1:5001     127.0.0.1:32770 ino:943 sk:cfd50a60
ESTAB      0      0          127.0.0.1:32770    127.0.0.1:5001  ino:947 sk:cfd50700
TIME-WAIT  0      0          127.0.0.1:32769    127.0.0.1:5001  timer:(timewait,3.430ms,0) ino:0 sk:cf209620
Signed-off-by: default avatarArnaldo Carvalho de Melo <acme@mandriva.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
17b085ea
Name Last commit Last update
..
802 [NET]: Kill skb->real_dev
8021q [NET]: Kill skb->real_dev
appletalk [TCP]: Move the tcp sock states to net/tcp_states.h
atm [NET]: Kill skb->list
ax25 [TCP]: Move the tcp sock states to net/tcp_states.h
bluetooth [Bluetooth]: Move packet type into the SKB control buffer
bridge [NETLINK]: Add properly module refcounting for kernel netlink sockets.
core [NETFILTER]: split net/core/netfilter.c into net/netfilter/*.c
dccp [INET_DIAG]: Move the tcp_diag interface to the proper place
decnet [TCP]: Move the tcp sock states to net/tcp_states.h
econet [NET]: Kill skb->real_dev
ethernet [NET]: Remove explicit initializations of skb->input_dev
ipv4 [INET_DIAG]: Move the tcp_diag interface to the proper place
ipv6 [INET6_HASHTABLES]: Move inet6_lookup functions to net/ipv6/inet6_hashtables.c
ipx [TCP]: Move the tcp sock states to net/tcp_states.h
irda [TCP]: Move the tcp sock states to net/tcp_states.h
key [IPSEC]: Add XFRM_STATE_NOPMTUDISC flag
lapb [NET]: Kill skb->list
llc [TCP]: Move the tcp sock states to net/tcp_states.h
netfilter [NETFILTER]: Fix compilation when no PROC_FS enabled
netlink [NETLINK]: Add properly module refcounting for kernel netlink sockets.
netrom [TCP]: Move the tcp sock states to net/tcp_states.h
packet [NET]: Kill skb->real_dev
rose [TCP]: Move the tcp sock states to net/tcp_states.h
rxrpc [PATCH] Cleanup patch for process freezing
sched
sctp
sunrpc
unix
wanrouter
x25
xfrm
Kconfig
Makefile
TUNABLE
compat.c
nonet.c
socket.c
sysctl_net.c