Lines Matching refs:tio
281 struct termios tio; in ssh_tty_make_modes() local
293 if (tcgetattr(fd, &tio) == -1) { in ssh_tty_make_modes()
298 tio = *tiop; in ssh_tty_make_modes()
301 obaud = speed_to_baud(cfgetospeed(&tio)); in ssh_tty_make_modes()
302 ibaud = speed_to_baud(cfgetispeed(&tio)); in ssh_tty_make_modes()
313 special_char_encode(tio.c_cc[NAME]))) != 0) \ in ssh_tty_make_modes()
322 (r = sshbuf_put_u32(buf, ((tio.FIELD & NAME) != 0))) != 0) \ in ssh_tty_make_modes()
345 struct termios tio; in ssh_tty_parse_modes() local
367 if (tcgetattr(fd, &tio) == -1) { in ssh_tty_parse_modes()
383 cfsetispeed(&tio, baud_to_speed(baud)) == -1) in ssh_tty_parse_modes()
391 cfsetospeed(&tio, baud_to_speed(baud)) == -1) in ssh_tty_parse_modes()
399 tio.c_cc[NAME] = special_char_decode(u); \ in ssh_tty_parse_modes()
406 tio.FIELD |= NAME; \ in ssh_tty_parse_modes()
408 tio.FIELD &= ~NAME; \ in ssh_tty_parse_modes()
448 if (tcsetattr(fd, TCSANOW, &tio) == -1) in ssh_tty_parse_modes()