/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() 83 pi->mask = htonl(0xFFFFFFFF); in get_addr_and_pi() 84 pi->key = htonl(gpi); in get_addr_and_pi() 96 pi->mask = htonl(0xFFFFFFFF); in get_addr_and_pi() 97 pi->key = htonl(gpi); in get_addr_and_pi() 110 pi->mask = htonl(0x000FFFFF); in get_addr_and_pi() 111 pi->key = htonl(flabel) & pi->mask; in get_addr_and_pi() [all …]
|
/external/u-boot/cmd/ |
D | tsi148.c | 83 __raw_writel(htonl(0x00000000), &dev->uregs->outbound[j].otat); in tsi148_init() 84 __raw_writel(htonl(0x00000000), &dev->uregs->inbound[j].itat); in tsi148_init() 88 __raw_writel(htonl(0x00000084), &dev->uregs->vctrl); in tsi148_init() 101 __raw_writel(htonl(0x00000000), &dev->uregs->inten); in tsi148_init() 103 __raw_writel(htonl(0x00000000), &dev->uregs->inteo); in tsi148_init() 106 __raw_writel(htonl(0x03ff3f00), &dev->uregs->intc); in tsi148_init() 108 __raw_writel(htonl(0x00000000), &dev->uregs->intm1); in tsi148_init() 109 __raw_writel(htonl(0x00000000), &dev->uregs->intm2); in tsi148_init() 157 __raw_writel(htonl(pciAddr), &dev->uregs->outbound[i].otsal); in tsi148_pci_slave_window() 159 __raw_writel(htonl(pciAddr + size), &dev->uregs->outbound[i].oteal); in tsi148_pci_slave_window() [all …]
|
/external/libcups/filter/ |
D | raster.c | 577 r->sync = htonl(CUPS_RASTER_SYNC_PWG); in cupsRasterOpenIO() 583 r->sync = htonl(CUPS_RASTER_SYNCapple); in cupsRasterOpenIO() 1032 fh.CutMedia = htonl(r->header.CutMedia); in cupsRasterWriteHeader() 1033 fh.Duplex = htonl(r->header.Duplex); in cupsRasterWriteHeader() 1034 fh.HWResolution[0] = htonl(r->header.HWResolution[0]); in cupsRasterWriteHeader() 1035 fh.HWResolution[1] = htonl(r->header.HWResolution[1]); in cupsRasterWriteHeader() 1036 fh.ImagingBoundingBox[0] = htonl(r->header.ImagingBoundingBox[0]); in cupsRasterWriteHeader() 1037 fh.ImagingBoundingBox[1] = htonl(r->header.ImagingBoundingBox[1]); in cupsRasterWriteHeader() 1038 fh.ImagingBoundingBox[2] = htonl(r->header.ImagingBoundingBox[2]); in cupsRasterWriteHeader() 1039 fh.ImagingBoundingBox[3] = htonl(r->header.ImagingBoundingBox[3]); in cupsRasterWriteHeader() [all …]
|
/external/strace/tests/ |
D | netlink_kobject_uevent.c | 53 .magic = htonl(0xfeedcafe), in test_nlmsg_type_udev() 57 .filter_subsystem_hash = htonl(0xc370b302), in test_nlmsg_type_udev() 58 .filter_devtype_hash = htonl(0x10800000), in test_nlmsg_type_udev() 59 .filter_tag_bloom_hi = htonl(0x2000400), in test_nlmsg_type_udev() 60 .filter_tag_bloom_lo = htonl(0x10800000), in test_nlmsg_type_udev() 114 .magic = htonl(0xfeedcafe), in test_nlmsg_type_kernel() 118 .filter_subsystem_hash = htonl(0xfffffff), in test_nlmsg_type_kernel() 119 .filter_devtype_hash = htonl(0x10000000), in test_nlmsg_type_kernel() 120 .filter_tag_bloom_hi = htonl(0x2000400), in test_nlmsg_type_kernel()
|
/external/strace/tests-m32/ |
D | netlink_kobject_uevent.c | 53 .magic = htonl(0xfeedcafe), in test_nlmsg_type_udev() 57 .filter_subsystem_hash = htonl(0xc370b302), in test_nlmsg_type_udev() 58 .filter_devtype_hash = htonl(0x10800000), in test_nlmsg_type_udev() 59 .filter_tag_bloom_hi = htonl(0x2000400), in test_nlmsg_type_udev() 60 .filter_tag_bloom_lo = htonl(0x10800000), in test_nlmsg_type_udev() 114 .magic = htonl(0xfeedcafe), in test_nlmsg_type_kernel() 118 .filter_subsystem_hash = htonl(0xfffffff), in test_nlmsg_type_kernel() 119 .filter_devtype_hash = htonl(0x10000000), in test_nlmsg_type_kernel() 120 .filter_tag_bloom_hi = htonl(0x2000400), in test_nlmsg_type_kernel()
|
/external/strace/tests-mx32/ |
D | netlink_kobject_uevent.c | 53 .magic = htonl(0xfeedcafe), in test_nlmsg_type_udev() 57 .filter_subsystem_hash = htonl(0xc370b302), in test_nlmsg_type_udev() 58 .filter_devtype_hash = htonl(0x10800000), in test_nlmsg_type_udev() 59 .filter_tag_bloom_hi = htonl(0x2000400), in test_nlmsg_type_udev() 60 .filter_tag_bloom_lo = htonl(0x10800000), in test_nlmsg_type_udev() 114 .magic = htonl(0xfeedcafe), in test_nlmsg_type_kernel() 118 .filter_subsystem_hash = htonl(0xfffffff), in test_nlmsg_type_kernel() 119 .filter_devtype_hash = htonl(0x10000000), in test_nlmsg_type_kernel() 120 .filter_tag_bloom_hi = htonl(0x2000400), in test_nlmsg_type_kernel()
|
/external/u-boot/net/ |
D | nfs.c | 155 *p++ = htonl(1); /* AUTH_UNIX */ in rpc_add_credentials() 156 *p++ = htonl(20); /* auth length */ in rpc_add_credentials() 182 rpc_pkt.u.call.id = htonl(id); in rpc_req() 183 rpc_pkt.u.call.type = htonl(MSG_CALL); in rpc_req() 184 rpc_pkt.u.call.rpcvers = htonl(2); /* use RPC version 2 */ in rpc_req() 185 rpc_pkt.u.call.prog = htonl(rpc_prog); in rpc_req() 189 rpc_pkt.u.call.vers = htonl(2); /* NFS v2 */ in rpc_req() 191 rpc_pkt.u.call.vers = htonl(3); /* NFS v3 */ in rpc_req() 196 rpc_pkt.u.call.vers = htonl(2); /* portmapper is version 2 */ in rpc_req() 198 rpc_pkt.u.call.proc = htonl(rpc_proc); in rpc_req() [all …]
|
/external/mesa3d/src/util/sha1/ |
D | sha1.h | 36 x[0] = htonl(x[0]); \ 37 x[1] = htonl(x[1]); \ 38 x[2] = htonl(x[2]); \ 39 x[3] = htonl(x[3]); \ 40 x[4] = htonl(x[4]); } while (0)
|
/external/kernel-headers/original/uapi/linux/ |
D | igmp.h | 119 #define IGMP_ALL_HOSTS htonl(0xE0000001L) 120 #define IGMP_ALL_ROUTER htonl(0xE0000002L) 121 #define IGMPV3_ALL_MCR htonl(0xE0000016L) 122 #define IGMP_LOCAL_GROUP htonl(0xE0000000L) 123 #define IGMP_LOCAL_GROUP_MASK htonl(0xFFFFFF00L)
|
/external/openssh/openbsd-compat/ |
D | sha1.h | 44 x[0] = htonl(x[0]); \ 45 x[1] = htonl(x[1]); \ 46 x[2] = htonl(x[2]); \ 47 x[3] = htonl(x[3]); \ 48 x[4] = htonl(x[4]); } while (0)
|
D | port-tun.c | 241 if (*af == htonl(AF_INET6)) in sys_tun_infilter() 242 *af = htonl(OPENBSD_AF_INET6); in sys_tun_infilter() 244 *af = htonl(OPENBSD_AF_INET); in sys_tun_infilter() 275 *af = htonl(AF_INET6); in sys_tun_outfilter() 277 *af = htonl(AF_INET); in sys_tun_outfilter()
|
/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/ppp/pppd/ |
D | ipcp.c | 515 mask = htonl(mask); 902 cilong = htonl(l); \ 906 cilong = htonl(l); \ 945 cilong = htonl(l); \ 960 cilong = htonl(l); \ 975 cilong = htonl(l); \ 1049 ciaddr1 = htonl(l); \ 1051 ciaddr2 = htonl(l); \ 1076 ciaddr1 = htonl(l); \ 1089 cidnsaddr = htonl(l); \ [all …]
|
/external/e2fsprogs/lib/ext2fs/ |
D | mkjournal.c | 61 jsb->s_header.h_magic = htonl(JFS_MAGIC_NUMBER); in ext2fs_create_journal_superblock() 63 jsb->s_header.h_blocktype = htonl(JFS_SUPERBLOCK_V1); in ext2fs_create_journal_superblock() 65 jsb->s_header.h_blocktype = htonl(JFS_SUPERBLOCK_V2); in ext2fs_create_journal_superblock() 66 jsb->s_blocksize = htonl(fs->blocksize); in ext2fs_create_journal_superblock() 67 jsb->s_maxlen = htonl(num_blocks); in ext2fs_create_journal_superblock() 68 jsb->s_nr_users = htonl(1); in ext2fs_create_journal_superblock() 69 jsb->s_first = htonl(1); in ext2fs_create_journal_superblock() 70 jsb->s_sequence = htonl(1); in ext2fs_create_journal_superblock() 78 jsb->s_first = htonl(ext2fs_journal_sb_start(fs->blocksize) + 1); in ext2fs_create_journal_superblock() 414 jsb->s_nr_users = htonl(nr_users+1); in ext2fs_add_journal_device()
|
/external/libnetfilter_conntrack/src/expect/ |
D | build.c | 16 nfnl_addattr32(&req->nlh, size, CTA_EXPECT_TIMEOUT,htonl(exp->timeout)); in __build_timeout() 28 nfnl_addattr32(&req->nlh, size, CTA_EXPECT_FLAGS,htonl(exp->flags)); in __build_flags() 35 nfnl_addattr32(&req->nlh, size, CTA_EXPECT_CLASS, htonl(exp->class)); in __build_class() 91 htonl(exp->nat_dir)); in __build_expect()
|
/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/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/libnl/lib/route/cls/ |
D | u32.c | 422 hashmask = htonl(hashmask); in rtnl_u32_set_hashmask() 615 return rtnl_u32_add_key(cls, htonl((uint32_t)val << shift), in rtnl_u32_add_key_uint8() 616 htonl((uint32_t)mask << shift), in rtnl_u32_add_key_uint8() 636 return rtnl_u32_add_key(cls, htonl((uint32_t)val << shift), in rtnl_u32_add_key_uint16() 637 htonl((uint32_t)mask << shift), in rtnl_u32_add_key_uint16() 653 return rtnl_u32_add_key(cls, htonl(val), htonl(mask), in rtnl_u32_add_key_uint32() 661 return rtnl_u32_add_key(cls, addr->s_addr, htonl(mask), off, offmask); in rtnl_u32_add_key_in_addr() 678 htonl(mask), off+4*(i-1), offmask)) < 0) in rtnl_u32_add_key_in6_addr()
|
/external/epid-sdk/epid/common/src/ |
D | endian_convert.h | 37 #if !defined(htonl) 39 #define htonl(u32) \ macro
|
/external/mtpd/ |
D | pptp.c | 67 #define MAGIC_COOKIE htonl(0x1A2B3C4D) 231 outgoing.sccrq.framing = htonl(3); in pptp_connect() 232 outgoing.sccrq.bearer = htonl(3); in pptp_connect() 460 outgoing.ocrq.minimum_speed = htonl(1000); in pptp_process() 461 outgoing.ocrq.maximum_speed = htonl(100000000); in pptp_process() 462 outgoing.ocrq.bearer = htonl(3); in pptp_process() 463 outgoing.ocrq.framing = htonl(3); in pptp_process()
|
/external/libpcap/rpcapd/ |
D | daemon.c | 1349 findalldevs_if->flags = htonl(d->flags); in daemon_msg_findallif_req() 1509 openreply->linktype = htonl(pcap_datalink(fp)); in daemon_msg_open_req() 1720 startcapreply->bufsize = htonl(pcap_bufsize(session->fp)); in daemon_msg_startcap_req() 2189 netstats->ifdrop = htonl(stats->ps_ifdrop); in daemon_msg_stats_req() 2190 netstats->ifrecv = htonl(stats->ps_recv); in daemon_msg_stats_req() 2191 netstats->krnldrop = htonl(stats->ps_drop); in daemon_msg_stats_req() 2192 netstats->svrcapt = htonl(session->TotCapt); in daemon_msg_stats_req() 2199 netstats->ifdrop = htonl(stats->ps_ifdrop); in daemon_msg_stats_req() 2200 netstats->ifrecv = htonl(stats->ps_recv); in daemon_msg_stats_req() 2201 netstats->krnldrop = htonl(stats->ps_drop); in daemon_msg_stats_req() [all …]
|
/external/libnetfilter_conntrack/src/conntrack/ |
D | build_mnl.c | 177 htonl(ct->protoinfo.sctp.vtag[__DIR_ORIG])); in nfct_build_protoinfo() 181 htonl(ct->protoinfo.sctp.vtag[__DIR_REPL])); in nfct_build_protoinfo() 222 htonl(ct->natseq[dir].correction_pos)); in nfct_nat_seq_adj() 224 htonl(ct->natseq[dir].offset_before)); in nfct_nat_seq_adj() 226 htonl(ct->natseq[dir].offset_after)); in nfct_nat_seq_adj() 379 mnl_attr_put_u32(nlh, CTA_STATUS, htonl(ct->status | IPS_CONFIRMED)); in nfct_build_status() 386 mnl_attr_put_u32(nlh, CTA_TIMEOUT, htonl(ct->timeout)); in nfct_build_timeout() 393 mnl_attr_put_u32(nlh, CTA_MARK, htonl(ct->mark)); in nfct_build_mark() 400 mnl_attr_put_u32(nlh, CTA_SECMARK, htonl(ct->secmark)); in nfct_build_secmark()
|
/external/ltp/testcases/network/sockets/ |
D | ltpServer.c | 117 multiServerAddr.sin_addr.s_addr = htonl(INADDR_ANY); in main() 132 htonl(INADDR_ANY); in main() 174 udpServerAddr.sin_addr.s_addr = htonl(INADDR_ANY); in main() 191 tcpServerAddr.sin_addr.s_addr = htonl(INADDR_ANY); in main()
|
/external/iproute2/lib/ |
D | mpls_pton.c | 27 addr->entry = htonl(label << MPLS_LS_LABEL_SHIFT); in mpls_pton1() 29 addr->entry |= htonl(1 << MPLS_LS_S_SHIFT); in mpls_pton1()
|
/external/ltp/testcases/network/lib6/ |
D | asapi_01.c | 256 pttp->tp_pid = htonl(pid); in client() 304 if (htonl(prtp->tp_pid) == (uint32_t)pid && in client() 305 htonl(prtp->tp_seq) == (uint32_t)seq) in client() 323 ph.ph_len = htonl(xlen); in client() 367 sin4.sin_addr.s_addr = htonl(INADDR_LOOPBACK); in isocketpair()
|