Skip to content

Commit

Permalink
Add the TCP_FUNCTION_BLK and TCP_FUNCTION_ALIAS socket options
Browse files Browse the repository at this point in the history
For FreeBSD only
  • Loading branch information
asomers committed Nov 15, 2024
1 parent 3a0b044 commit eb40881
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libc-test/semver/freebsd.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1510,6 +1510,8 @@ TCP_DELACK
TCP_FASTOPEN
TCP_FASTOPEN_PSK_LEN
TCP_FIN_IS_RST
TCP_FUNCTION_ALIAS
TCP_FUNCTION_BLK
TCP_FUNCTION_NAME_LEN_MAX
TCP_IDLE_REDUCE
TCP_INFO
Expand Down
2 changes: 2 additions & 0 deletions src/unix/bsd/freebsdlike/freebsd/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3827,6 +3827,8 @@ pub const TCP_KEEPINIT: ::c_int = 128;
pub const TCP_FASTOPEN: ::c_int = 1025;
pub const TCP_PCAP_OUT: ::c_int = 2048;
pub const TCP_PCAP_IN: ::c_int = 4096;
pub const TCP_FUNCTION_BLK: ::c_int = 8192;
pub const TCP_FUNCTION_ALIAS: ::c_int = 8193;
pub const TCP_FASTOPEN_PSK_LEN: ::c_int = 16;
pub const TCP_FUNCTION_NAME_LEN_MAX: ::c_int = 32;

Expand Down

0 comments on commit eb40881

Please sign in to comment.