Lines Matching refs:interface_addr
552 const char* interface_addr, in uv__udp_set_membership4() argument
571 if (interface_addr) { in uv__udp_set_membership4()
572 err = uv_inet_pton(AF_INET, interface_addr, &mreq.imr_interface.s_addr); in uv__udp_set_membership4()
606 const char* interface_addr, in uv__udp_set_membership6() argument
626 if (interface_addr) { in uv__udp_set_membership6()
627 if (uv_ip6_addr(interface_addr, 0, &addr6)) in uv__udp_set_membership6()
661 const char* interface_addr, in uv__udp_set_source_membership4() argument
681 if (interface_addr != NULL) { in uv__udp_set_source_membership4()
682 err = uv_inet_pton(AF_INET, interface_addr, &mreq.imr_interface.s_addr); in uv__udp_set_source_membership4()
713 const char* interface_addr, in uv__udp_set_source_membership6() argument
737 if (interface_addr != NULL) { in uv__udp_set_source_membership6()
738 err = uv_ip6_addr(interface_addr, 0, &addr6); in uv__udp_set_source_membership6()
770 const char* interface_addr, in uv_udp_set_membership() argument
776 return uv__udp_set_membership4(handle, &addr4, interface_addr, membership); in uv_udp_set_membership()
778 return uv__udp_set_membership6(handle, &addr6, interface_addr, membership); in uv_udp_set_membership()
786 const char* interface_addr, in uv_udp_set_source_membership() argument
812 interface_addr, in uv_udp_set_source_membership()
822 interface_addr, in uv_udp_set_source_membership()
828 int uv_udp_set_multicast_interface(uv_udp_t* handle, const char* interface_addr) { in uv_udp_set_multicast_interface() argument
836 if (!interface_addr) { in uv_udp_set_multicast_interface()
845 } else if (uv_ip4_addr(interface_addr, 0, addr4) == 0) { in uv_udp_set_multicast_interface()
847 } else if (uv_ip6_addr(interface_addr, 0, addr6) == 0) { in uv_udp_set_multicast_interface()