Searched refs:NetToHost16 (Results 1 – 11 of 11) sorted by relevance
171 if (base::NetToHost16(header()->id) != query.id()) in InitParse()175 if (base::NetToHost16(header()->qdcount) != 1) in InitParse()204 unsigned qdcount = base::NetToHost16(header()->qdcount); in InitParseWithoutQuery()221 return base::NetToHost16(header()->flags) & ~(dns_protocol::kRcodeMask); in flags()226 return base::NetToHost16(header()->flags) & dns_protocol::kRcodeMask; in rcode()231 return base::NetToHost16(header()->ancount); in answer_count()236 return base::NetToHost16(header()->arcount); in additional_answer_count()
53 return base::NetToHost16(header->id); in id()
62 address->SetPort(base::NetToHost16(ipv4_addr.port)); in PpNetAddressToSocketAddress()70 address->SetPort(base::NetToHost16(ipv6_addr.port)); in PpNetAddressToSocketAddress()
72 inline uint16 NetToHost16(uint16 x) { in NetToHost16() function
96 *port = base::NetToHost16(addr.sin_port); in CreateAndBindAnyPort()
484 int packet_size = base::NetToHost16(*reinterpret_cast<uint16*>(input)); in ProcessInput()596 int packet_size = base::NetToHost16(*reinterpret_cast<const uint16*>( in GetExpectedPacketSize()600 uint16 msg_type = base::NetToHost16(*reinterpret_cast<const uint16*>(data)); in GetExpectedPacketSize()
509 uint16 length = base::NetToHost16(*reinterpret_cast<const uint16*>(data + 2)); in GetStunPacketType()514 int message_type = base::NetToHost16(*reinterpret_cast<const uint16*>(data)); in GetStunPacketType()
548 *port = base::NetToHost16(addr->sin_port); in GetIPAddressFromSockAddr()560 *port = base::NetToHost16(addr->sin6_port); in GetIPAddressFromSockAddr()977 return base::NetToHost16(*port_field); in GetPortFromSockaddr()
191 pcm_data[i] = static_cast<int16>(base::NetToHost16(pcm_data[i])); in Decode()
157 num_tables = base::NetToHost16(num_tables); in GetFontTable()
334 pcm_data[i] = static_cast<int16>(base::NetToHost16(pcm_data[i])); in CheckCodedAudioFrame()