We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e2f5f3 commit a4c162aCopy full SHA for a4c162a
src/sys/socket/sockopt.rs
@@ -10,6 +10,7 @@ use std::ffi::{CStr, CString};
10
11
// Constants
12
// TCP_CA_NAME_MAX isn't defined in user space include files
13
+#[cfg(any(target_os = "freebsd", target_os = "linux"))]
14
const TCP_CA_NAME_MAX: usize = 16;
15
16
/// Helper for implementing `SetSockOpt` for a given socket option. See
0 commit comments