/external/iproute2/tc/ |
D | f_rsvp.c | 56 pi->key = htonl(((__u32)tmp)<<16); in get_addr_and_pi() 57 pi->mask = htonl(0xFFFF0000); in get_addr_and_pi() 60 pi->key = htonl(((__u32)tmp)); in get_addr_and_pi() 61 pi->mask = htonl(0x0000FFFF); in get_addr_and_pi() 82 pi->mask = htonl(0xFFFFFFFF); in get_addr_and_pi() 83 pi->key = htonl(gpi); in get_addr_and_pi() 94 pi->mask = htonl(0xFFFFFFFF); in get_addr_and_pi() 95 pi->key = htonl(gpi); in get_addr_and_pi() 107 pi->mask = htonl(0x000FFFFF); in get_addr_and_pi() 108 pi->key = htonl(flabel) & pi->mask; in get_addr_and_pi() [all …]
|
D | f_u32.c | 152 key = htonl(key); in pack_key32() 153 mask = htonl(mask); in pack_key32() 168 key = htonl(key); in pack_key16() 169 mask = htonl(mask); in pack_key16() 190 key = htonl(key); in pack_key8() 191 mask = htonl(mask); in pack_key8() 349 mask = htonl(0xFFFFFFFF<<(32-addr.bitlen)); in parse_ip_addr() 392 __u32 mask = htonl(0xFFFFFFFF << (32 - (plen -i ))); in parse_ip6_addr() 432 key = htonl(key); in parse_ip6_class() 433 mask = htonl(mask); in parse_ip6_class() [all …]
|
/external/kernel-headers/original/linux/ |
D | in.h | 247 #define LOOPBACK(x) (((x) & htonl(0xff000000)) == htonl(0x7f000000)) 248 #define MULTICAST(x) (((x) & htonl(0xf0000000)) == htonl(0xe0000000)) 249 #define BADCLASS(x) (((x) & htonl(0xf0000000)) == htonl(0xf0000000)) 250 #define ZERONET(x) (((x) & htonl(0xff000000)) == htonl(0x00000000)) 251 #define LOCAL_MCAST(x) (((x) & htonl(0xFFFFFF00)) == htonl(0xE0000000))
|
/external/srtp/crypto/include/ |
D | crypto_math.h | 153 tmp = htonl(x->v32[3]) + htonl(y->v32[3]); \ 156 tmp = htonl(x->v32[2]) + htonl(y->v32[2]) \ 157 + htonl(tmp >> 32); \ 160 tmp = htonl(x->v32[1]) + htonl(y->v32[1]) \ 161 + htonl(tmp >> 32); \ 164 tmp = htonl(x->v32[0]) + htonl(y->v32[0]) \ 165 + htonl(tmp >> 32); \
|
D | datatypes.h | 297 tmp = htonl(x->v32[3]) + htonl(y->v32[3]); \ 300 tmp = htonl(x->v32[2]) + htonl(y->v32[2]) \ 301 + htonl(tmp >> 32); \ 304 tmp = htonl(x->v32[1]) + htonl(y->v32[1]) \ 305 + htonl(tmp >> 32); \ 308 tmp = htonl(x->v32[0]) + htonl(y->v32[0]) \ 309 + htonl(tmp >> 32); \ 415 v = make64(htonl(low32(v)),htonl(high32(v))); in be64_to_cpu()
|
/external/webkit/Source/WebCore/platform/graphics/ |
D | WOFFFileFormat.cpp | 40 #define htonl(x) std_htonl(x) macro 51 #define htonl(x) ((uint32_t)(x)) macro 56 #define htonl(x) ntohl(x) macro 62 #define htonl(x) ntohl(x) macro 94 uint32_t bigEndianValue = htonl(value); in writeUInt32() 222 *sfntTableDirectoryPtr++ = htonl(tableTag); in convertWOFFToSfnt() 223 *sfntTableDirectoryPtr++ = htonl(tableOrigChecksum); in convertWOFFToSfnt() 224 *sfntTableDirectoryPtr++ = htonl(sfnt.size()); in convertWOFFToSfnt() 225 *sfntTableDirectoryPtr++ = htonl(tableOrigLength); in convertWOFFToSfnt()
|
/external/chromium/net/spdy/ |
D | spdy_protocol.h | 318 id = htonl(id & kSettingsIdMask); in set_id() 376 length = htonl(length & kLengthMask); in set_length() 415 frame_->data_.stream_id_ = htonl(id & kStreamIdMask); in set_stream_id() 507 mutable_block()->stream_id_ = htonl(id & kStreamIdMask); in set_stream_id() 515 mutable_block()->associated_stream_id_ = htonl(id & kStreamIdMask); in set_associated_stream_id() 557 mutable_block()->stream_id_ = htonl(id & kStreamIdMask); in set_stream_id() 594 mutable_block()->stream_id_ = htonl(id & kStreamIdMask); in set_stream_id() 606 mutable_block()->status_ = htonl(static_cast<uint32>(status)); in set_status() 634 mutable_block()->num_entries_ = htonl(val); in set_num_entries() 679 mutable_block()->unique_id_ = htonl(unique_id); in set_unique_id() [all …]
|
/external/mdnsresponder/mDNSShared/ |
D | dnssd_ipc.c | 156 hdr->version = htonl(hdr->version); in ConvertHeaderBytes() 157 hdr->datalen = htonl(hdr->datalen); in ConvertHeaderBytes() 158 hdr->ipc_flags = htonl(hdr->ipc_flags); in ConvertHeaderBytes() 159 hdr->op = htonl(hdr->op ); in ConvertHeaderBytes() 160 hdr->reg_index = htonl(hdr->reg_index); in ConvertHeaderBytes()
|
/external/dhcpcd/ |
D | ipv4ll.c | 56 u32 = htonl(LINKLOCAL_MASK); in make_ipv4ll_lease() 61 u32 = htonl(LINKLOCAL_BRDC); in make_ipv4ll_lease() 75 addr = htonl(LINKLOCAL_ADDR | in find_ipv4ll_lease() 96 if (IN_LINKLOCAL(htonl(iface->addr.s_addr))) { in start_ipv4ll() 109 if (!IN_LINKLOCAL(htonl(addr))) { in start_ipv4ll()
|
D | if-pref.c | 55 sill = (si->state->new->cookie == htonl(MAGIC_COOKIE)); in ifcmp() 56 till = (ti->state->new->cookie == htonl(MAGIC_COOKIE)); in ifcmp()
|
/external/e2fsprogs/lib/ext2fs/ |
D | mkjournal.c | 59 jsb->s_header.h_magic = htonl(JFS_MAGIC_NUMBER); in ext2fs_create_journal_superblock() 61 jsb->s_header.h_blocktype = htonl(JFS_SUPERBLOCK_V1); in ext2fs_create_journal_superblock() 63 jsb->s_header.h_blocktype = htonl(JFS_SUPERBLOCK_V2); in ext2fs_create_journal_superblock() 64 jsb->s_blocksize = htonl(fs->blocksize); in ext2fs_create_journal_superblock() 65 jsb->s_maxlen = htonl(size); in ext2fs_create_journal_superblock() 66 jsb->s_nr_users = htonl(1); in ext2fs_create_journal_superblock() 67 jsb->s_first = htonl(1); in ext2fs_create_journal_superblock() 68 jsb->s_sequence = htonl(1); in ext2fs_create_journal_superblock() 78 jsb->s_first = htonl(3); in ext2fs_create_journal_superblock() 80 jsb->s_first = htonl(2); in ext2fs_create_journal_superblock() [all …]
|
/external/openssh/openbsd-compat/ |
D | port-tun.c | 239 if (*af == htonl(AF_INET6)) in sys_tun_infilter() 240 *af = htonl(OPENBSD_AF_INET6); in sys_tun_infilter() 242 *af = htonl(OPENBSD_AF_INET); in sys_tun_infilter() 266 *af = htonl(AF_INET6); in sys_tun_outfilter() 268 *af = htonl(AF_INET); in sys_tun_outfilter()
|
/external/ppp/pppd/ |
D | ipcp.c | 507 mask = htonl(mask); 866 cilong = htonl(l); \ 870 cilong = htonl(l); \ 909 cilong = htonl(l); \ 924 cilong = htonl(l); \ 994 ciaddr1 = htonl(l); \ 996 ciaddr2 = htonl(l); \ 1021 ciaddr1 = htonl(l); \ 1034 cidnsaddr = htonl(l); \ 1141 ciaddr1 = htonl(l); [all …]
|
/external/mtpd/ |
D | pptp.c | 63 #define MAGIC_COOKIE htonl(0x1A2B3C4D) 224 outgoing.sccrq.framing = htonl(3); in pptp_connect() 225 outgoing.sccrq.bearer = htonl(3); in pptp_connect() 293 outgoing.ocrq.minimum_speed = htonl(1000); in pptp_process() 294 outgoing.ocrq.maximum_speed = htonl(100000000); in pptp_process() 295 outgoing.ocrq.bearer = htonl(3); in pptp_process() 296 outgoing.ocrq.framing = htonl(3); in pptp_process()
|
/external/srtp/crypto/math/ |
D | math.c | 739 tmp = htonl(x->v32[3]) + htonl(y->v32[3]); 742 tmp = htonl(x->v32[2]) + htonl(y->v32[2]) + htonl(tmp >> 32); 745 tmp = htonl(x->v32[1]) + htonl(y->v32[1]) + htonl(tmp >> 32); 748 tmp = htonl(x->v32[0]) + htonl(y->v32[0]) + htonl(tmp >> 32);
|
/external/kernel-headers/original/linux/byteorder/ |
D | generic.h | 147 #undef htonl 155 extern __be32 htonl(__u32); 166 #define htonl(x) ___htonl(x) macro
|
/external/chromium/third_party/libevent/test/ |
D | regress_dns.c | 174 in.s_addr = htonl(0x7f000001ul); /* 127.0.0.1 */ in dns_gethostbyaddr() 197 ans.s_addr = htonl(0xc0a80b0bUL); /* 192.168.11.11 */ in dns_server_request_cb() 252 if (in_addrs[0].s_addr != htonl(0xc0a80b0bUL) || ttl != 12345) { in dns_server_gethostbyname_cb() 331 my_addr.sin_addr.s_addr = htonl(0x7f000001UL); in dns_server() 343 resolve_addr.s_addr = htonl(0xc0a80b0bUL); /* 192.168.11.11 */ in dns_server()
|
/external/kernel-headers/original/linux/nfsd/ |
D | nfsfh.h | 170 fsidv[0] = htonl((MAJOR(dev)<<16) | in mk_fsid_v0() 182 fsidv[0] = htonl(MAJOR(dev)); in mk_fsid_v2() 183 fsidv[1] = htonl(MINOR(dev)); in mk_fsid_v2() 280 fhp->fh_post_rdev[0] = htonl((u32)imajor(inode)); in fill_post_wcc() 281 fhp->fh_post_rdev[1] = htonl((u32)iminor(inode)); in fill_post_wcc()
|
/external/qemu/slirp/ |
D | bootp.c | 67 paddr->s_addr = htonl(ntohl(special_addr.s_addr) | (i + START_ADDR)); in get_new_addr() 102 paddr->s_addr = htonl(ntohl(special_addr.s_addr) | (i + START_ADDR)); in find_addr() 221 saddr.sin_addr.s_addr = htonl(ntohl(special_addr.s_addr) | CTL_ALIAS); in bootp_reply() 278 dns_addr.s_addr = htonl(ntohl(special_addr.s_addr) | CTL_DNS); in bootp_reply() 285 val = htonl(LEASE_TIME); in bootp_reply()
|
/external/qemu/slirp-android/ |
D | bootp.c | 235 rbp->bp_yiaddr = htonl(sock_address_get_ip(&daddr)); /* Client IP address */ in bootp_reply() 236 rbp->bp_siaddr = htonl(sock_address_get_ip(&saddr)); /* Server IP address */ in bootp_reply() 243 uint32_t saddr_ip = htonl(sock_address_get_ip(&saddr)); in bootp_reply() 282 dns_addr = htonl(special_addr_ip | CTL_DNS); in bootp_reply() 289 val = htonl(LEASE_TIME); in bootp_reply()
|
/external/tcpdump/ |
D | tcpdump-stdinc.h | 149 #undef htonl 157 #define htonl(x) __ntohl(x) macro
|
D | ip6.h | 99 #define IPV6_FLOWINFO_MASK ((u_int32_t)htonl(0x0fffffff)) /* flow info (28 bits) */ 100 #define IPV6_FLOWLABEL_MASK ((u_int32_t)htonl(0x000fffff)) /* flow label (20 bits) */
|
/external/srtp/test/ |
D | rtp.c | 37 sender->message.header.ts = htonl(sender->message.header.ts); in rtp_sendto() 108 sender->message.header.ssrc = htonl(ssrc); in rtp_sender_init() 132 rcvr->message.header.ssrc = htonl(ssrc); in rtp_receiver_init()
|
/external/e2fsprogs/e2fsck/ |
D | journal.c | 514 if (jsb->s_header.h_magic != htonl(JFS_MAGIC_NUMBER)) in e2fsck_journal_load() 563 if (jsb->s_blocksize != htonl(journal->j_blocksize)) { in e2fsck_journal_load() 603 if (jsb->s_header.h_magic != htonl(JFS_MAGIC_NUMBER) || in e2fsck_journal_reset_super() 604 jsb->s_header.h_blocktype != htonl(JFS_SUPERBLOCK_V1)) { in e2fsck_journal_reset_super() 605 jsb->s_header.h_magic = htonl(JFS_MAGIC_NUMBER); in e2fsck_journal_reset_super() 606 jsb->s_header.h_blocktype = htonl(JFS_SUPERBLOCK_V2); in e2fsck_journal_reset_super() 614 jsb->s_blocksize = htonl(ctx->fs->blocksize); in e2fsck_journal_reset_super() 615 jsb->s_maxlen = htonl(journal->j_maxlen); in e2fsck_journal_reset_super() 616 jsb->s_first = htonl(1); in e2fsck_journal_reset_super() 626 jsb->s_sequence = htonl(new_seq); in e2fsck_journal_reset_super() [all …]
|
D | revoke.c | 508 header->h_magic = htonl(JFS_MAGIC_NUMBER); in write_one_revoke_record() 509 header->h_blocktype = htonl(JFS_REVOKE_BLOCK); in write_one_revoke_record() 510 header->h_sequence = htonl(transaction->t_tid); in write_one_revoke_record() 521 htonl(record->blocknr); in write_one_revoke_record() 546 header->r_count = htonl(offset); in flush_descriptor()
|