ntp: add PTP rxfilter

Setting rxfilter to ptp enables timestamping of PTPv2 packets (UDP or
all transports). It will be needed for NTP-over-PTP support.
This commit is contained in:
Miroslav Lichvar
2021-08-18 10:44:48 +02:00
parent b2c2132e4b
commit 2f1d5d9255
4 changed files with 13 additions and 0 deletions

1
conf.h
View File

@@ -134,6 +134,7 @@ typedef enum {
CNF_HWTS_RXFILTER_ANY,
CNF_HWTS_RXFILTER_NONE,
CNF_HWTS_RXFILTER_NTP,
CNF_HWTS_RXFILTER_PTP,
CNF_HWTS_RXFILTER_ALL,
} CNF_HwTs_RxFilter;