Searched refs:oldstate (Results 1 – 3 of 3) sorted by relevance
/net/dccp/ |
D | proto.c | 79 const int oldstate = sk->sk_state; in dccp_set_state() local 82 dccp_state_name(oldstate), dccp_state_name(state)); in dccp_set_state() 83 WARN_ON(state == oldstate); in dccp_set_state() 87 if (oldstate != DCCP_OPEN) in dccp_set_state() 90 if (oldstate == DCCP_PARTOPEN) in dccp_set_state() 95 if (oldstate == DCCP_OPEN || oldstate == DCCP_ACTIVE_CLOSEREQ || in dccp_set_state() 96 oldstate == DCCP_CLOSING) in dccp_set_state() 105 if (oldstate == DCCP_OPEN) in dccp_set_state()
|
/net/dccp/ccids/ |
D | ccid3.c | 67 enum ccid3_hc_tx_states oldstate = hc->tx_state; in ccid3_hc_tx_set_state() local 70 dccp_role(sk), sk, ccid3_tx_state_name(oldstate), in ccid3_hc_tx_set_state() 72 WARN_ON(state == oldstate); in ccid3_hc_tx_set_state() 587 enum ccid3_hc_rx_states oldstate = hc->rx_state; in ccid3_hc_rx_set_state() local 590 dccp_role(sk), sk, ccid3_rx_state_name(oldstate), in ccid3_hc_rx_set_state() 592 WARN_ON(state == oldstate); in ccid3_hc_rx_set_state()
|
/net/ipv4/ |
D | tcp.c | 1966 int oldstate = sk->sk_state; in tcp_set_state() local 1970 if (oldstate != TCP_ESTABLISHED) in tcp_set_state() 1975 if (oldstate == TCP_CLOSE_WAIT || oldstate == TCP_ESTABLISHED) in tcp_set_state() 1984 if (oldstate == TCP_ESTABLISHED) in tcp_set_state() 1994 SOCK_DEBUG(sk, "TCP sk=%p, State %s -> %s\n", sk, statename[oldstate], statename[state]); in tcp_set_state()
|