Searched refs:mcast_addr (Results 1 – 6 of 6) sorted by relevance
/third_party/ltp/testcases/network/stress/ns-tools/ |
D | ns-mcast_join.c | 79 char *mcast_addr; /* multicast address to join/leave */ variable 231 mcast_addr = strdup(optarg); in parse_options() 331 if (mcast_addr) { in join_group() 332 strncpy(maddr, mcast_addr, ADDR_STR_MAXSIZE); in join_group() 446 maddr_info = get_maddrinfo(family, mcast_addr, NULL); in join_leave_group() 505 if (mcast_prefix == NULL && mcast_addr == NULL) { in main() 511 if (mcast_addr == NULL) { in main()
|
/third_party/gstreamer/gstreamer/libs/gst/helpers/ |
D | gst-ptp-helper.c | 216 GInetAddress *bind_addr, *mcast_addr; in setup_sockets() local 434 mcast_addr = g_inet_address_new_from_string (PTP_MULTICAST_GROUP); in setup_sockets() 441 if (!g_socket_join_multicast_group (socket_event, mcast_addr, FALSE, *ptr, in setup_sockets() 450 if (!g_socket_join_multicast_group (socket_general, mcast_addr, FALSE, in setup_sockets() 466 if (!g_socket_join_multicast_group (socket_event, mcast_addr, FALSE, NULL, in setup_sockets() 470 if (!g_socket_join_multicast_group (socket_general, mcast_addr, FALSE, in setup_sockets() 477 if (!g_socket_join_multicast_group (socket_event, mcast_addr, FALSE, NULL, in setup_sockets() 481 if (!g_socket_join_multicast_group (socket_general, mcast_addr, FALSE, NULL, in setup_sockets() 487 event_saddr = g_inet_socket_address_new (mcast_addr, PTP_EVENT_PORT); in setup_sockets() 488 general_saddr = g_inet_socket_address_new (mcast_addr, PTP_GENERAL_PORT); in setup_sockets()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/wps/ |
D | wps_upnp_ssdp.c | 730 struct ip_mreq mcast_addr; in ssdp_listener_open() local 747 os_memset(&mcast_addr, 0, sizeof(mcast_addr)); in ssdp_listener_open() 748 mcast_addr.imr_interface.s_addr = htonl(INADDR_ANY); in ssdp_listener_open() 749 mcast_addr.imr_multiaddr.s_addr = inet_addr(UPNP_MULTICAST_ADDRESS); in ssdp_listener_open() 751 (char *) &mcast_addr, sizeof(mcast_addr)) || in ssdp_listener_open()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/wps/ |
D | wps_upnp_ssdp.c | 730 struct ip_mreq mcast_addr; in ssdp_listener_open() local 747 os_memset(&mcast_addr, 0, sizeof(mcast_addr)); in ssdp_listener_open() 748 mcast_addr.imr_interface.s_addr = htonl(INADDR_ANY); in ssdp_listener_open() 749 mcast_addr.imr_multiaddr.s_addr = inet_addr(UPNP_MULTICAST_ADDRESS); in ssdp_listener_open() 751 (char *) &mcast_addr, sizeof(mcast_addr)) || in ssdp_listener_open()
|
/third_party/libuv/src/unix/ |
D | udp.c | 1127 union uv__sockaddr mcast_addr; in uv_udp_set_source_membership() local 1130 err = uv_ip4_addr(multicast_addr, 0, &mcast_addr.in); in uv_udp_set_source_membership() 1132 err = uv_ip6_addr(multicast_addr, 0, &mcast_addr.in6); in uv_udp_set_source_membership() 1139 &mcast_addr.in6, in uv_udp_set_source_membership() 1149 &mcast_addr.in, in uv_udp_set_source_membership()
|
/third_party/libuv/src/win/ |
D | udp.c | 829 struct sockaddr_storage mcast_addr; in uv_udp_set_source_membership() local 836 mcast_addr4 = (struct sockaddr_in*)&mcast_addr; in uv_udp_set_source_membership() 837 mcast_addr6 = (struct sockaddr_in6*)&mcast_addr; in uv_udp_set_source_membership()
|