diff options
author | Chris Spencer <spencercw@gmail.com> | 2023-06-02 15:28:12 +0100 |
---|---|---|
committer | Chris Spencer <spencercw@gmail.com> | 2023-06-02 16:04:23 +0100 |
commit | d66c0c1d5a8c7515f699428d063f179328aff32e (patch) | |
tree | 885766d1b5f3fa1f88a87510747b13b89faa6079 /src | |
parent | 6c91a149327c987a2644d2a662b49ef7339485c9 (diff) | |
download | nix-d66c0c1d5a8c7515f699428d063f179328aff32e.zip |
Enable additional socket timestamping flags
Diffstat (limited to 'src')
-rw-r--r-- | src/sys/socket/mod.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/sys/socket/mod.rs b/src/sys/socket/mod.rs index 84812205..5ecfbe32 100644 --- a/src/sys/socket/mod.rs +++ b/src/sys/socket/mod.rs @@ -255,6 +255,10 @@ libc_bitflags! { SOF_TIMESTAMPING_RX_HARDWARE; /// Collect receiving timestamps as reported by software SOF_TIMESTAMPING_RX_SOFTWARE; + /// Generate a unique identifier along with each transmitted packet + SOF_TIMESTAMPING_OPT_ID; + /// Return transmit timestamps alongside an empty packet instead of the original packet + SOF_TIMESTAMPING_OPT_TSONLY; } } |