]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Here we update the modular tcp to be able to switch to an
authorrrs <rrs@FreeBSD.org>
Tue, 16 Aug 2016 15:11:46 +0000 (15:11 +0000)
committerrrs <rrs@FreeBSD.org>
Tue, 16 Aug 2016 15:11:46 +0000 (15:11 +0000)
commit4d7e0cd8cdd16c3e6822ad1f71f93c8707eefec9
tree02027705a0d2fe6f682cbc1f4e1c48c1975f327a
parentf13741f250f48623ccf836447379ec014c6d1c2d
Here we update the  modular tcp to be able to switch to an
alternate TCP stack in other then the closed state (pre-listen/connect).
The idea is that *if* that is supported by the alternate stack, it
is asked if its ok to switch. If it approves the "handoff" then we
allow the switch to happen. Also the fini() function now gets a flag
to tell if you are switching away *or* the tcb is destroyed. The
init() call into the alternate stack is moved to the end so the
tcb is more fully formed before the init transpires.

Sponsored by: Netflix Inc.
Differential Revision: D6790
share/man/man4/tcp.4
share/man/man9/tcp_functions.9
sys/netinet/tcp_subr.c
sys/netinet/tcp_syncache.c
sys/netinet/tcp_usrreq.c
sys/netinet/tcp_var.h