Searched refs:oldstate (Results 1 – 3 of 3) sorted by relevance
/net/dccp/ |
D | proto.c | 80 const int oldstate = sk->sk_state; in dccp_set_state() local 83 dccp_state_name(oldstate), dccp_state_name(state)); in dccp_set_state() 84 WARN_ON(state == oldstate); in dccp_set_state() 88 if (oldstate != DCCP_OPEN) in dccp_set_state() 91 if (oldstate == DCCP_PARTOPEN) in dccp_set_state() 96 if (oldstate == DCCP_OPEN || oldstate == DCCP_ACTIVE_CLOSEREQ || in dccp_set_state() 97 oldstate == DCCP_CLOSING) in dccp_set_state() 106 if (oldstate == DCCP_OPEN) in dccp_set_state()
|
/net/dccp/ccids/ |
D | ccid3.c | 54 enum ccid3_hc_tx_states oldstate = hc->tx_state; in ccid3_hc_tx_set_state() local 57 dccp_role(sk), sk, ccid3_tx_state_name(oldstate), in ccid3_hc_tx_set_state() 59 WARN_ON(state == oldstate); in ccid3_hc_tx_set_state() 580 enum ccid3_hc_rx_states oldstate = hc->rx_state; in ccid3_hc_rx_set_state() local 583 dccp_role(sk), sk, ccid3_rx_state_name(oldstate), in ccid3_hc_rx_set_state() 585 WARN_ON(state == oldstate); in ccid3_hc_rx_set_state()
|
/net/ipv4/ |
D | tcp.c | 2697 int oldstate = sk->sk_state; in tcp_set_state() local 2732 tcp_call_bpf_2arg(sk, BPF_SOCK_OPS_STATE_CB, oldstate, state); in tcp_set_state() 2736 if (oldstate != TCP_ESTABLISHED) in tcp_set_state() 2741 if (oldstate == TCP_CLOSE_WAIT || oldstate == TCP_ESTABLISHED) in tcp_set_state() 2750 if (oldstate == TCP_ESTABLISHED) in tcp_set_state()
|