Home
last modified time | relevance | path

Searched refs:NetworkToHost16 (Results 1 – 7 of 7) sorted by relevance

/external/webrtc/webrtc/base/
Dsocketaddress.cc276 SetPort(NetworkToHost16(saddr.sin_port)); in FromSockAddr()
318 NetworkToHost16(saddr->sin_port)); in SocketAddressFromSockAddrStorage()
323 NetworkToHost16(saddr->sin6_port)); in SocketAddressFromSockAddrStorage()
Dbyteorder.h152 inline uint16_t NetworkToHost16(uint16_t n) { in NetworkToHost16() function
Dbytebuffer.cc82 *val = (byte_order_ == ORDER_NETWORK) ? NetworkToHost16(v) : v; in ReadUInt16()
Dbytebuffer_unittest.cc24 EXPECT_EQ(n16, NetworkToHost16(HostToNetwork16(n16))); in TEST()
Dwin32.cc141 "%x", NetworkToHost16(as_shorts[i])); in inet_ntop_v6()
Dnatsocketfactory.cc54 NetworkToHost16(*(reinterpret_cast<const uint16_t*>(&buf[2]))); in UnpackAddressFromNAT()
/external/webrtc/webrtc/p2p/base/
Dpseudotcp.cc155 return rtc::NetworkToHost16(*static_cast<const uint16_t*>(buf)); in bytes_to_short()