]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit11ac04419815aa5b4fbf382a20964cabf7959845
treebb8863c59fdef2628f17b6773c52801792a57722
parent82652e8cbab71489d5dc1831832f46adfe6a3158
[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