|
XenevaOS
|
#include <stdint.h>#include <_xeneva.h>#include <stdio.h>#include <sys/_keproc.h>#include <sys/_kefile.h>#include <sys/socket.h>#include <sys/netdb.h>#include <arpa/inet.h>#include <string.h>#include <sys/_ketime.h>#include <time.h>#include <unistd.h>#include <stdlib.h>
Classes | |
| struct | ntp_packet_t |
Macros | |
| #define | NTP_PORT 123 |
| #define | NTP_UNIX_EPOCH_DELTA 2208988800UL |
| #define | NTP_POLL_TRIES 20 |
| #define | NTP_POLL_SLEEP_MS 150 |
| #define | NTP_SYNC_INTERVAL_SEC 1800 |
| #define | NTP_RETRY_BACKOFF_SEC 30 |
Functions | |
| int | main (int argc, char *argv[]) |
| #define NTP_POLL_SLEEP_MS 150 |
| #define NTP_POLL_TRIES 20 |
| #define NTP_PORT 123 |
| #define NTP_RETRY_BACKOFF_SEC 30 |
| #define NTP_SYNC_INTERVAL_SEC 1800 |
| #define NTP_UNIX_EPOCH_DELTA 2208988800UL |
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |