IPV6_MULTICAST_LOOP(2const) IPV6_MULTICAST_LOOP(2const) NAME IPV6_MULTICAST_LOOP - loop back sent multicast packets to local sockets LIBRARY Standard C library (libc, -lc) SYNOPSIS #include /* Definition of IP* constants */ #include int setsockopt(int sockfd, IPPROTO_IPV6, IPV6_MULTICAST_LOOP, const int *enable, sizeof(int)); int getsockopt(int sockfd, IPPROTO_IPV6, IPV6_MULTICAST_LOOP, int *enabled, sizeof(int)); DESCRIPTION Control whether the socket sees multicast packets that it has send itself. ERRORS See IPPROTO_IPV6(2const). See setsockopt(2). See ipv6(7). HISTORY IPV6_MULTICAST_LOOP POSIX.1-2001. SEE ALSO IP_MULTICAST_LOOP(2const), IPPROTO_IPV6(2const), setsockopt(2), ipv6(7) Linux man-pages 6.17 2026-01-05 IPV6_MULTICAST_LOOP(2const)