Home
last modified time | relevance | path

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

/external/webrtc/webrtc/base/
Dbytebuffer_unittest.cc24 EXPECT_EQ(n16, NetworkToHost16(HostToNetwork16(n16))); in TEST()
30 EXPECT_EQ(n16, HostToNetwork16(n16)); in TEST()
40 EXPECT_NE(n16, HostToNetwork16(n16)); in TEST()
45 EXPECT_EQ(GetBE16(&n16), HostToNetwork16(n16)); in TEST()
Dsocketaddress.cc264 saddr->sin_port = HostToNetwork16(port_); in ToSockAddr()
290 saddr->sin6_port = HostToNetwork16(port); in ToSockAddrStorageHelper()
296 saddr->sin_port = HostToNetwork16(port); in ToSockAddrStorageHelper()
Dbytebuffer.cc155 uint16_t v = (byte_order_ == ORDER_NETWORK) ? HostToNetwork16(val) : val; in WriteUInt16()
Dbyteorder.h134 inline uint16_t HostToNetwork16(uint16_t n) { in HostToNetwork16() function
Dasynctcpsocket.cc260 PacketLength pkt_len = HostToNetwork16(static_cast<PacketLength>(cb)); in Send()
Dwin32.cc291 *addr_cursor = HostToNetwork16(word); in inet_pton_v6()
Dnatsocketfactory.cc30 *(reinterpret_cast<uint16_t*>(&buf[2])) = HostToNetwork16(remote_addr.port()); in PackAddressForNAT()
/external/webrtc/talk/media/sctp/
Dsctpdataengine.cc392 sconn.sconn_port = rtc::HostToNetwork16(port); in GetSctpSockAddr()
/external/webrtc/webrtc/p2p/base/
Dpseudotcp.cc147 *static_cast<uint16_t*>(buf) = rtc::HostToNetwork16(val); in short_to_bytes()