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 the TCP_FUNCTION_BLK socket option, on FreeBSD #2539

Merged
merged 1 commit into from
Nov 20, 2024

Conversation

asomers
Copy link
Member

@asomers asomers commented Nov 15, 2024

What does this PR do

Adds the TCP_FUNCTION_BLK socket option, used to set or query a socket's TCP stack, on FreeBSD only

Checklist:

  • I have read CONTRIBUTING.md
  • I have written necessary tests and rustdoc comments
  • A change log has been added if this PR modifies nix's API

@asomers
Copy link
Member Author

asomers commented Nov 15, 2024

Note: do not merge until after the libc PR has been merged, and then backported to libc-0.2: rust-lang/libc#4047

test/sys/test_sockopt.rs Outdated Show resolved Hide resolved
@asomers asomers force-pushed the TCP_FUNCTION_BLK branch 2 times, most recently from 179ef69 to 39a16ea Compare November 19, 2024 14:04
@asomers
Copy link
Member Author

asomers commented Nov 19, 2024

The relevant PR has been merged to libc, backported to the 0.2 branch, and released in libc 0.2.163.

Copy link
Member

@SteveLauC SteveLauC left a comment

Choose a reason for hiding this comment

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

Thanks!

@SteveLauC SteveLauC added this pull request to the merge queue Nov 20, 2024
Merged via the queue into nix-rust:master with commit db4ce6a Nov 20, 2024
40 checks passed
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