Skip to content

macos: add TCP_FASTOPEN_FORCE_ENABLE #3135

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

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions libc-test/semver/apple.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1349,6 +1349,7 @@ TAB2
TAB3
TABDLY
TCP_FASTOPEN
TCP_FASTOPEN_FORCE_ENABLE
TCP_KEEPALIVE
TCP_KEEPCNT
TCP_KEEPINTVL
Expand Down
2 changes: 2 additions & 0 deletions src/unix/bsd/apple/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3657,6 +3657,8 @@ pub const TCP_KEEPINTVL: ::c_int = 0x101;
pub const TCP_KEEPCNT: ::c_int = 0x102;
/// Enable/Disable TCP Fastopen on this socket
pub const TCP_FASTOPEN: ::c_int = 0x105;
/// Disable/Enable TCP Fastopen backoff mechanism.
pub const TCP_FASTOPEN_FORCE_ENABLE: ::c_int = 0x218;

pub const SOL_LOCAL: ::c_int = 0;

Expand Down