Searched refs:v6imreq (Results 1 – 2 of 2) sorted by relevance
/hal_espressif-3.6.0/examples/protocols/sockets/udp_multicast/main/ |
D | udp_multicast_example_main.c | 176 struct ipv6_mreq v6imreq = { 0 }; in create_multicast_ipv6_socket() local 251 err = inet6_aton(MULTICAST_IPV6_ADDR, &v6imreq.ipv6mr_multiaddr); in create_multicast_ipv6_socket() 256 ESP_LOGI(TAG, "Configured IPV6 Multicast address %s", inet6_ntoa(v6imreq.ipv6mr_multiaddr)); in create_multicast_ipv6_socket() 258 inet6_addr_to_ip6addr(&multi_addr, &v6imreq.ipv6mr_multiaddr); in create_multicast_ipv6_socket() 263 v6imreq.ipv6mr_interface = (unsigned int)netif_index; in create_multicast_ipv6_socket() 265 &v6imreq, sizeof(struct ipv6_mreq)); in create_multicast_ipv6_socket()
|
/hal_espressif-3.6.0/components/mdns/ |
D | mdns_networking_socket.c | 454 struct ipv6_mreq v6imreq = { 0 }; in socket_add_ipv6_multicast_group() local 456 … memcpy(&v6imreq.ipv6mr_multiaddr, &multi_addr.u_addr.ip6.addr, sizeof(v6imreq.ipv6mr_multiaddr)); in socket_add_ipv6_multicast_group() 457 v6imreq.ipv6mr_interface = ifindex; in socket_add_ipv6_multicast_group() 458 err = setsockopt(sock, IPPROTO_IPV6, IPV6_ADD_MEMBERSHIP, &v6imreq, sizeof(struct ipv6_mreq)); in socket_add_ipv6_multicast_group()
|