Home
last modified time | relevance | path

Searched refs:mreq6 (Results 1 – 2 of 2) sorted by relevance

/third_party/ffmpeg/libavformat/
Dudp.c202 struct ipv6_mreq mreq6; in udp_join_multicast_group() local
204 …memcpy(&mreq6.ipv6mr_multiaddr, &(((struct sockaddr_in6 *)addr)->sin6_addr), sizeof(struct in6_add… in udp_join_multicast_group()
206 mreq6.ipv6mr_interface = 0; in udp_join_multicast_group()
207 if (setsockopt(sockfd, IPPROTO_IPV6, IPV6_ADD_MEMBERSHIP, &mreq6, sizeof(mreq6)) < 0) { in udp_join_multicast_group()
235 struct ipv6_mreq mreq6; in udp_leave_multicast_group() local
237 …memcpy(&mreq6.ipv6mr_multiaddr, &(((struct sockaddr_in6 *)addr)->sin6_addr), sizeof(struct in6_add… in udp_leave_multicast_group()
239 mreq6.ipv6mr_interface = 0; in udp_leave_multicast_group()
240 if (setsockopt(sockfd, IPPROTO_IPV6, IPV6_DROP_MEMBERSHIP, &mreq6, sizeof(mreq6)) < 0) { in udp_leave_multicast_group()
/third_party/libcoap/src/
Dnet.c3284 struct ipv6_mreq mreq6; in coap_join_mcast_group_intf() local
3296 mreq6.ipv6mr_interface = 0; in coap_join_mcast_group_intf()
3337 mreq6.ipv6mr_interface = netif_get_index(netif); in coap_join_mcast_group_intf()
3349 mreq6.ipv6mr_interface = if_nametoindex(ifr.ifr_name); in coap_join_mcast_group_intf()
3350 if (mreq6.ipv6mr_interface == 0) { in coap_join_mcast_group_intf()
3364 mreq6.ipv6mr_interface = ifr.ifr_ifindex; in coap_join_mcast_group_intf()
3433 mreq6.ipv6mr_interface = in coap_join_mcast_group_intf()
3437 mreq6.ipv6mr_interface = 0; in coap_join_mcast_group_intf()
3442 gaddr.addr.sin6.sin6_addr = mreq6.ipv6mr_multiaddr = in coap_join_mcast_group_intf()
3445 (char *)&mreq6, sizeof(mreq6)); in coap_join_mcast_group_intf()