Searched refs:NetworkToHost32 (Results 1 – 9 of 9) sorted by relevance
51 return NetworkToHost32(u_.ip4.s_addr); in v4AddressAsHostOrderInteger()107 return NetworkToHost32(u_.ip4.s_addr) < in operator <()108 NetworkToHost32(other.u_.ip4.s_addr); in operator <()349 uint32_t host_order_ip = NetworkToHost32(ip.ipv4_address().s_addr); in TruncateIP()368 uint32_t host_order_inner = NetworkToHost32(v6_as_ints[i]); in TruncateIP()384 word_to_count = NetworkToHost32(mask.ipv4_address().s_addr); in CountIPMaskBits()398 word_to_count = NetworkToHost32(v6_as_ints[i]); in CountIPMaskBits()
99 *val = (byte_order_ == ORDER_NETWORK) ? NetworkToHost32(v) : v; in ReadUInt24()111 *val = (byte_order_ == ORDER_NETWORK) ? NetworkToHost32(v) : v; in ReadUInt32()
156 inline uint32_t NetworkToHost32(uint32_t n) { in NetworkToHost32() function
25 EXPECT_EQ(n32, NetworkToHost32(HostToNetwork32(n32))); in TEST()
275 SetIP(NetworkToHost32(saddr.sin_addr.s_addr)); in FromSockAddr()
686 ip = NetworkToHost32(net_ip); in OnDnsNotify()
532 HostToNetwork32(NetworkToHost32(next_ipv4_.s_addr) + 1); in GetNextIP()
319 if (rtc::NetworkToHost32(magic_cookie_int) != kStunMagicCookie) { in Read()
151 return rtc::NetworkToHost32(*static_cast<const uint32_t*>(buf)); in bytes_to_long()