Home
last modified time | relevance | path

Searched refs:NetworkToHost32 (Results 1 – 9 of 9) sorted by relevance

/external/webrtc/webrtc/base/
Dipaddress.cc51 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()
Dbytebuffer.cc99 *val = (byte_order_ == ORDER_NETWORK) ? NetworkToHost32(v) : v; in ReadUInt24()
111 *val = (byte_order_ == ORDER_NETWORK) ? NetworkToHost32(v) : v; in ReadUInt32()
Dbyteorder.h156 inline uint32_t NetworkToHost32(uint32_t n) { in NetworkToHost32() function
Dbytebuffer_unittest.cc25 EXPECT_EQ(n32, NetworkToHost32(HostToNetwork32(n32))); in TEST()
Dsocketaddress.cc275 SetIP(NetworkToHost32(saddr.sin_addr.s_addr)); in FromSockAddr()
Dwin32socketserver.cc686 ip = NetworkToHost32(net_ip); in OnDnsNotify()
Dvirtualsocketserver.cc532 HostToNetwork32(NetworkToHost32(next_ipv4_.s_addr) + 1); in GetNextIP()
/external/webrtc/webrtc/p2p/base/
Dstun.cc319 if (rtc::NetworkToHost32(magic_cookie_int) != kStunMagicCookie) { in Read()
Dpseudotcp.cc151 return rtc::NetworkToHost32(*static_cast<const uint32_t*>(buf)); in bytes_to_long()