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.
TCP_FUNCTION_ALIAS
1 parent e7e9809 commit de91c5fCopy full SHA for de91c5f
src/sys/socket/sockopt.rs
@@ -330,6 +330,19 @@ sockopt_impl!(
330
libc::TCP_FUNCTION_BLK,
331
libc::tcp_function_set
332
);
333
+#[cfg(target_os = "freebsd")]
334
+#[cfg(feature = "net")]
335
+sockopt_impl!(
336
+ #[cfg_attr(docsrs, doc(cfg(feature = "net")))]
337
+ /// Query the alias name of the set of function of the socket's TCP stack.
338
+ /// Uses the same field for the main name when getting from TCP_FUNCTION_BLK.
339
+ /// Empty if no alias.
340
+ TcpFunctionAlias,
341
+ GetOnly,
342
+ libc::IPPROTO_TCP,
343
+ libc::TCP_FUNCTION_ALIAS,
344
+ libc::tcp_function_set
345
+);
346
sockopt_impl!(
347
#[cfg_attr(docsrs, doc(cfg(feature = "net")))]
348
/// Used to disable Nagle's algorithm.
0 commit comments