Searched refs:backup_state (Results 1 – 2 of 2) sorted by relevance
9 struct ssh *active_state, *backup_state; variable241 ssh_packet_backup_state(active_state, backup_state); in packet_backup_state()247 ssh_packet_restore_state(active_state, backup_state); in packet_restore_state()
2271 struct ssh *backup_state) in ssh_packet_backup_state() argument2279 if (backup_state) in ssh_packet_backup_state()2280 tmp = backup_state; in ssh_packet_backup_state()2283 backup_state = ssh; in ssh_packet_backup_state()2293 struct ssh *backup_state) in ssh_packet_restore_state() argument2299 tmp = backup_state; in ssh_packet_restore_state()2300 backup_state = ssh; in ssh_packet_restore_state()2302 ssh->state->connection_in = backup_state->state->connection_in; in ssh_packet_restore_state()2303 backup_state->state->connection_in = -1; in ssh_packet_restore_state()2304 ssh->state->connection_out = backup_state->state->connection_out; in ssh_packet_restore_state()[all …]