Lines Matching defs:state
62 * * Main purpose of TIME-WAIT state is to close connection gracefully,
75 * with this semantics, we MUST NOT kill TIME-WAIT state with RSTs.
144 /* FIN arrived, enter true time-wait state. */
157 * Now real TIME-WAIT state.
160 * "When a connection is [...] on TIME-WAIT state [...]
169 * (2) returns to TIME-WAIT state if the SYN turns out
214 we must return socket to time-wait state. It is not good,
251 * Move a socket to time-wait or dead fin-wait-2 state.
253 void tcp_time_wait(struct sock *sk, int state, int timeo)
260 tw = inet_twsk_alloc(sk, tcp_death_row, state);
317 if (state == TCP_TIME_WAIT)
614 * describe SYN-RECV state. All the description
646 for state SYN-RECEIVED of RFC793.
692 /* RFC793 page 36: "If the connection is in any non-synchronized state ...
840 int state = child->sk_state;
849 if (state == TCP_SYN_RECV && child->sk_state != state)