-tcp_usrreq(so, req, m, nam)
+tcp_usrreq(so, req, m, nam, rights)
/*
* When a TCP is attached to a socket, then there will be
* a (struct inpcb) pointed at by the socket, and this
/*
* When a TCP is attached to a socket, then there will be
* a (struct inpcb) pointed at by the socket, and this
/*
* Initiate disconnect from peer.
* If connection never passed embryonic stage, just drop;
/*
* Initiate disconnect from peer.
* If connection never passed embryonic stage, just drop;
/*
* Initiate (or continue) disconnect.
* If embryonic state, just send reset (once).
/*
* Initiate (or continue) disconnect.
* If embryonic state, just send reset (once).
* Otherwise (hard), mark socket disconnecting and drop
* current input data; switch states based on user close, and
* send segment to peer (with FIN).
* Otherwise (hard), mark socket disconnecting and drop
* current input data; switch states based on user close, and
* send segment to peer (with FIN).