Home
last modified time | relevance | path

Searched refs:ntohl (Results 1 – 25 of 165) sorted by relevance

1234567

/external/tcpdump/
Dextract.h57 ((u_int32_t)ntohl(((const unaligned_u_int32_t *)(p))->val))
59 ((u_int64_t)(((u_int64_t)ntohl(((const unaligned_u_int32_t *)(p) + 0)->val)) << 32 | \
60 ((u_int64_t)ntohl(((const unaligned_u_int32_t *)(p) + 1)->val)) << 0))
94 ((u_int32_t)ntohl(*(const u_int32_t *)(p)))
96 ((u_int64_t)(((u_int64_t)ntohl(*((const u_int32_t *)(p) + 0))) << 32 | \
97 ((u_int64_t)ntohl(*((const u_int32_t *)(p) + 1))) << 0))
Dprint-dhcp6.c408 ntohl(ia_addr.dh6opt_ia_addr_pltime); in dhcp6opt_print()
410 ntohl(ia_addr.dh6opt_ia_addr_vltime); in dhcp6opt_print()
607 ia.dh6opt_ia_iaid = ntohl(ia.dh6opt_ia_iaid); in dhcp6opt_print()
608 ia.dh6opt_ia_t1 = ntohl(ia.dh6opt_ia_t1); in dhcp6opt_print()
609 ia.dh6opt_ia_t2 = ntohl(ia.dh6opt_ia_t2); in dhcp6opt_print()
631 ntohl(ia_prefix.dh6opt_ia_prefix_pltime); in dhcp6opt_print()
633 ntohl(ia_prefix.dh6opt_ia_prefix_vltime); in dhcp6opt_print()
651 val32 = ntohl(val32); in dhcp6opt_print()
Dtcpdump-stdinc.h147 #undef ntohl
155 #define ntohl(x) __ntohl(x) macro
Dprint-pflog.c102 rulenr = ntohl(hdr->rulenr); in pflog_print()
103 subrulenr = ntohl(hdr->subrulenr); in pflog_print()
/external/qemu/slirp/
Dbootp.c67 paddr->s_addr = htonl(ntohl(special_addr.s_addr) | (i + START_ADDR)); in get_new_addr()
74 uint32_t req_addr = ntohl(paddr->s_addr); in request_addr()
75 uint32_t spec_addr = ntohl(special_addr.s_addr); in request_addr()
102 paddr->s_addr = htonl(ntohl(special_addr.s_addr) | (i + START_ADDR)); in find_addr()
168 dprintf(" req_addr=%08x\n", ntohl(preq_addr->s_addr)); in bootp_reply()
221 saddr.sin_addr.s_addr = htonl(ntohl(special_addr.s_addr) | CTL_ALIAS); in bootp_reply()
242 ntohl(daddr.sin_addr.s_addr)); in bootp_reply()
278 dns_addr.s_addr = htonl(ntohl(special_addr.s_addr) | CTL_DNS); in bootp_reply()
299 dprintf("nak'ed addr=%08x\n", ntohl(preq_addr->s_addr)); in bootp_reply()
/external/chromium/net/spdy/
Dspdy_protocol.h315 uint32 id() const { return (ntohl(id_) & kSettingsIdMask); } in id()
371 return ntohl(frame_->flags_length_.length_) & kLengthMask; in length()
407 return ntohl(frame_->data_.stream_id_) & kStreamIdMask; in stream_id()
503 return ntohl(block()->stream_id_) & kStreamIdMask; in stream_id()
511 return ntohl(block()->associated_stream_id_) & kStreamIdMask; in associated_stream_id()
553 return ntohl(block()->stream_id_) & kStreamIdMask; in stream_id()
590 return ntohl(block()->stream_id_) & kStreamIdMask; in stream_id()
599 static_cast<SpdyStatusCodes>(ntohl(block()->status_)); in status()
630 return ntohl(block()->num_entries_); in num_entries()
675 return ntohl(block()->unique_id_); in unique_id()
[all …]
/external/grub/stage2/
Dimgact_aout.h46 #define ntohl(x) ((x << 24) | ((x & 0xFF00) << 8) \ macro
48 #define htonl(x) ntohl(x)
64 (ntohl((ex).a_midmag) & 0xffff)
66 ((ntohl((ex).a_midmag) >> 16) & 0x03ff)
68 ((ntohl((ex).a_midmag) >> 26) & 0x3f)
/external/libnfc-nci/halimpl/bcm2079x/gki/common/
Dgki_inet.h24 #define htonl ntohl
31 #define ntohl(n) (n) macro
38 extern UINT32 ntohl(UINT32 n);
/external/libnfc-nci/src/gki/common/
Dgki_inet.h24 #define htonl ntohl
31 #define ntohl(n) (n) macro
38 extern UINT32 ntohl(UINT32 n);
/external/bluetooth/bluedroid/gki/common/
Dgki_inet.h24 #define htonl ntohl
31 #define ntohl(n) (n) macro
38 extern UINT32 ntohl(UINT32 n);
/external/webkit/Source/WebCore/platform/graphics/
DWOFFFileFormat.cpp42 #define ntohl(x) std_ntohl(x) macro
50 #define ntohl(x) ((uint32_t)(x)) macro
55 #define ntohl(x) ((uint32_t)((((uint32_t)(x) & 0xffff0000) >> 16) | (((uint32_t)(x) & 0xffff) << 16… macro
56 #define htonl(x) ntohl(x)
60 #define ntohl(x) ((uint32_t)((((uint32_t)(x) & 0xff000000) >> 24) | (((uint32_t)(x) & 0x00ff0000) >… macro
62 #define htonl(x) ntohl(x)
74 value = ntohl(*reinterpret_cast<const uint32_t*>(buffer->data() + offset)); in readUInt32()
/external/e2fsprogs/misc/
Ddumpe2fs.c364 (unsigned int)ntohl(jsb->s_maxlen), in print_inline_journal_information()
365 (unsigned int)ntohl(jsb->s_sequence), in print_inline_journal_information()
366 (unsigned int)ntohl(jsb->s_start)); in print_inline_journal_information()
384 if ((jsb->s_header.h_magic != (unsigned) ntohl(JFS_MAGIC_NUMBER)) || in print_journal_information()
386 (unsigned) ntohl(JFS_SUPERBLOCK_V2))) { in print_journal_information()
398 (unsigned int)ntohl(jsb->s_blocksize), (unsigned int)ntohl(jsb->s_maxlen), in print_journal_information()
399 (unsigned int)ntohl(jsb->s_first), (unsigned int)ntohl(jsb->s_sequence), in print_journal_information()
400 (unsigned int)ntohl(jsb->s_start), (unsigned int)ntohl(jsb->s_nr_users)); in print_journal_information()
402 for (i=0; i < ntohl(jsb->s_nr_users); i++) { in print_journal_information()
/external/iproute2/tc/
Df_u32.c830 switch (ntohl(key->mask)) { in print_ipv4()
832 fprintf(f, "\n match IP ihl %u", ntohl(key->val) >> 24); in print_ipv4()
835 fprintf(f, "\n match IP dsfield %#x", ntohl(key->val) >> 16); in print_ipv4()
840 if (ntohl(key->mask) == 0x00ff0000) { in print_ipv4()
841 fprintf(f, "\n match IP protocol %d", ntohl(key->val) >> 16); in print_ipv4()
860 switch (ntohl(key->mask)) { in print_ipv4()
863 ntohl(key->val) & 0xffff); in print_ipv4()
867 ntohl(key->val) >> 16); in print_ipv4()
871 ntohl(key->val) & 0xffff, in print_ipv4()
872 ntohl(key->val) >> 16); in print_ipv4()
[all …]
/external/libppp/src/
Dslcompress.c130 (f) = htonl(ntohl(f) + ((cp[1] << 8) | cp[2])); \
133 (f) = htonl(ntohl(f) + (u_int32_t)*cp++); \
306 deltaA = ntohl(th->th_ack) - ntohl(oth->th_ack); in sl_compress_tcp()
314 deltaS = ntohl(th->th_seq) - ntohl(oth->th_seq); in sl_compress_tcp()
515 th->th_ack = htonl(ntohl(th->th_ack) + i); in sl_uncompress_tcp()
516 th->th_seq = htonl(ntohl(th->th_seq) + i); in sl_uncompress_tcp()
521 th->th_seq = htonl(ntohl(th->th_seq) + ntohs(cs->cs_ip.ip_len) in sl_uncompress_tcp()
548 cs->cs_ip.ip_id, (u_long)ntohl(th->th_seq)); in sl_uncompress_tcp()
Diplist.c69 list->cur.lstart = ntohl(list->cur.ip.s_addr); in iplist_setrange()
75 list->cur.lstart = ntohl(list->cur.ip.s_addr); in iplist_setrange()
87 list->cur.lstart = ntohl(list->cur.ip.s_addr); in iplist_setrange()
88 list->cur.nItems = ntohl(endip.s_addr) - list->cur.lstart + 1; in iplist_setrange()
/external/kernel-headers/original/linux/byteorder/
Dgeneric.h145 #undef ntohl
154 extern __u32 ntohl(__be32);
167 #define ntohl(x) ___ntohl(x) macro
/external/valgrind/main/coregrind/
Dfixup_macho_loadcmds.c178 if (ntohl(fh_be->magic) == FAT_MAGIC) in is_macho_object_file()
259 fh.magic = ntohl(fh_be->magic); in map_image_aboard()
260 fh.nfat_arch = ntohl(fh_be->nfat_arch); in map_image_aboard()
281 arch.cputype = ntohl(arch_be->cputype); in map_image_aboard()
282 arch.cpusubtype = ntohl(arch_be->cpusubtype); in map_image_aboard()
283 arch.offset = ntohl(arch_be->offset); in map_image_aboard()
284 arch.size = ntohl(arch_be->size); in map_image_aboard()
Dlauncher-darwin.c132 uint32_t nfat_arch = ntohl(fh->nfat_arch); in fat_has_cputype()
135 if (ntohl(fa[i].cputype) == cputype) return 1; in fat_has_cputype()
171 if (ntohl(fh->magic) == FAT_MAGIC) { in select_arch()
172 uint32_t nfat_arch = ntohl(fh->nfat_arch); in select_arch()
177 return name_for_cputype(ntohl(fa->cputype)); in select_arch()
/external/srtp/crypto/include/
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); \
Ddatatypes.h298 z->v32[3] = ntohl((uint32_t) tmp); \
302 z->v32[2] = ntohl((uint32_t) tmp); \
306 z->v32[1] = ntohl((uint32_t) tmp); \
310 z->v32[0] = ntohl((uint32_t) tmp); \
409 # define be32_to_cpu(x) ntohl((x))
/external/ppp/pppd/plugins/radius/
Dip_util.c35 return ntohl(inet_addr (host)); in rc_get_ipaddr()
42 return ntohl((*(UINT4 *) hp->h_addr)); in rc_get_ipaddr()
/external/qemu/slirp-android/
Dudp.c134 if (slirp_should_drop(ntohl(ip->ip_dst.addr), ntohs(uh->uh_dport.port), in udp_input()
138 ntohl(ip->ip_src.addr), in udp_input()
140 ntohl(ip->ip_dst.addr), in udp_input()
149 ntohl(ip->ip_src.addr), in udp_input()
151 ntohl(ip->ip_dst.addr), in udp_input()
/external/valgrind/main/coregrind/m_ume/
Dmacho.c657 fh.nfat_arch = VG_(ntohl)(fh.nfat_arch); in load_fat_file()
673 arch.cputype = VG_(ntohl)(arch.cputype); in load_fat_file()
674 arch.cpusubtype = VG_(ntohl)(arch.cpusubtype); in load_fat_file()
675 arch.offset = VG_(ntohl)(arch.offset); in load_fat_file()
676 arch.size = VG_(ntohl)(arch.size); in load_fat_file()
677 arch.align = VG_(ntohl)(arch.align); in load_fat_file()
742 (*magic == MAGIC || *magic == VG_(ntohl)(FAT_MAGIC))) in VG_()
/external/dnsmasq/src/
Ddhcp.c436 unsigned int start, end, addr = ntohl(taddr.s_addr); in address_available()
445 start = ntohl(tmp->start.s_addr); in address_available()
446 end = ntohl(tmp->end.s_addr); in address_available()
557 htonl(ntohl(c->start.s_addr) + in address_allocate()
558 ((j + c->addr_epoch) % (1 + ntohl(c->end.s_addr) - ntohl(c->start.s_addr)))); in address_allocate()
574 (!IN_CLASSC(ntohl(addr.s_addr)) || in address_allocate()
575 ((ntohl(addr.s_addr) & 0xff) != 0xff && ((ntohl(addr.s_addr) & 0xff) != 0x0)))) in address_allocate()
625 addr.s_addr = htonl(ntohl(addr.s_addr) + 1); in address_allocate()
627 if (addr.s_addr == htonl(ntohl(c->end.s_addr) + 1)) in address_allocate()
/external/dhcpcd/
Dshowlease.c283 *i = ntohl(a); in get_option_uint32()
297 return ntohl(IN_CLASSA_NET); in get_netmask()
299 return ntohl(IN_CLASSB_NET); in get_netmask()
301 return ntohl(IN_CLASSC_NET); in get_netmask()

1234567