Searched refs:HostToNetwork32 (Results 1 – 10 of 10) sorted by relevance
25 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()
160 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()
351 masked.s_addr = HostToNetwork32(host_order_ip & mask); in TruncateIP()369 v6_as_ints[i] = HostToNetwork32(host_order_inner & inner_mask); in TruncateIP()
67 u_.ip4.s_addr = HostToNetwork32(ip_in_host_byte_order); in IPAddress()
140 inline uint32_t HostToNetwork32(uint32_t n) { in HostToNetwork32() function
521 expected4.sin_addr.s_addr = HostToNetwork32(kIPv4PublicAddr); in TEST()
532 HostToNetwork32(NetworkToHost32(next_ipv4_.s_addr) + 1); in GetNextIP()
226 rtc::HostToNetwork32(rcv.rcv_ppid)); in OnSctpInboundPacket()628 spa.sendv_sndinfo.snd_ppid = rtc::HostToNetwork32( in SendData()
578 (v4addr.s_addr ^ rtc::HostToNetwork32(kStunMagicCookie)); in GetXoredIP()592 (ip_as_ints[0] ^ rtc::HostToNetwork32(kStunMagicCookie)); in GetXoredIP()
143 *static_cast<uint32_t*>(buf) = rtc::HostToNetwork32(val); in long_to_bytes()