Lines Matching refs:IPAddress
149 IPAddress(IPAddress::Version::kV4, in GetLocalEndpoint()
164 IPAddress(IPAddress::Version::kV6, in GetLocalEndpoint()
261 void UdpSocketPosix::JoinMulticastGroup(const IPAddress& address, in JoinMulticastGroup()
338 IPAddress GetIPAddressFromSockAddr(const sockaddr_in& sa) { in GetIPAddressFromSockAddr()
339 static_assert(IPAddress::kV4Size == sizeof(sa.sin_addr.s_addr), in GetIPAddressFromSockAddr()
341 return IPAddress(IPAddress::Version::kV4, in GetIPAddressFromSockAddr()
345 IPAddress GetIPAddressFromPktInfo(const in_pktinfo& pktinfo) { in GetIPAddressFromPktInfo()
346 static_assert(IPAddress::kV4Size == sizeof(pktinfo.ipi_addr), in GetIPAddressFromPktInfo()
348 return IPAddress(IPAddress::Version::kV4, in GetIPAddressFromPktInfo()
356 IPAddress GetIPAddressFromSockAddr(const sockaddr_in6& sa) { in GetIPAddressFromSockAddr()
357 return IPAddress(IPAddress::Version::kV6, sa.sin6_addr.s6_addr); in GetIPAddressFromSockAddr()
360 IPAddress GetIPAddressFromPktInfo(const in6_pktinfo& pktinfo) { in GetIPAddressFromPktInfo()
361 return IPAddress(IPAddress::Version::kV6, pktinfo.ipi6_addr.s6_addr); in GetIPAddressFromPktInfo()