Home
last modified time | relevance | path

Searched refs:HostToNetwork32 (Results 1 – 10 of 10) sorted by relevance

/external/webrtc/webrtc/base/
Dbytebuffer_unittest.cc25 EXPECT_EQ(n32, NetworkToHost32(HostToNetwork32(n32))); in TEST()
31 EXPECT_EQ(n32, HostToNetwork32(n32)); in TEST()
41 EXPECT_NE(n32, HostToNetwork32(n32)); in TEST()
46 EXPECT_EQ(GetBE32(&n32), HostToNetwork32(n32)); in TEST()
Dbytebuffer.cc160 uint32_t v = (byte_order_ == ORDER_NETWORK) ? HostToNetwork32(val) : val; in WriteUInt24()
169 uint32_t v = (byte_order_ == ORDER_NETWORK) ? HostToNetwork32(val) : val; in WriteUInt32()
Dipaddress.cc351 masked.s_addr = HostToNetwork32(host_order_ip & mask); in TruncateIP()
369 v6_as_ints[i] = HostToNetwork32(host_order_inner & inner_mask); in TruncateIP()
Dipaddress.h67 u_.ip4.s_addr = HostToNetwork32(ip_in_host_byte_order); in IPAddress()
Dbyteorder.h140 inline uint32_t HostToNetwork32(uint32_t n) { in HostToNetwork32() function
Dipaddress_unittest.cc521 expected4.sin_addr.s_addr = HostToNetwork32(kIPv4PublicAddr); in TEST()
Dvirtualsocketserver.cc532 HostToNetwork32(NetworkToHost32(next_ipv4_.s_addr) + 1); in GetNextIP()
/external/webrtc/talk/media/sctp/
Dsctpdataengine.cc226 rtc::HostToNetwork32(rcv.rcv_ppid)); in OnSctpInboundPacket()
628 spa.sendv_sndinfo.snd_ppid = rtc::HostToNetwork32( in SendData()
/external/webrtc/webrtc/p2p/base/
Dstun.cc578 (v4addr.s_addr ^ rtc::HostToNetwork32(kStunMagicCookie)); in GetXoredIP()
592 (ip_as_ints[0] ^ rtc::HostToNetwork32(kStunMagicCookie)); in GetXoredIP()
Dpseudotcp.cc143 *static_cast<uint32_t*>(buf) = rtc::HostToNetwork32(val); in long_to_bytes()