Add HWTSTAMP_FILTER_NTP_ALL to the hwtstamp_rx_filters enum for timestamping of NTP packets. There is currently only one driver (phyter) that could support it directly.
Showing the changes to include/uapi/linux (1 of 2 files). Show all
Unified · Split
| @@ -125,6 +125,9 @@ enum hwtstamp_rx_filters { · 124 unmodified lines | ||
| 125 | 125 | HWTSTAMP_FILTER_PTP_V2_SYNC, |
| 126 | 126 | /* PTP v2/802.AS1, any layer, Delay_req packet */ |
| 127 | 127 | HWTSTAMP_FILTER_PTP_V2_DELAY_REQ, |
| 128 | + | |
| 129 | + /* NTP, UDP, all versions and packet modes */ | |
| 130 | + HWTSTAMP_FILTER_NTP_ALL, | |
| 128 | 131 | }; |
| 129 | 132 | |
| 130 | 133 | #endif /* _NET_TIMESTAMPING_H */ |