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

Ipv6 incl hop limit #543

Merged
merged 6 commits into from
Dec 5, 2024

Conversation

andreybuchinskiy
Copy link
Contributor

Adding support for enabling IPV6_RECVHOPLIMIT on sockets for Linux OS

@andreybuchinskiy
Copy link
Contributor Author

Clippy is failing, but it is also failing on master. I can make the required changes to make Clippy happy if necessary.

src/sys/unix.rs Outdated Show resolved Hide resolved
src/socket.rs Outdated Show resolved Hide resolved
@andreybuchinskiy andreybuchinskiy changed the title Ipv6 incl header Ipv6 incl hop limit Dec 2, 2024
Copy link
Collaborator

@Thomasdezeeuw Thomasdezeeuw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Forgot to ask last time, can you add a test? A basic set & get should be sufficient, see tests/socket.rs.

@Thomasdezeeuw Thomasdezeeuw merged commit 56e625e into rust-lang:master Dec 5, 2024
39 of 40 checks passed
@Thomasdezeeuw
Copy link
Collaborator

Thanks @andreybuchinskiy

@andreybuchinskiy andreybuchinskiy deleted the ipv6_incl_header branch December 5, 2024 15:11
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 this pull request may close these issues.

2 participants