Searched refs:imreq (Results 1 – 2 of 2) sorted by relevance
58 struct ip_mreq imreq = { 0 }; in socket_add_ipv4_multicast_group() local63 imreq.imr_interface.s_addr = IPADDR_ANY; in socket_add_ipv4_multicast_group()74 err = inet_aton(MULTICAST_IPV4_ADDR, &imreq.imr_multiaddr.s_addr); in socket_add_ipv4_multicast_group()81 ESP_LOGI(TAG, "Configured IPV4 Multicast address %s", inet_ntoa(imreq.imr_multiaddr.s_addr)); in socket_add_ipv4_multicast_group()82 if (!IP_MULTICAST(ntohl(imreq.imr_multiaddr.s_addr))) { in socket_add_ipv4_multicast_group()98 &imreq, sizeof(struct ip_mreq)); in socket_add_ipv4_multicast_group()
469 struct ip_mreq imreq = { 0 }; in socket_add_ipv4_multicast_group() local477 imreq.imr_interface.s_addr = ip_info.ip.addr; in socket_add_ipv4_multicast_group()480 imreq.imr_multiaddr.s_addr = multicast_addr.u_addr.ip4.addr; in socket_add_ipv4_multicast_group()482 err = setsockopt(sock, IPPROTO_IP, IP_ADD_MEMBERSHIP, &imreq, sizeof(struct ip_mreq)); in socket_add_ipv4_multicast_group()