003 File Manager
Current Path:
/usr/src/contrib/ntp/include
usr
/
src
/
contrib
/
ntp
/
include
/
📁
..
📄
Makefile.am
(1.2 KB)
📄
Makefile.in
(24.68 KB)
📄
README
(157 B)
📄
adjtime.h
(1.96 KB)
📄
ascii.h
(2.78 KB)
📄
audio.h
(283 B)
📄
binio.h
(3.26 KB)
📄
declcond.h
(803 B)
📄
gps.h
(2.84 KB)
📄
hopf6039.h
(3.51 KB)
📄
icom.h
(2.33 KB)
📄
ieee754io.h
(2.94 KB)
📄
intreswork.h
(808 B)
📄
iosignal.h
(1.46 KB)
📁
isc
📄
l_stdlib.h
(4.8 KB)
📄
lib_strbuf.h
(674 B)
📄
libntp.h
(436 B)
📄
libssl_compat.h
(4.25 KB)
📄
mbg_gps166.h
(36.84 KB)
📄
mx4200.h
(2.15 KB)
📄
ntif.h
(2.86 KB)
📄
ntp.h
(33.52 KB)
📄
ntp_assert.h
(2.73 KB)
📄
ntp_calendar.h
(14.99 KB)
📄
ntp_calgps.h
(4.02 KB)
📄
ntp_cmdargs.h
(38 B)
📄
ntp_config.h
(8.33 KB)
📄
ntp_control.h
(5.66 KB)
📄
ntp_crypto.h
(6.61 KB)
📄
ntp_datum.h
(1.07 KB)
📄
ntp_debug.h
(635 B)
📄
ntp_filegen.h
(1.76 KB)
📄
ntp_fp.h
(13.37 KB)
📄
ntp_if.h
(651 B)
📄
ntp_intres.h
(1.77 KB)
📄
ntp_io.h
(1.82 KB)
📄
ntp_keyacc.h
(658 B)
📄
ntp_libopts.h
(330 B)
📄
ntp_lineedit.h
(251 B)
📄
ntp_lists.h
(12.09 KB)
📄
ntp_machine.h
(7.18 KB)
📄
ntp_malloc.h
(1.18 KB)
📄
ntp_md5.h
(1.32 KB)
📄
ntp_net.h
(6.61 KB)
📄
ntp_prio_q.h
(1.93 KB)
📄
ntp_proto.h
(95 B)
📄
ntp_psl.h
(342 B)
📄
ntp_random.h
(402 B)
📄
ntp_refclock.h
(7.81 KB)
📄
ntp_request.h
(30.83 KB)
📄
ntp_rfc2553.h
(8.46 KB)
📄
ntp_select.h
(1.02 KB)
📄
ntp_stdlib.h
(9.83 KB)
📄
ntp_string.h
(708 B)
📄
ntp_syscall.h
(1.17 KB)
📄
ntp_syslog.h
(2.94 KB)
📄
ntp_tty.h
(2.61 KB)
📄
ntp_types.h
(7.21 KB)
📄
ntp_unixtime.h
(1.6 KB)
📄
ntp_worker.h
(5.54 KB)
📄
ntp_workimpl.h
(749 B)
📄
ntpd.h
(20.67 KB)
📄
ntpsim.h
(3.85 KB)
📄
parse.h
(14.58 KB)
📄
parse_conf.h
(2.76 KB)
📄
rc_cmdlength.h
(83 B)
📄
recvbuff.h
(3.84 KB)
📄
refclock_atom.h
(449 B)
📄
refidsmear.h
(89 B)
📄
safecast.h
(1.04 KB)
📄
ssl_applink.c
(2.1 KB)
📄
timepps-SCO.h
(11.67 KB)
📄
timepps-Solaris.h
(13.24 KB)
📄
timepps-SunOS.h
(11.78 KB)
📄
timespecops.h
(4.82 KB)
📄
timetoa.h
(2.62 KB)
📄
timevalops.h
(8.33 KB)
📄
timexsup.h
(1.37 KB)
📄
trimble.h
(8.01 KB)
📄
vint64ops.h
(1.05 KB)
Editing: ntp_tty.h
/* * ntp_tty.h - header file for serial lines handling */ #ifndef NTP_TTY_H #define NTP_TTY_H /* * use only one tty model - no use in initialising * a tty in three ways * HAVE_TERMIOS is preferred over HAVE_SYSV_TTYS over HAVE_BSD_TTYS */ #if defined(HAVE_TERMIOS_H) || defined(HAVE_SYS_TERMIOS_H) # define HAVE_TERMIOS #elif defined(HAVE_TERMIO_H) # define HAVE_SYSV_TTYS #elif defined(HAVE_SGTTY_H) # define HAVE_BSD_TTYS #endif #if !defined(VMS) && !defined(SYS_VXWORKS) # if !defined(HAVE_SYSV_TTYS) \ && !defined(HAVE_BSD_TTYS) \ && !defined(HAVE_TERMIOS) #include "ERROR: no tty type defined!" # endif #endif /* !VMS && !SYS_VXWORKS*/ #if defined(HAVE_BSD_TTYS) #include <sgtty.h> #define TTY struct sgttyb #endif /* HAVE_BSD_TTYS */ #if defined(HAVE_SYSV_TTYS) #include <termio.h> #define TTY struct termio #ifndef tcsetattr #define tcsetattr(fd, cmd, arg) ioctl(fd, cmd, arg) #endif #ifndef TCSANOW #define TCSANOW TCSETA #endif #ifndef TCIFLUSH #define TCIFLUSH 0 #endif #ifndef TCOFLUSH #define TCOFLUSH 1 #endif #ifndef TCIOFLUSH #define TCIOFLUSH 2 #endif #ifndef tcflush #define tcflush(fd, arg) ioctl(fd, TCFLSH, arg) #endif #endif /* HAVE_SYSV_TTYS */ #if defined(HAVE_TERMIOS) # if defined(HAVE_TERMIOS_H) # ifdef TERMIOS_NEEDS__SVID3 # define _SVID3 # endif # include <termios.h> # ifdef TERMIOS_NEEDS__SVID3 # undef _SVID3 # endif # elif defined(HAVE_SYS_TERMIOS_H) # include <sys/termios.h> # endif # define TTY struct termios #endif #if defined(HAVE_SYS_MODEM_H) #include <sys/modem.h> #endif /* * Line discipline flags. The depredated ones required line discipline * or streams modules to be installed/loaded in the kernel and are now * ignored. Leave the LDISC_CLK and other deprecated symbols defined * until 2013 or 2014 to avoid complicating the use of newer drivers on * older ntpd, which is often as easy as dropping in the refclock *.c. */ #define LDISC_STD 0x000 /* standard */ #define LDISC_CLK 0x001 /* depredated tty_clk \n */ #define LDISC_CLKPPS 0x002 /* depredated tty_clk \377 */ #define LDISC_ACTS 0x004 /* depredated tty_clk #* */ #define LDISC_CHU 0x008 /* depredated */ #define LDISC_PPS 0x010 /* depredated */ #define LDISC_RAW 0x020 /* raw binary */ #define LDISC_ECHO 0x040 /* enable echo */ #define LDISC_REMOTE 0x080 /* remote mode */ #define LDISC_7O1 0x100 /* 7-bit, odd parity for Z3801A */ /* function prototypes for ntp_tty.c */ #if !defined(SYS_VXWORKS) && !defined(SYS_WINNT) # if defined(HAVE_TERMIOS) || defined(HAVE_SYSV_TTYS) || \ defined(HAVE_BSD_TTYS) extern int ntp_tty_setup(int, u_int, u_int); extern int ntp_tty_ioctl(int, u_int); # endif #endif #endif /* NTP_TTY_H */
Upload File
Create Folder