Lines Matching refs:tunnel_state
79 h1_tunnel_state tunnel_state; member
87 return ts && (ts->tunnel_state == H1_TUNNEL_ESTABLISHED); in tunnel_is_established()
92 return ts && (ts->tunnel_state == H1_TUNNEL_FAILED); in tunnel_is_failed()
104 ts->tunnel_state = H1_TUNNEL_INIT; in tunnel_reinit()
142 if(ts->tunnel_state == new_state) in h1_tunnel_go_state()
153 ts->tunnel_state = H1_TUNNEL_CONNECT; in h1_tunnel_go_state()
160 ts->tunnel_state = H1_TUNNEL_RECEIVE; in h1_tunnel_go_state()
165 ts->tunnel_state = H1_TUNNEL_RESPONSE; in h1_tunnel_go_state()
177 ts->tunnel_state = new_state; in h1_tunnel_go_state()
212 return (ts->tunnel_state == H1_TUNNEL_CONNECT); in tunnel_want_send()
886 switch(ts->tunnel_state) { in H1_CONNECT()
954 DEBUGASSERT(ts->tunnel_state == H1_TUNNEL_RESPONSE); in H1_CONNECT()