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 SO_TS_* constants for FreeBSD #3098

Merged
merged 1 commit into from
Feb 2, 2023

Conversation

folkertdev
Copy link
Contributor

@folkertdev folkertdev commented Feb 2, 2023

These constants are used in timestamping of packets on a socket. The definitions come from https://github.com/bminor/newlib/blob/master/newlib/libc/sys/rtems/include/sys/socket.h#L165.

For context, here is an example of some of these being used on FreeBSD for packet timestamping in NTP: https://github.com/ntpsec/ntpsec/blob/master/ntpd/ntp_packetstamp.c.

@rustbot
Copy link
Collaborator

rustbot commented Feb 2, 2023

r? @JohnTitor

(rustbot has picked a reviewer for you, use r? to override)

@JohnTitor
Copy link
Member

Thanks 👍 @bors r+

@bors
Copy link
Contributor

bors commented Feb 2, 2023

📌 Commit 694e371 has been approved by JohnTitor

It is now in the queue for this repository.

@bors
Copy link
Contributor

bors commented Feb 2, 2023

⌛ Testing commit 694e371 with merge ac5223a...

@bors
Copy link
Contributor

bors commented Feb 2, 2023

☀️ Test successful - checks-actions, checks-cirrus-freebsd-12, checks-cirrus-freebsd-13, checks-cirrus-freebsd-14
Approved by: JohnTitor
Pushing ac5223a to master...

@bors bors merged commit ac5223a into rust-lang:master Feb 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants