solarish: Add IP TTL and IPv6 Hop Limit consts#5089
Merged
JohnTitor merged 1 commit intorust-lang:mainfrom May 6, 2026
Merged
Conversation
Collaborator
a1352c0 to
7bc8683
Compare
Adds: - IPV6_HOPLIMIT (illumos + solaris) - IPV6_MINHOPCOUNT (illumos) - IP_MINTTL (illumos) Signed-off-by: Trey Aspelund <trey@oxidecomputer.com>
7bc8683 to
1b33d39
Compare
JohnTitor
approved these changes
May 5, 2026
pfmooney
approved these changes
May 5, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds:
Description
Adds const definitions for setsockopt macros
IP_MINTTL,IPV6_HOPLIMITandIPV6_MINHOPCOUNT.Sources
https://code.illumos.org/plugins/gitiles/illumos-gate/+/refs/heads/master/usr/src/uts/common/netinet/in.h#939
https://code.illumos.org/plugins/gitiles/illumos-gate/+/refs/heads/master/usr/src/uts/common/netinet/in.h#1236
https://code.illumos.org/plugins/gitiles/illumos-gate/+/refs/heads/master/usr/src/uts/common/netinet/in.h#1309
Checklist
libc-test/semverhave been updated*LASTor*MAXareincluded (see #3131)
cd libc-test && cargo test --target mytarget);I attempted to run libc-test locally, but it fails to compile due to errors unrelated to this change (the test fails to build/run on main, without this commit). Build errors here.
@rustbot label +stable-nominated