-
Notifications
You must be signed in to change notification settings - Fork 1k
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 IP_RECVTTL
and IPV6_RECVHOPLIMIT
for Apple platforms
#3450
Conversation
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @JohnTitor (or someone else) soon. Please see the contribution instructions for more information. Namely, in order to ensure the minimum review times lag, PR authors and assigned reviewers should ensure that the review label (
|
Thank you! @bors r+ |
Add `IP_RECVTTL` and `IPV6_RECVHOPLIMIT` for Apple platforms This adds `IP_RECVTTL` and `IPV6_RECVHOPLIMIT` for Apple platforms, which are currently missing. (There are several other socket options present in `netinet/in.h` and `netinet6/in6.h`. I didn't add these since my code won't need them. Should I add them anyway?)
💔 Test failed - checks-actions |
@bors retry |
☀️ Test successful - checks-actions, checks-cirrus-freebsd-12, checks-cirrus-freebsd-13, checks-cirrus-freebsd-14 |
This adds
IP_RECVTTL
andIPV6_RECVHOPLIMIT
for Apple platforms, which are currently missing.(There are several other socket options present in
netinet/in.h
andnetinet6/in6.h
. I didn't add these since my code won't need them. Should I add them anyway?)