/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 …]
|
/external/chromium_org/third_party/libsrtp/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 | 67 # define htonl(x) _byteswap_ulong (x) macro 304 tmp = htonl(x->v32[3]) + htonl(y->v32[3]); \ 307 tmp = htonl(x->v32[2]) + htonl(y->v32[2]) \ 308 + htonl(tmp >> 32); \ 311 tmp = htonl(x->v32[1]) + htonl(y->v32[1]) \ 312 + htonl(tmp >> 32); \ 315 tmp = htonl(x->v32[0]) + htonl(y->v32[0]) \ 316 + htonl(tmp >> 32); \ 422 v = make64(htonl(low32(v)),htonl(high32(v))); in be64_to_cpu()
|
/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/kernel-headers/original/uapi/linux/ |
D | igmp.h | 118 #define IGMP_ALL_HOSTS htonl(0xE0000001L) 119 #define IGMP_ALL_ROUTER htonl(0xE0000002L) 120 #define IGMPV3_ALL_MCR htonl(0xE0000016L) 121 #define IGMP_LOCAL_GROUP htonl(0xE0000000L) 122 #define IGMP_LOCAL_GROUP_MASK htonl(0xFFFFFF00L)
|
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/ |
D | inet_aton.c | 22 inp->s_addr = htonl(host_order_addr); in inet_aton() 31 inp->s_addr = htonl(host_order_addr); in inet_aton() 40 inp->s_addr = htonl(host_order_addr); in inet_aton() 47 inp->s_addr = htonl(p1); in inet_aton()
|
/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/bluetooth/bluedroid/hci/src/ |
D | btsnoop.c | 102 length = htonl(length_he); in btsnoop_write_packet() 103 flags = htonl(flags); in btsnoop_write_packet() 104 drops = htonl(drops); in btsnoop_write_packet() 105 time_hi = htonl(time_hi); in btsnoop_write_packet() 106 time_lo = htonl(time_lo); in btsnoop_write_packet()
|
/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()
|
/external/libpcap/Win32/Include/ |
D | ip6_misc.h | 82 (((u_int32_t *) (a))[2] == htonl (0xffff))) 87 ((((u_int32_t *) (a))[0] & htonl (0xffc00000)) == htonl (0xfe800000)) 91 ((u_int32_t *) (a))[2] == 0 && ((u_int32_t *) (a))[3] == htonl (1))
|
/external/chromium_org/third_party/WebKit/Source/wtf/ |
D | ByteOrder.h | 47 inline uint32_t htonl(uint32_t x) { return x; } in htonl() function 52 inline uint32_t htonl(uint32_t x) { return WTF::wswap32(x); } in htonl() function 57 inline uint32_t htonl(uint32_t x) { return WTF::bswap32(x); } in htonl() function
|
/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(num_blocks); 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/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/chromium_org/third_party/libsrtp/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/chromium_org/third_party/ots/include/ |
D | opentype-sanitiser.h | 20 #define htonl(x) _byteswap_ulong (x) macro 120 v = htonl(v); in WriteU24() 125 v = htonl(v); in WriteU32() 130 v = htonl(v); in WriteS32()
|
/external/chromium_org/net/spdy/ |
D | spdy_frame_builder.h | 99 value = htonl(value); in WriteUInt32() 103 uint32 upper = htonl(value >> 32); in WriteUInt64() 104 uint32 lower = htonl(value); in WriteUInt64()
|
/external/libnl/lib/netfilter/ |
D | log.c | 131 mode.copy_range = htonl(nfnl_log_get_copy_range(log)); in nfnl_log_build_request() 140 htonl(nfnl_log_get_flush_timeout(log))) < 0) in nfnl_log_build_request() 145 htonl(nfnl_log_get_alloc_size(log))) < 0) in nfnl_log_build_request() 150 htonl(nfnl_log_get_queue_threshold(log))) < 0) in nfnl_log_build_request()
|
/external/chromium_org/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/iputils/ninfod/ |
D | ninfod_addrs.c | 284 htonl(0x7fffffff) : htonl(ifa->ifa_cacheinfo->ifa_valid); in pr_nodeinfo_ipv6addr() 286 ttl = (ifa->ifa_flags & IFA_F_PERMANENT) ? htonl(0x7fffffff) : 0; in pr_nodeinfo_ipv6addr() 346 if ((((struct in_addr *)subject)->s_addr != htonl(INADDR_LOOPBACK)) && in pr_nodeinfo_ipv4addr() 445 htonl(0x7fffffff) : htonl(ifa->ifa_cacheinfo->ifa_valid); in pr_nodeinfo_ipv4addr()
|
/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/ |
D | host_resolver_test.cc | 59 fake_addr.sin_addr.s_addr = htonl(FAKE_IP + address_count); in AddFakeAddress() 97 uint32_t expected_addr = htonl(0x01020304); in TEST_F() 152 in_addr_t expected_addr = htonl(INADDR_ANY); in TEST_F() 198 in_addr_t expected_addr = htonl(INADDR_ANY); in TEST_F() 249 in_addr_t expected_addr = htonl(FAKE_IP); in TEST_F() 288 uint32_t expected_addr = htonl(FAKE_IP); in TEST_F() 297 expected_addr += htonl(1); in TEST_F() 356 in_addr_t expected_addr = htonl(FAKE_IP); in TEST_F()
|
/external/libnl/lib/route/cls/ |
D | u32.c | 430 return rtnl_u32_add_key(cls, htonl((uint32_t)val << shift), in rtnl_u32_add_key_uint8() 431 htonl((uint32_t)mask << shift), in rtnl_u32_add_key_uint8() 451 return rtnl_u32_add_key(cls, htonl((uint32_t)val << shift), in rtnl_u32_add_key_uint16() 452 htonl((uint32_t)mask << shift), in rtnl_u32_add_key_uint16() 468 return rtnl_u32_add_key(cls, htonl(val), htonl(mask), in rtnl_u32_add_key_uint32() 476 return rtnl_u32_add_key(cls, addr->s_addr, htonl(mask), off, offmask); in rtnl_u32_add_key_in_addr() 493 htonl(mask), off+4*(i-1), offmask)) < 0) in rtnl_u32_add_key_in6_addr()
|
/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()
|