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: hopf6039.h
/****************************************************************************/ /* hopf6039.h */ /* hopf Elektronik 6039 PCI radio clock header */ /* (c) 1999, 2000 Bernd Altmeier <altmeier@ATLSoft.de> */ /* Rev. 1.00 Date 25.03.2000 */ /* History: */ /****************************************************************************/ #ifndef _hopf6039_H_ #define _hopf6039_H_ #define HOPF_MAXVERSION 8 #define HOPF_CNTR_MEM_LEN 0x7f #define HOPF_DATA_MEM_LEN 0x3ff /* this is our memory size */ /* macros and definition for 32 to 16 to 8 bit conversion */ typedef unsigned long DWORD; typedef unsigned char BYTE; typedef unsigned short WORD; #define LOWORD(l) ((WORD)(l)) #define HIWORD(l) ((WORD)(((DWORD)(l) >> 16) & 0xFFFF)) #define LOBYTE(w) ((BYTE)(w)) #define HIBYTE(w) ((BYTE)(((WORD)(w) >> 8) & 0xFF)) /* iocntl codes for driver access */ #define HOPF_CLOCK_CMD_MASK 0xff000 #define HOPF_CLOCK_GET_LOCAL 0x10000 #define HOPF_CLOCK_GET_UTC 0x20000 #define HOPF_CLOCK_GET_ANTENNA 0x30000 #define HOPF_CLOCK_GET_DIFFERENCE 0x40000 #define HOPF_CLOCK_GET_VERSION 0x50000 #define HOPF_CLOCK_GET_POSITION 0x60000 #define HOPF_CLOCK_GET_SATDATA 0x70000 #define HOPF_CLOCK_GET_SYSTEMBYTE 0x80000 #define HOPF_CLOCK_GET_IRIG 0x90000 #define HOPF_CLOCK_SET_DIFFERENCE 0x01000 #define HOPF_CLOCK_SET_ANTENNA 0x02000 #define HOPF_CLOCK_SET_TIME 0x03000 #define HOPF_CLOCK_SET_POSITION 0x04000 #define HOPF_CLOCK_SET_SATMODE 0x05000 #define HOPF_CLOCK_SET_SYSTEMBYTE 0x06000 #define HOPF_CLOCK_SET_RESET 0x07000 #define HOPF_CLOCK_SET_IRIG 0x08000 /* clock command codes */ #define HOPF_CLOCK_HARDRESET 0x00008000 #define HOPF_CLOCK_SOFTRESET 0x00004000 /* sat-information */ typedef struct SatStat{ BYTE wVisible; BYTE wMode; BYTE wSat0; BYTE wRat0; BYTE wSat1; BYTE wRat1; BYTE wSat2; BYTE wRat2; BYTE wSat3; BYTE wRat3; BYTE wSat4; BYTE wRat4; BYTE wSat5; BYTE wRat5; BYTE wSat6; BYTE wRat6; BYTE wSat7; BYTE wRat7; } SatStat; /* GPS position */ typedef struct GPSPos { /* Position */ long wAltitude; long wLongitude; long wLatitude; } GPSPos; /* clock hardware version */ typedef struct ClockVersion { char cVersion[255]; /* Hardware Version like " DCF-RECEIVER, VERSION 01.01, DAT: 23.NOV.1999" */ char dVersion[255]; /* Driver Version */ } ClockVersion; /* hopftime what you think */ typedef struct HOPFTIME { unsigned int wYear; unsigned int wMonth; unsigned int wDayOfWeek; unsigned int wDay; unsigned int wHour; unsigned int wMinute; unsigned int wSecond; unsigned int wMilliseconds; unsigned int wStatus; } HOPFTIME; /* DCF77 antenna alignment */ typedef struct DcfAntenne { BYTE bStatus; BYTE bStatus1; WORD wAntValue; } DcfAntenne; /* hopf PCI clock */ typedef struct hopfCard { char name[32]; unsigned irq; unsigned long membase; /* without mmap */ unsigned int port; int versionlen; char versionbuf[1024]; char *version[HOPF_MAXVERSION]; char cardname[32]; int interrupt; void *mbase; /* this will be our memory base address */ } hopfCard; typedef struct cardparams { unsigned int port; unsigned irq; int cardtype; int cardnr; unsigned int membase; } cardparams; #define WRITE_REGISTER 0x00 #define READ_REGISTER 0x01 #endif /* _hopf6039_H_ */
Upload File
Create Folder