Searched refs:ntohl (Results 1 - 25 of 194) sorted by relevance

12345678

/external/libnfc-nci/halimpl/bcm2079x/gki/common/
H A Dgki_inet.h24 #define htonl ntohl
31 #define ntohl(n) (n) macro
38 extern UINT32 ntohl(UINT32 n);
/external/libnfc-nci/src/gki/common/
H A Dgki_inet.h24 #define htonl ntohl
31 #define ntohl(n) (n) macro
38 extern UINT32 ntohl(UINT32 n);
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/socket/
H A Dntohl.c11 inline uint32_t ntohl(uint32_t networklong) { function
/external/tcpdump/
H A Dextract.h49 * "ntohl()", which might be better than than the code to fetch the
52 * Alpha machines, where "ntohs()" and "ntohl()" might not be done
102 return ((u_int32_t)ntohl(((const unaligned_u_int32_t *)(p))->val));
108 return ((u_int64_t)(((u_int64_t)ntohl(((const unaligned_u_int32_t *)(p) + 0)->val)) << 32 | \
109 ((u_int64_t)ntohl(((const unaligned_u_int32_t *)(p) + 1)->val)) << 0));
152 return ((u_int32_t)ntohl(*(const u_int32_t *)(p)));
158 return ((u_int64_t)(((u_int64_t)ntohl(*((const u_int32_t *)(p) + 0))) << 32 | \
159 ((u_int64_t)ntohl(*((const u_int32_t *)(p) + 1))) << 0));
/external/ppp/pppd/plugins/radius/
H A Dip_util.c35 return ntohl(inet_addr (host));
42 return ntohl((*(UINT4 *) hp->h_addr));
/external/chromium_org/third_party/WebKit/Source/wtf/
H A DByteOrder.h46 inline uint32_t ntohl(uint32_t x) { return x; } function
51 inline uint32_t ntohl(uint32_t x) { return WTF::wswap32(x); } function
56 inline uint32_t ntohl(uint32_t x) { return WTF::bswap32(x); } function
/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/
H A Dsignal_test.cc26 uint32_t host_long = ntohl(network_long);
H A Dsocket_test.cc324 uint32_t expected_addr = ntohl(0x07060504);
326 expected_addr = ntohl(0xffffffff);
330 expected_addr = ntohl(1 << 24 | 2 << 16 | 3);
332 expected_addr = ntohl(1 << 24 | 2 << 16 | 300);
336 expected_addr = ntohl(1 << 24 | 20000);
338 expected_addr = ntohl(1 << 24 | 2);
342 expected_addr = ntohl(255);
344 expected_addr = ntohl(4000000000U);
533 uint32_t host_long = ntohl(network_long);
/external/chromium_org/net/spdy/
H A Dspdy_frame_reader.cc59 *result = ntohl(*(reinterpret_cast<const uint32*>(data_ + ofs_)));
75 uint64 upper = ntohl(*(reinterpret_cast<const uint32*>(data_ + ofs_)));
76 uint64 lower = ntohl(*(reinterpret_cast<const uint32*>(data_ + ofs_ + 4)));
106 *result = ntohl(*result);
/external/libnl/lib/netfilter/
H A Dlog_msg.c96 nfnl_log_msg_set_mark(msg, ntohl(nla_get_u32(attr)));
110 nfnl_log_msg_set_indev(msg, ntohl(nla_get_u32(attr)));
114 nfnl_log_msg_set_outdev(msg, ntohl(nla_get_u32(attr)));
118 nfnl_log_msg_set_physindev(msg, ntohl(nla_get_u32(attr)));
122 nfnl_log_msg_set_physoutdev(msg, ntohl(nla_get_u32(attr)));
147 nfnl_log_msg_set_uid(msg, ntohl(nla_get_u32(attr)));
151 nfnl_log_msg_set_gid(msg, ntohl(nla_get_u32(attr)));
155 nfnl_log_msg_set_seq(msg, ntohl(nla_get_u32(attr)));
159 nfnl_log_msg_set_seq_global(msg, ntohl(nla_get_u32(attr)));
H A Dqueue_msg.c88 nfnl_queue_msg_set_packetid(msg, ntohl(hdr->packet_id));
96 nfnl_queue_msg_set_mark(msg, ntohl(nla_get_u32(attr)));
110 nfnl_queue_msg_set_indev(msg, ntohl(nla_get_u32(attr)));
114 nfnl_queue_msg_set_outdev(msg, ntohl(nla_get_u32(attr)));
118 nfnl_queue_msg_set_physindev(msg, ntohl(nla_get_u32(attr)));
122 nfnl_queue_msg_set_physoutdev(msg, ntohl(nla_get_u32(attr)));
183 ntohl(nfnl_queue_msg_get_mark(msg))) < 0)
/external/qemu/slirp/
H A Dbootp.c67 paddr->s_addr = htonl(ntohl(special_addr.s_addr) | (i + START_ADDR));
74 uint32_t req_addr = ntohl(paddr->s_addr);
75 uint32_t spec_addr = ntohl(special_addr.s_addr);
102 paddr->s_addr = htonl(ntohl(special_addr.s_addr) | (i + START_ADDR));
168 dprintf(" req_addr=%08x\n", ntohl(preq_addr->s_addr));
221 saddr.sin_addr.s_addr = htonl(ntohl(special_addr.s_addr) | CTL_ALIAS);
242 ntohl(daddr.sin_addr.s_addr));
278 dns_addr.s_addr = htonl(ntohl(special_addr.s_addr) | CTL_DNS);
299 dprintf("nak'ed addr=%08x\n", ntohl(preq_addr->s_addr));
/external/e2fsprogs/lib/ext2fs/
H A Djfs_compat.h19 #define be32_to_cpu(n) ntohl(n)
/external/chromium_org/third_party/WebKit/Source/platform/fonts/opentype/
H A DOpenTypeTypes.h48 operator int32_t() const { return static_cast<int32_t>(ntohl(v)); }
54 operator uint32_t() const { return ntohl(v); }
/external/e2fsprogs/misc/
H A Ddumpe2fs.c393 (unsigned int)ntohl(jsb->s_maxlen),
394 (unsigned int)ntohl(jsb->s_sequence),
395 (unsigned int)ntohl(jsb->s_start));
398 (int) ntohl(jsb->s_errno));
418 if ((jsb->s_header.h_magic != (unsigned) ntohl(JFS_MAGIC_NUMBER)) ||
420 (unsigned) ntohl(JFS_SUPERBLOCK_V2))) {
432 (unsigned int)ntohl(jsb->s_blocksize), (unsigned int)ntohl(jsb->s_maxlen),
433 (unsigned int)ntohl(jsb->s_first), (unsigned int)ntohl(js
[all...]
/external/chromium_org/third_party/ots/include/
H A Dopentype-sanitiser.h18 #define ntohl(x) _byteswap_ulong (x) macro
66 chksum_ += ntohl(chksum);
71 chksum_ += ntohl(*reinterpret_cast<const uint32_t*>(
/external/iproute2/tc/
H A Df_u32.c831 switch (ntohl(key->mask)) {
833 fprintf(f, "\n match IP ihl %u", ntohl(key->val) >> 24);
836 fprintf(f, "\n match IP dsfield %#x", ntohl(key->val) >> 16);
841 if (ntohl(key->mask) == 0x00ff0000) {
842 fprintf(f, "\n match IP protocol %d", ntohl(key->val) >> 16);
861 switch (ntohl(key->mask)) {
864 ntohl(key->val) & 0xffff);
868 ntohl(key->val) >> 16);
872 ntohl(key->val) & 0xffff,
873 ntohl(ke
[all...]
/external/chromium_org/third_party/libsrtp/srtp/crypto/include/
H A Dcrypto_math.h154 z->v32[3] = ntohl((uint32_t) tmp); \
158 z->v32[2] = ntohl((uint32_t) tmp); \
162 z->v32[1] = ntohl((uint32_t) tmp); \
166 z->v32[0] = ntohl((uint32_t) tmp); \
H A Ddatatypes.h65 # define ntohl(x) _byteswap_ulong (x) macro
305 z->v32[3] = ntohl((uint32_t) tmp); \
309 z->v32[2] = ntohl((uint32_t) tmp); \
313 z->v32[1] = ntohl((uint32_t) tmp); \
317 z->v32[0] = ntohl((uint32_t) tmp); \
416 # define be32_to_cpu(x) ntohl((x))
/external/chromium_org/third_party/webrtc/modules/audio_coding/main/test/
H A DRTPFile.cc170 start_sec = ntohl(start_sec);
172 start_usec = ntohl(start_usec);
174 source = ntohl(source);
225 *offset = ntohl(*offset);
/external/iproute2/lib/
H A Dipx_ntop.c33 if (do_digit(str + pos, ntohl(addr->ipx_net), i, &pos, len))
/external/qemu/distrib/ext4_utils/src/
H A Duuid.c58 uuid->time_low = ntohl(uuid->time_low);
/external/srtp/crypto/include/
H A Dcrypto_math.h154 z->v32[3] = ntohl((uint32_t) tmp); \
158 z->v32[2] = ntohl((uint32_t) tmp); \
162 z->v32[1] = ntohl((uint32_t) tmp); \
166 z->v32[0] = ntohl((uint32_t) tmp); \
/external/valgrind/main/coregrind/
H A Dfixup_macho_loadcmds.c178 if (ntohl(fh_be->magic) == FAT_MAGIC)
259 fh.magic = ntohl(fh_be->magic);
260 fh.nfat_arch = ntohl(fh_be->nfat_arch);
281 arch.cputype = ntohl(arch_be->cputype);
282 arch.cpusubtype = ntohl(arch_be->cpusubtype);
283 arch.offset = ntohl(arch_be->offset);
284 arch.size = ntohl(arch_be->size);
H A Dlauncher-darwin.c132 uint32_t nfat_arch = ntohl(fh->nfat_arch);
135 if (ntohl(fa[i].cputype) == cputype) return 1;
171 if (ntohl(fh->magic) == FAT_MAGIC) {
172 uint32_t nfat_arch = ntohl(fh->nfat_arch);
177 return name_for_cputype(ntohl(fa->cputype));

Completed in 5293 milliseconds

12345678