File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
src/unix/linux_like/linux Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -563,6 +563,12 @@ s! {
563563 pub instruction_pointer: :: __u64,
564564 pub args: [ :: __u64; 6 ] ,
565565 }
566+
567+ // linux/net_tstamp.h
568+ pub struct sock_txtime {
569+ pub clockid: :: clockid_t,
570+ pub flags: :: __u32,
571+ }
566572}
567573
568574s_no_extra_traits ! {
@@ -2510,6 +2516,8 @@ pub const SOF_TIMESTAMPING_RX_SOFTWARE: ::c_uint = 1 << 3;
25102516pub const SOF_TIMESTAMPING_SOFTWARE : :: c_uint = 1 << 4 ;
25112517pub const SOF_TIMESTAMPING_SYS_HARDWARE : :: c_uint = 1 << 5 ;
25122518pub const SOF_TIMESTAMPING_RAW_HARDWARE : :: c_uint = 1 << 6 ;
2519+ pub const SOF_TXTIME_DEADLINE_MODE : u32 = 1 << 0 ;
2520+ pub const SOF_TXTIME_REPORT_ERRORS : u32 = 1 << 1 ;
25132521
25142522// linux/if_alg.h
25152523pub const ALG_SET_KEY : :: c_int = 1 ;
You can’t perform that action at this time.
0 commit comments