Home
last modified time | relevance | path

Searched refs:active_state (Results 1 – 1 of 1) sorted by relevance

/external/openssh/
Dpacket.c197 static struct session_state *active_state, *backup_state; variable
222 if (active_state == NULL) in packet_set_connection()
223 active_state = alloc_session_state(); in packet_set_connection()
224 active_state->connection_in = fd_in; in packet_set_connection()
225 active_state->connection_out = fd_out; in packet_set_connection()
226 cipher_init(&active_state->send_context, none, (const u_char *)"", in packet_set_connection()
228 cipher_init(&active_state->receive_context, none, (const u_char *)"", in packet_set_connection()
230 active_state->newkeys[MODE_IN] = active_state->newkeys[MODE_OUT] = NULL; in packet_set_connection()
231 if (!active_state->initialized) { in packet_set_connection()
232 active_state->initialized = 1; in packet_set_connection()
[all …]