Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for SCM_MONOTONIC as a control message for FreeBSD. #2186

Closed
recatek opened this issue Nov 13, 2023 · 0 comments · Fixed by #2187
Closed

Add support for SCM_MONOTONIC as a control message for FreeBSD. #2186

recatek opened this issue Nov 13, 2023 · 0 comments · Fixed by #2187

Comments

@recatek
Copy link
Contributor

recatek commented Nov 13, 2023

On FreeBSD using SO_TS_MONOTONIC (see #2058) on a socket allows you receive timestamps as a monotonic timespec. The support for the SO_TS_CLOCK switch was added to nix some time ago, but not the way to access the data as a control message. Adding ScmMonotonic to nix::sys::socket::ControlMessageOwned would close the loop here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant