aboutsummaryrefslogtreecommitdiff
path: root/linux-headers/include/linux/net_tstamp.h
diff options
context:
space:
mode:
authorKito Cheng <kito.cheng@sifive.com>2021-01-08 11:41:26 +0800
committerKito Cheng <kito.cheng@sifive.com>2021-04-01 11:11:29 +0800
commita736f13279640936c2864c338e7c09c4777e1766 (patch)
treefbe30677f70fadad92d5514611463db9a8f1dcd3 /linux-headers/include/linux/net_tstamp.h
parent457daed7711b579a1ee538a9e1f202735bfe8903 (diff)
downloadriscv-gnu-toolchain-a736f13279640936c2864c338e7c09c4777e1766.zip
riscv-gnu-toolchain-a736f13279640936c2864c338e7c09c4777e1766.tar.gz
riscv-gnu-toolchain-a736f13279640936c2864c338e7c09c4777e1766.tar.bz2
Update linux header to 5.10.5
Diffstat (limited to 'linux-headers/include/linux/net_tstamp.h')
-rw-r--r--linux-headers/include/linux/net_tstamp.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/linux-headers/include/linux/net_tstamp.h b/linux-headers/include/linux/net_tstamp.h
index e5b3972..7ed0b3d 100644
--- a/linux-headers/include/linux/net_tstamp.h
+++ b/linux-headers/include/linux/net_tstamp.h
@@ -90,6 +90,17 @@ enum hwtstamp_tx_types {
* queue.
*/
HWTSTAMP_TX_ONESTEP_SYNC,
+
+ /*
+ * Same as HWTSTAMP_TX_ONESTEP_SYNC, but also enables time
+ * stamp insertion directly into PDelay_Resp packets. In this
+ * case, neither transmitted Sync nor PDelay_Resp packets will
+ * receive a time stamp via the socket error queue.
+ */
+ HWTSTAMP_TX_ONESTEP_P2P,
+
+ /* add new constants above here */
+ __HWTSTAMP_TX_CNT
};
/* possible values for hwtstamp_config->rx_filter */
@@ -132,6 +143,9 @@ enum hwtstamp_rx_filters {
/* NTP, UDP, all versions and packet modes */
HWTSTAMP_FILTER_NTP_ALL,
+
+ /* add new constants above here */
+ __HWTSTAMP_FILTER_CNT
};
/* SCM_TIMESTAMPING_PKTINFO control message */