Lines Matching refs:tunnel_state
124 if(conn->tunnel_state[sockindex] == TUNNEL_COMPLETE)
130 if(TUNNEL_INIT == conn->tunnel_state[sockindex]) {
232 conn->tunnel_state[sockindex] = TUNNEL_CONNECT;
344 conn->tunnel_state[sockindex] = TUNNEL_COMPLETE;
439 conn->tunnel_state[sockindex] = TUNNEL_COMPLETE;
462 conn->tunnel_state[sockindex] = TUNNEL_COMPLETE;
554 (TUNNEL_COMPLETE == conn->tunnel_state[sockindex])) {
555 conn->tunnel_state[sockindex] = TUNNEL_INIT;
556 infof(data, "TUNNEL_STATE switched to: %d\n",
557 conn->tunnel_state[sockindex]);
577 conn->tunnel_state[sockindex] = TUNNEL_INIT;
589 conn->tunnel_state[sockindex] = TUNNEL_COMPLETE;