We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8a7e251 + a09bc47 commit fb6e1e5Copy full SHA for fb6e1e5
src/unix/linux_like/linux/mod.rs
@@ -563,6 +563,12 @@ s! {
563
pub instruction_pointer: ::__u64,
564
pub args: [::__u64; 6],
565
}
566
+
567
+ // linux/net_tstamp.h
568
+ pub struct sock_txtime {
569
+ pub clockid: ::clockid_t,
570
+ pub flags: ::__u32,
571
+ }
572
573
574
s_no_extra_traits! {
@@ -2510,6 +2516,8 @@ pub const SOF_TIMESTAMPING_RX_SOFTWARE: ::c_uint = 1 << 3;
2510
2516
pub const SOF_TIMESTAMPING_SOFTWARE: ::c_uint = 1 << 4;
2511
2517
pub const SOF_TIMESTAMPING_SYS_HARDWARE: ::c_uint = 1 << 5;
2512
2518
pub 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;
2513
2521
2514
2522
// linux/if_alg.h
2515
2523
pub const ALG_SET_KEY: ::c_int = 1;
0 commit comments