Searched refs:ttyb (Results 1 - 5 of 5) sorted by relevance
/freebsd-11.0-release/contrib/ntp/libntp/ |
H A D | icom.c | 144 TTY ttyb; local 153 rc = tcgetattr(fd, &ttyb); 160 ttyb.c_iflag = 0; /* input modes */ 161 ttyb.c_oflag = 0; /* output modes */ 162 ttyb.c_cflag = IBAUD|CS8|CLOCAL; /* control modes (no read) */ 163 ttyb.c_lflag = 0; /* local modes */ 164 ttyb.c_cc[VMIN] = 0; /* min chars */ 165 ttyb.c_cc[VTIME] = 5; /* receive timeout */ 166 cfsetispeed(&ttyb, (u_int)speed); 167 cfsetospeed(&ttyb, (u_in [all...] |
/freebsd-11.0-release/contrib/ntp/ntpd/ |
H A D | refclock_leitch.c | 279 { struct termio ttyb; local 280 if (ioctl(fd232, TCGETA, &ttyb) < 0) { 285 ttyb.c_iflag = IGNBRK|IGNPAR|ICRNL; 286 ttyb.c_oflag = 0; 287 ttyb.c_cflag = SPEED232|CS8|CLOCAL|CREAD; 288 ttyb.c_lflag = ICANON; 289 ttyb.c_cc[VERASE] = ttyb.c_cc[VKILL] = '\0'; 290 if (ioctl(fd232, TCSETA, &ttyb) < 0) { 301 { struct termios ttyb, *tty local 331 struct sgttyb ttyb; local [all...] |
H A D | ntp_refclock.c | 804 TTY ttyb, *ttyp; local 814 ttyp = &ttyb; 843 cfsetispeed(&ttyb, speed); 844 cfsetospeed(&ttyb, speed);
|
H A D | refclock_msfees.c | 438 struct termios ttyb, *ttyp; local 482 ttyp = &ttyb;
|
/freebsd-11.0-release/contrib/ntp/clockstuff/ |
H A D | chutest.c | 176 struct sgttyb ttyb; local 192 ttyb.sg_ispeed = ttyb.sg_ospeed = B300; 193 ttyb.sg_erase = ttyb.sg_kill = 0; 194 ttyb.sg_flags = EVENP|ODDP|RAW; 197 if (ioctl(s, TIOCSETP, (char *)&ttyb) < 0)
|
Completed in 76 milliseconds