File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed
src/unix/linux_like/linux Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -2020,6 +2020,8 @@ SOF_TIMESTAMPING_SOFTWARE
2020
2020
SOF_TIMESTAMPING_SYS_HARDWARE
2021
2021
SOF_TIMESTAMPING_TX_HARDWARE
2022
2022
SOF_TIMESTAMPING_TX_SOFTWARE
2023
+ SOF_TXTIME_DEADLINE_MODE
2024
+ SOF_TXTIME_REPORT_ERRORS
2023
2025
SOL_AAL
2024
2026
SOL_ALG
2025
2027
SOL_ATM
@@ -2996,6 +2998,7 @@ sigwaitinfo
2996
2998
sock_extended_err
2997
2999
sock_filter
2998
3000
sock_fprog
3001
+ sock_txtime
2999
3002
sockaddr_alg
3000
3003
sockaddr_can
3001
3004
sockaddr_ll
Original file line number Diff line number Diff line change @@ -581,6 +581,13 @@ s! {
581
581
pub nla_len: u16 ,
582
582
pub nla_type: u16 ,
583
583
}
584
+
585
+ // linux/net_tstamp.h
586
+ #[ cfg( not( all( target_env = "musl" , target_arch = "mips" ) ) ) ]
587
+ pub struct sock_txtime {
588
+ pub clockid: :: clockid_t,
589
+ pub flags: :: __u32,
590
+ }
584
591
}
585
592
586
593
s_no_extra_traits ! {
@@ -2528,6 +2535,10 @@ pub const SOF_TIMESTAMPING_RX_SOFTWARE: ::c_uint = 1 << 3;
2528
2535
pub const SOF_TIMESTAMPING_SOFTWARE : :: c_uint = 1 << 4 ;
2529
2536
pub const SOF_TIMESTAMPING_SYS_HARDWARE : :: c_uint = 1 << 5 ;
2530
2537
pub const SOF_TIMESTAMPING_RAW_HARDWARE : :: c_uint = 1 << 6 ;
2538
+ #[ cfg( not( all( target_env = "musl" , target_arch = "mips" ) ) ) ]
2539
+ pub const SOF_TXTIME_DEADLINE_MODE : u32 = 1 << 0 ;
2540
+ #[ cfg( not( all( target_env = "musl" , target_arch = "mips" ) ) ) ]
2541
+ pub const SOF_TXTIME_REPORT_ERRORS : u32 = 1 << 1 ;
2531
2542
2532
2543
// linux/if_alg.h
2533
2544
pub const ALG_SET_KEY : :: c_int = 1 ;
You can’t perform that action at this time.
0 commit comments