History

net: define receive timestamp filter for NTP

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.

Miroslav Lichvar committed 9 years ago

Commit b8210a91 parent 2061ec32 files · +5 −0Browse files

Showing the changes to include/uapi/linux (1 of 2 files). Show all

Unified · Split

include/uapi/linux/net_tstamp.h+3−0
@@ -125,6 +125,9 @@ enum hwtstamp_rx_filters { · 124 unmodified lines
125 HWTSTAMP_FILTER_PTP_V2_SYNC,125 HWTSTAMP_FILTER_PTP_V2_SYNC,
126 /* PTP v2/802.AS1, any layer, Delay_req packet */126 /* PTP v2/802.AS1, any layer, Delay_req packet */
127 HWTSTAMP_FILTER_PTP_V2_DELAY_REQ,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#endif /* _NET_TIMESTAMPING_H */133#endif /* _NET_TIMESTAMPING_H */