Lines Matching refs: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)
164 switch (baud) {
300 /* Store input and output baud rates. */
349 u_int baud, u;
380 if ((r = sshbuf_get_u32(buf, &baud)) != 0)
383 cfsetispeed(&tio, baud_to_speed(baud)) == -1)
384 error("cfsetispeed failed for %d", baud);
388 if ((r = sshbuf_get_u32(buf, &baud)) != 0)
391 cfsetospeed(&tio, baud_to_speed(baud)) == -1)
392 error("cfsetospeed failed for %d", baud);