File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -1679,6 +1679,25 @@ pub const SCM_TIMESTAMPING: ::c_int = SO_TIMESTAMPING;
1679
1679
pub const MODULE_INIT_IGNORE_MODVERSIONS : :: c_uint = 0x0001 ;
1680
1680
pub const MODULE_INIT_IGNORE_VERMAGIC : :: c_uint = 0x0002 ;
1681
1681
1682
+ // linux/net_tstamp.h
1683
+ pub const SOF_TIMESTAMPING_TX_HARDWARE : :: c_uint = 1 << 0 ;
1684
+ pub const SOF_TIMESTAMPING_TX_SOFTWARE : :: c_uint = 1 << 1 ;
1685
+ pub const SOF_TIMESTAMPING_RX_HARDWARE : :: c_uint = 1 << 2 ;
1686
+ pub const SOF_TIMESTAMPING_RX_SOFTWARE : :: c_uint = 1 << 3 ;
1687
+ pub const SOF_TIMESTAMPING_SOFTWARE : :: c_uint = 1 << 4 ;
1688
+ pub const SOF_TIMESTAMPING_SYS_HARDWARE : :: c_uint = 1 << 5 ;
1689
+ pub const SOF_TIMESTAMPING_RAW_HARDWARE : :: c_uint = 1 << 6 ;
1690
+ pub const SOF_TIMESTAMPING_OPT_ID : :: c_uint = 1 << 7 ;
1691
+ pub const SOF_TIMESTAMPING_TX_SCHED : :: c_uint = 1 << 8 ;
1692
+ pub const SOF_TIMESTAMPING_TX_ACK : :: c_uint = 1 << 9 ;
1693
+ pub const SOF_TIMESTAMPING_OPT_CMSG : :: c_uint = 1 << 10 ;
1694
+ pub const SOF_TIMESTAMPING_OPT_TSONLY : :: c_uint = 1 << 11 ;
1695
+ pub const SOF_TIMESTAMPING_OPT_STATS : :: c_uint = 1 << 12 ;
1696
+ pub const SOF_TIMESTAMPING_OPT_PKTINFO : :: c_uint = 1 << 13 ;
1697
+ pub const SOF_TIMESTAMPING_OPT_TX_SWHW : :: c_uint = 1 << 14 ;
1698
+ pub const SOF_TIMESTAMPING_LAST : :: c_uint = SOF_TIMESTAMPING_OPT_TX_SWHW ;
1699
+ pub const SOF_TIMESTAMPING_MASK : :: c_uint = ( SOF_TIMESTAMPING_LAST - 1 ) | SOF_TIMESTAMPING_LAST ;
1700
+
1682
1701
f ! {
1683
1702
pub fn CPU_ZERO ( cpuset: & mut cpu_set_t) -> ( ) {
1684
1703
for slot in cpuset. bits. iter_mut( ) {
You can’t perform that action at this time.
0 commit comments