[NET] Generalise tcp_listen_opt
authorArnaldo Carvalho de Melo <acme@ghostprotocols.net>
Sun, 19 Jun 2005 05:47:59 +0000 (22:47 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 19 Jun 2005 05:47:59 +0000 (22:47 -0700)
commit0e87506fcc734647c7b2497eee4eb81e785c857a
treebb8863c59fdef2628f17b6773c52801792a57722
parent60236fdd08b2169045a3bbfc5ffe1576e6c3c17b
[NET] Generalise tcp_listen_opt

This chunks out the accept_queue and tcp_listen_opt code and moves
them to net/core/request_sock.c and include/net/request_sock.h, to
make it useful for other transport protocols, DCCP being the first one
to use it.

Next patches will rename tcp_listen_opt to accept_sock and remove the
inline tcp functions that just call a reqsk_queue_ function.

Signed-off-by: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/tcp.h
include/net/request_sock.h
include/net/tcp.h
net/core/Makefile
net/core/request_sock.c [new file with mode: 0644]
net/ipv4/tcp.c
net/ipv4/tcp_diag.c
net/ipv4/tcp_ipv4.c
net/ipv4/tcp_minisocks.c
net/ipv4/tcp_timer.c
net/ipv6/tcp_ipv6.c