hc
2023-12-08 01573e231f18eb2d99162747186f59511f56b64d
kernel/include/uapi/linux/net_tstamp.h
....@@ -90,6 +90,17 @@
9090 * queue.
9191 */
9292 HWTSTAMP_TX_ONESTEP_SYNC,
93
+
94
+ /*
95
+ * Same as HWTSTAMP_TX_ONESTEP_SYNC, but also enables time
96
+ * stamp insertion directly into PDelay_Resp packets. In this
97
+ * case, neither transmitted Sync nor PDelay_Resp packets will
98
+ * receive a time stamp via the socket error queue.
99
+ */
100
+ HWTSTAMP_TX_ONESTEP_P2P,
101
+
102
+ /* add new constants above here */
103
+ __HWTSTAMP_TX_CNT
93104 };
94105
95106 /* possible values for hwtstamp_config->rx_filter */
....@@ -132,6 +143,9 @@
132143
133144 /* NTP, UDP, all versions and packet modes */
134145 HWTSTAMP_FILTER_NTP_ALL,
146
+
147
+ /* add new constants above here */
148
+ __HWTSTAMP_FILTER_CNT
135149 };
136150
137151 /* SCM_TIMESTAMPING_PKTINFO control message */