Lines Matching refs:tp
43 # define TCP_STATE_SWITCH_TO(tp, new_tcp_state) \
45 Log2(("%R[tcpcb793] switch to %R[tcpstate] -> %R[tcpstate]\n", (tp), (tp), (tp->t_state) ,(new_tcp_state))); \
46 if ((tp)->t_socket) \
47 Log2(("%R[tcpcb793] %R[natsock]\n", (tp), (tp)->t_socket)); \
48 (tp)->t_state = (new_tcp_state); \
51 # define TCP_STATE_SWITCH_TO(tp, new_tcp_state) (tp)->t_state = (new_tcp_state)
56 * TCP_ACCEPTABLE_STATEX(tp, (X-states here))
59 # define TCP_ACCEPTABLE_STATE1(tp, tcp_state1) Assert(((tp)->t_state == (tcp_state)))
60 # define TCP_ACCEPTABLE_STATE2(tp, tcp_state1, tcp_state2) \
62 Assert(( ((tp)->t_state == (tcp_state1)) \
63 || ((tp)->t_state == (tcp_state2)))); \
66 # define TCP_ACCEPTABLE_STATE1(tp, tcp_state1) do { } while(0)
67 # define TCP_ACCEPTABLE_STATE2(tp, tcp_state1, tcp_state2) do { } while(0)