Searched refs:ntohl (Results 1 – 20 of 20) sorted by relevance
57 return (enum lmk_cmd)ntohl(pack[0]); in lmkd_pack_get_cmd()72 target->minfree = ntohl(packet[target_idx * 2 + 1]); in lmkd_pack_get_target()73 target->oom_adj_score = ntohl(packet[target_idx * 2 + 2]); in lmkd_pack_get_target()115 params->pid = (pid_t)ntohl(packet[1]); in lmkd_pack_get_procprio()116 params->uid = (uid_t)ntohl(packet[2]); in lmkd_pack_get_procprio()117 params->oomadj = ntohl(packet[3]); in lmkd_pack_get_procprio()119 params->ptype = field_count > 3 ? (enum proc_type)ntohl(packet[4]) : PROC_TYPE_APP; in lmkd_pack_get_procprio()146 params->pid = (pid_t)ntohl(packet[1]); in lmkd_pack_get_procremove()181 params->min_oomadj = ntohl(packet[1]); in lmkd_pack_get_getkillcnt()182 params->max_oomadj = ntohl(packet[2]); in lmkd_pack_get_getkillcnt()[all …]
25 #define ntohl(n) (n) macro32 extern uint32_t ntohl(uint32_t n);
141 args.timestampNs = ntohl(ts.tv_nsec) + (ntohl(ts.tv_sec) * kNsPerS); in init()150 args.uid = ntohl(args.uid); in init()154 args.gid = ntohl(args.gid); in init()
53 return (ntohl(addr) & 0xff) == 2; in only2Free()56 return (ntohl(addr) & 0xff) >= 6; in over6Free()59 return (ntohl(addr) & 0xff) == 10; in only10Free()
459 uint32_t m = ntohl(mask); in ipv4NetmaskToPrefixLength()
157 in_addr_t ipv4 = ntohl(ip.s_addr); in selectIpv4Address()
214 info->lease = ntohl(info->lease); in decode_dhcp_msg()272 ntohl(msg->xid), ntohs(msg->secs), ntohs(msg->flags), len); in dump_dhcp_msg()362 if (verbose) ALOGD("Wrong Xid 0x%x != 0x%x\n", ntohl(reply->xid), in is_valid_reply()363 ntohl(msg->xid)); in is_valid_reply()
83 uint32_t m = (uint32_t)ntohl(mask); in ipv4NetmaskToPrefixLength()
61 #define ntohl(x) __builtin_bswap32(x) macro
54 #define ntohl(x) htonl(x) macro
43 ASSERT_EQ(le32, ntohl(be32)); in TEST()
85 len = ntohl(*((uint32_t *)p_begin)); in getEndOfRecord()
31 # define ntohl(x) ( ((x) << 24) | (((x) >> 24) & 255) | (((x) << 8) & 0xff0000) | (((x) >> 8) & … macro32 # define htonl(x) ntohl(x)
83 if (v4a.s_addr != v4b.s_addr) return (ntohl(v4a.s_addr) < ntohl(v4b.s_addr));
295 *payload = ntohl(*payload); in TEST_F()318 *payload = ntohl(*payload); in TEST_F()
318 uid = ntohl(nlAttrU32(uid_attr)); in parseNfPacketMessage()500 const uint32_t lifetime = ntohl(rndss_opt->nd_opt_rdnss_lifetime); in parseNdUserOptMessage()
426 const ssize_t encryptedLength = ntohl(rawBlob->length); in readBlob()478 rawBlob->length = ntohl(rawBlob->length); in readBlob()
242 header->payload = ntohl(*(reinterpret_cast<uint32_t*>(p))); in ReadHeader()
376 *result = ntohl(tmp); in readBE32()
2609 uint32_t m = ntohl(mask); in ipv4NetmaskToPrefixLength()