X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=blobdiff_plain;f=include%2Fsys%2Ftimex.h;h=2e688880a8b2d71e905091161efa63a32601d53e;hp=f37c13cefee8f2a02e1b30ea995b4102b24f3ac1;hb=ae0c1de530bc3b27069008b8b247171d08dbe80b;hpb=662da62eb7cba808e98fe8ea65f6bbf55fa50f1e diff --git a/include/sys/timex.h b/include/sys/timex.h index f37c13ce..2e688880 100644 --- a/include/sys/timex.h +++ b/include/sys/timex.h @@ -36,6 +36,7 @@ struct timex { #define ADJ_STATUS 0x0010 #define ADJ_TIMECONST 0x0020 #define ADJ_TAI 0x0080 +#define ADJ_SETOFFSET 0x0100 #define ADJ_MICRO 0x1000 #define ADJ_NANO 0x2000 #define ADJ_TICK 0x4000 @@ -50,6 +51,7 @@ struct timex { #define MOD_TIMECONST ADJ_TIMECONST #define MOD_CLKB ADJ_TICK #define MOD_CLKA ADJ_OFFSET_SINGLESHOT +#define MOD_TAI ADJ_TAI #define MOD_MICRO ADJ_MICRO #define MOD_NANO ADJ_NANO @@ -74,7 +76,7 @@ struct timex { #define STA_CLK 0x8000 #define STA_RONLY (STA_PPSSIGNAL | STA_PPSJITTER | STA_PPSWANDER | \ - STA_PPSERROR | STA_CLOCKERR) + STA_PPSERROR | STA_CLOCKERR | STA_NANO | STA_MODE | STA_CLK) #define TIME_OK 0 #define TIME_INS 1