We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6619d8d commit 72e6aa7Copy full SHA for 72e6aa7
src/sys/socket/sockopt.rs
@@ -479,6 +479,17 @@ sockopt_impl!(
479
libc::IP_MULTICAST_LOOP,
480
bool
481
);
482
+#[cfg(feature = "net")]
483
+sockopt_impl!(
484
+ #[cfg_attr(docsrs, doc(cfg(feature = "net")))]
485
+ /// Set or read a boolean integer argument that determines whether sent
486
+ /// multicast packets should be looped back to the local sockets.
487
+ Ipv6MulticastLoop,
488
+ Both,
489
+ libc::IPPROTO_IPV6,
490
+ libc::IPV6_MULTICAST_LOOP,
491
+ bool
492
+);
493
#[cfg(target_os = "linux")]
494
#[cfg(feature = "net")]
495
sockopt_impl!(
0 commit comments