Lines Matching full:baud
69 * Converts POSIX speed_t to a baud rate. The values of the
159 * Converts a numeric baud rate to a POSIX speed_t.
162 baud_to_speed(int baud) in baud_to_speed() argument
164 switch (baud) { in baud_to_speed()
300 /* Store input and output baud rates. */ in ssh_tty_make_modes()
349 u_int baud, u; in ssh_tty_parse_modes() local
380 if ((r = sshbuf_get_u32(buf, &baud)) != 0) in ssh_tty_parse_modes()
383 cfsetispeed(&tio, baud_to_speed(baud)) == -1) in ssh_tty_parse_modes()
384 error("cfsetispeed failed for %d", baud); in ssh_tty_parse_modes()
388 if ((r = sshbuf_get_u32(buf, &baud)) != 0) in ssh_tty_parse_modes()
391 cfsetospeed(&tio, baud_to_speed(baud)) == -1) in ssh_tty_parse_modes()
392 error("cfsetospeed failed for %d", baud); in ssh_tty_parse_modes()