Lines Matching refs:backup_state
2271 struct ssh *backup_state) in ssh_packet_backup_state() argument
2279 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() argument
2299 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()
2305 backup_state->state->connection_out = -1; in ssh_packet_restore_state()
2306 len = sshbuf_len(backup_state->state->input); in ssh_packet_restore_state()
2309 backup_state->state->input)) != 0) in ssh_packet_restore_state()
2311 sshbuf_reset(backup_state->state->input); in ssh_packet_restore_state()