2 * ntp_tty.h - header file for serial lines handling
4 #ifndef GUARD_NTP_TTY_H
5 #define GUARD_NTP_TTY_H
8 * use only one tty model - no use in initialising
10 * only use HAVE_TERMIOS as it is POSIX-1:2001
15 #if defined(HAVE_SYS_MODEM_H)
16 #include <sys/modem.h>
20 * Line discipline flags.
22 #define LDISC_STD 0x000 /* standard */
23 #define LDISC_RAW 0x020 /* raw binary */
24 #define LDISC_7O1 0x100 /* 7-bit odd parity for Z3801A */
25 #define LDISC_REMOTE 0x080 /* remote mode */
27 #endif /* GUARD_NTP_TTY_H */