File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed
src/unix/linux_like/linux Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -670,6 +670,16 @@ s_no_extra_traits! {
670670 }
671671}
672672
673+ cfg_if ! {
674+ if #[ cfg( not( all( target_env = "musl" , target_arch = "mips" ) ) ) ] {
675+ // linux/net_tstamp.h
676+ pub struct sock_txtime {
677+ pub clockid: :: clockid_t,
678+ pub flags: :: __u32,
679+ }
680+ }
681+ }
682+
673683cfg_if ! {
674684 if #[ cfg( libc_union) ] {
675685 s_no_extra_traits! {
@@ -2528,6 +2538,12 @@ pub const SOF_TIMESTAMPING_RX_SOFTWARE: ::c_uint = 1 << 3;
25282538pub const SOF_TIMESTAMPING_SOFTWARE : :: c_uint = 1 << 4 ;
25292539pub const SOF_TIMESTAMPING_SYS_HARDWARE : :: c_uint = 1 << 5 ;
25302540pub const SOF_TIMESTAMPING_RAW_HARDWARE : :: c_uint = 1 << 6 ;
2541+ cfg_if ! {
2542+ if #[ cfg( not( all( target_env = "musl" , target_arch = "mips" ) ) ) ] {
2543+ pub const SOF_TXTIME_DEADLINE_MODE : u32 = 1 << 0 ;
2544+ pub const SOF_TXTIME_REPORT_ERRORS : u32 = 1 << 1 ;
2545+ }
2546+ }
25312547
25322548// linux/if_alg.h
25332549pub const ALG_SET_KEY : :: c_int = 1 ;
You can’t perform that action at this time.
0 commit comments