mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-04 08:15:07 -05:00
ntp: allow TX-only HW timestamping by default
If no rxfilter is specified in the hwtimestamp directive and the NIC doesn't support the all or ntp filter, enable TX-only HW timestamping with the none filter.
This commit is contained in:
7
conf.h
7
conf.h
@@ -118,9 +118,10 @@ extern char *CNF_GetHwclockFile(void);
|
||||
extern int CNF_GetInitSources(void);
|
||||
extern double CNF_GetInitStepThreshold(void);
|
||||
|
||||
#define CNF_HWTS_RXFILTER_NONE 0
|
||||
#define CNF_HWTS_RXFILTER_NTP 1
|
||||
#define CNF_HWTS_RXFILTER_ALL 2
|
||||
#define CNF_HWTS_RXFILTER_ANY 0
|
||||
#define CNF_HWTS_RXFILTER_NONE 1
|
||||
#define CNF_HWTS_RXFILTER_NTP 2
|
||||
#define CNF_HWTS_RXFILTER_ALL 3
|
||||
|
||||
typedef struct {
|
||||
char *name;
|
||||
|
||||
Reference in New Issue
Block a user