Blame test/simulation/clknetsim/sysheaders.h
|
Packit Service |
623930 |
#ifndef SYSTEM_H
|
|
Packit Service |
623930 |
|
|
Packit Service |
623930 |
#include <stdio.h>
|
|
Packit Service |
623930 |
#include <unistd.h>
|
|
Packit Service |
623930 |
#include <sys/types.h>
|
|
Packit Service |
623930 |
#include <sys/socket.h>
|
|
Packit Service |
623930 |
#include <sys/un.h>
|
|
Packit Service |
623930 |
#include <poll.h>
|
|
Packit Service |
623930 |
#include <time.h>
|
|
Packit Service |
623930 |
#include <sys/time.h>
|
|
Packit Service |
623930 |
#include <sys/timex.h>
|
|
Packit Service |
623930 |
#include <assert.h>
|
|
Packit Service |
623930 |
#include <math.h>
|
|
Packit Service |
623930 |
#include <stddef.h>
|
|
Packit Service |
623930 |
#include <stdlib.h>
|
|
Packit Service |
623930 |
|
|
Packit Service |
623930 |
#ifdef __linux__
|
|
Packit Service |
623930 |
#ifndef ADJ_SETOFFSET
|
|
Packit Service |
623930 |
#define ADJ_SETOFFSET 0x0100 /* add 'time' to current time */
|
|
Packit Service |
623930 |
#endif
|
|
Packit Service |
623930 |
#ifndef ADJ_MICRO
|
|
Packit Service |
623930 |
#define ADJ_MICRO 0x1000 /* select microsecond resolution */
|
|
Packit Service |
623930 |
#endif
|
|
Packit Service |
623930 |
#ifndef ADJ_NANO
|
|
Packit Service |
623930 |
#define ADJ_NANO 0x2000 /* select nanosecond resolution */
|
|
Packit Service |
623930 |
#endif
|
|
Packit Service |
623930 |
#ifndef ADJ_OFFSET_SS_READ
|
|
Packit Service |
623930 |
#define ADJ_OFFSET_SS_READ 0xa001 /* read-only adjtime */
|
|
Packit Service |
623930 |
#endif
|
|
Packit Service |
623930 |
#ifndef STA_NANO
|
|
Packit Service |
623930 |
#define STA_NANO 0x2000 /* resolution (0 = us, 1 = ns) (ro) */
|
|
Packit Service |
623930 |
#endif
|
|
Packit Service |
623930 |
#ifndef STA_MODE
|
|
Packit Service |
623930 |
#define STA_MODE 0x4000 /* mode (0 = PLL, 1 = FLL) (ro) */
|
|
Packit Service |
623930 |
#endif
|
|
Packit Service |
623930 |
#endif
|
|
Packit Service |
623930 |
|
|
Packit Service |
623930 |
#endif
|