Lines Matching refs:state
55 * * Main purpose of TIME-WAIT state is to close connection gracefully,
68 * with this semantics, we MUST NOT kill TIME-WAIT state with RSTs.
137 /* FIN arrived, enter true time-wait state. */
150 * Now real TIME-WAIT state.
153 * "When a connection is [...] on TIME-WAIT state [...]
162 * (2) returns to TIME-WAIT state if the SYN turns out
207 we must return socket to time-wait state. It is not good,
278 * Move a socket to time-wait or dead fin-wait-2 state.
280 void tcp_time_wait(struct sock *sk, int state, int timeo)
287 tw = inet_twsk_alloc(sk, &net->ipv4.tcp_death_row, state);
324 if (state == TCP_TIME_WAIT)
640 * describe SYN-RECV state. All the description
671 for state SYN-RECEIVED of RFC793.
717 /* RFC793 page 36: "If the connection is in any non-synchronized state ...
868 int state = child->sk_state;
877 if (state == TCP_SYN_RECV && child->sk_state != state)