Searched refs:tcp_detach (Results 1 - 1 of 1) sorted by relevance

/freebsd-10.3-release/sys/netinet/
H A Dtcp_usrreq.c155 * tcp_detach is called when the socket layer loses its final reference
164 tcp_detach(struct socket *so, struct inpcb *inp) function
171 KASSERT(so->so_pcb == inp, ("tcp_detach: so_pcb != inp"));
172 KASSERT(inp->inp_socket == so, ("tcp_detach: inp_socket != so"));
192 * #1 tcp_detach is called at tcptw creation time by
195 * #2 tcp_detach is called at timewait end (or reuse) by
198 * #3 tcp_detach is called() after timewait ends (or reuse)
205 KASSERT(tp == NULL, ("tcp_detach: INP_TIMEWAIT && "
253 tcp_detach(so, inp);

Completed in 98 milliseconds