/external/syslinux/gpxe/src/net/infiniband/ |
D | ib_mcast.c | 99 qkey = ntohl ( mc_member_record->qkey ); in ib_mcast_complete() 102 ntohl ( gid->u.dwords[0] ), ntohl ( gid->u.dwords[1] ), in ib_mcast_complete() 103 ntohl ( gid->u.dwords[2] ), ntohl ( gid->u.dwords[3] ), in ib_mcast_complete() 148 ibdev, qp->qpn, ntohl ( gid->u.dwords[0] ), in ib_mcast_join() 149 ntohl ( gid->u.dwords[1] ), ntohl ( gid->u.dwords[2] ), in ib_mcast_join() 150 ntohl ( gid->u.dwords[3] ) ); in ib_mcast_join() 199 ibdev, qp->qpn, ntohl ( gid->u.dwords[0] ), in ib_mcast_leave() 200 ntohl ( gid->u.dwords[1] ), ntohl ( gid->u.dwords[2] ), in ib_mcast_leave() 201 ntohl ( gid->u.dwords[3] ) ); in ib_mcast_leave()
|
D | ib_mi.c | 104 mi, ntohl ( hdr->tid[0] ), ntohl ( hdr->tid[1] ) ); in ib_mi_handle() 148 "%04x\n", mi, ntohl ( hdr->tid[0] ), ntohl ( hdr->tid[1] ), in ib_mi_complete_recv() 188 "%04x\n", mi, ntohl ( hdr->tid[0] ), ntohl ( hdr->tid[1] ), in ib_mi_send() 208 "%d\n", mi, ntohl ( hdr->tid[0] ), in ib_mi_send() 209 ntohl ( hdr->tid[1] ), hop_pointer ); in ib_mi_send() 219 mi, ntohl ( hdr->tid[0] ), ntohl ( hdr->tid[1] ) ); in ib_mi_send() 227 mi, ntohl ( hdr->tid[0] ), ntohl ( hdr->tid[1] ), in ib_mi_send() 252 mi, ntohl ( hdr->tid[0] ), ntohl ( hdr->tid[1] ) ); in ib_mi_timer_expired() 398 mi, ntohl ( madx->mad.hdr.tid[0] ), in ib_destroy_mi() 399 ntohl ( madx->mad.hdr.tid[1] ) ); in ib_destroy_mi()
|
D | ib_packet.c | 192 qpn = ntohl ( bth->dest_qp ); in ib_pull() 202 av->qpn = ntohl ( deth->src_qp ); in ib_pull() 203 av->qkey = ntohl ( deth->qkey ); in ib_pull() 219 ntohl ( grh->dgid.u.dwords[0] ), in ib_pull() 220 ntohl ( grh->dgid.u.dwords[1] ), in ib_pull() 221 ntohl ( grh->dgid.u.dwords[2] ), in ib_pull() 222 ntohl ( grh->dgid.u.dwords[3] ) ); in ib_pull() 238 av->lid, av->qpn, ntohl ( deth->qkey ) ); in ib_pull()
|
D | ib_cm.c | 101 if ( ntohl ( connect_rep->remote_id ) != conn->local_id ) in ib_cm_connect_rep() 112 ntohl ( connect_rep->remote_id ) ); in ib_cm_connect_rep() 179 conn->remote_id = ntohl ( common->local_id ); in ib_cm_req_complete() 186 qp->av.qpn = ( ntohl ( connect_rep->local_qpn ) >> 8 ); in ib_cm_req_complete() 187 qp->send.psn = ( ntohl ( connect_rep->starting_psn ) >> 8 ); in ib_cm_req_complete() 382 conn, ntohl ( dgid->u.dwords[0] ), ntohl ( dgid->u.dwords[1] ), in ib_create_conn() 383 ntohl ( dgid->u.dwords[2] ), ntohl ( dgid->u.dwords[3] ), in ib_create_conn() 384 ntohl ( service_id->u.dwords[0] ), in ib_create_conn() 385 ntohl ( service_id->u.dwords[1] ) ); in ib_create_conn()
|
/external/syslinux/gpxe/src/drivers/block/ |
D | srp.c | 134 srp, ntohl ( login_req->tag.dwords[0] ), in srp_login() 135 ntohl ( login_req->tag.dwords[1] ) ); in srp_login() 163 srp, ntohl ( login_rsp->tag.dwords[0] ), in srp_login_rsp() 164 ntohl ( login_rsp->tag.dwords[1] ) ); in srp_login_rsp() 203 srp, ntohl ( login_rej->tag.dwords[0] ), in srp_login_rej() 204 ntohl ( login_rej->tag.dwords[1] ) ); in srp_login_rej() 216 srp, ntohl ( login_rej->reason ) ); in srp_login_rej() 259 data_out->handle = ntohl ( srp->memory_handle ); in srp_cmd() 260 data_out->len = ntohl ( srp->command->data_out_len ); in srp_cmd() 269 data_in->handle = ntohl ( srp->memory_handle ); in srp_cmd() [all …]
|
/external/libpcap/ |
D | pcap-rpcap.c | 164 sockaddr->sin6_flowinfo = ntohl(sockaddr->sin6_flowinfo); in rpcap_deseraddr() 165 sockaddr->sin6_scope_id = ntohl(sockaddr->sin6_scope_id); in rpcap_deseraddr() 305 if ((ntohl(net_pkt_header->caplen) + sizeof(struct pcap_pkthdr)) <= p->bufsize) in pcap_read_nocb_remote() 311 (*pkt_header)->caplen = ntohl(net_pkt_header->caplen); in pcap_read_nocb_remote() 312 (*pkt_header)->len = ntohl(net_pkt_header->len); in pcap_read_nocb_remote() 313 (*pkt_header)->ts.tv_sec = ntohl(net_pkt_header->timestamp_sec); in pcap_read_nocb_remote() 314 (*pkt_header)->ts.tv_usec = ntohl(net_pkt_header->timestamp_usec); in pcap_read_nocb_remote() 336 npkt = ntohl(net_pkt_header->npkt); in pcap_read_nocb_remote() 357 if (totread != ntohl(header->plen)) in pcap_read_nocb_remote() 358 sock_discard(md->rmt_sockdata, ntohl(header->plen) - totread, NULL, 0); in pcap_read_nocb_remote() [all …]
|
D | extract.h | 104 return ((uint32_t)ntohl(((const unaligned_uint32_t *)(p))->val)); in EXTRACT_32BITS() 110 return ((uint64_t)(((uint64_t)ntohl(((const unaligned_uint32_t *)(p) + 0)->val)) << 32 | \ in EXTRACT_64BITS() 111 ((uint64_t)ntohl(((const unaligned_uint32_t *)(p) + 1)->val)) << 0)); in EXTRACT_64BITS() 154 return ((uint32_t)ntohl(*(const uint32_t *)(p))); in EXTRACT_32BITS() 160 return ((uint64_t)(((uint64_t)ntohl(*((const uint32_t *)(p) + 0))) << 32 | \ in EXTRACT_64BITS() 161 ((uint64_t)ntohl(*((const uint32_t *)(p) + 1))) << 0)); in EXTRACT_64BITS()
|
/external/mesa3d/src/util/sha1/ |
D | sha1.h | 43 x[0] = ntohl(x[0]); \ 44 x[1] = ntohl(x[1]); \ 45 x[2] = ntohl(x[2]); \ 46 x[3] = ntohl(x[3]); \ 47 x[4] = ntohl(x[4]); } while (0)
|
/external/libnl/lib/netfilter/ |
D | log_msg.c | 97 nfnl_log_msg_set_mark(msg, ntohl(nla_get_u32(attr))); in nfnlmsg_log_msg_parse() 111 nfnl_log_msg_set_indev(msg, ntohl(nla_get_u32(attr))); in nfnlmsg_log_msg_parse() 115 nfnl_log_msg_set_outdev(msg, ntohl(nla_get_u32(attr))); in nfnlmsg_log_msg_parse() 119 nfnl_log_msg_set_physindev(msg, ntohl(nla_get_u32(attr))); in nfnlmsg_log_msg_parse() 123 nfnl_log_msg_set_physoutdev(msg, ntohl(nla_get_u32(attr))); in nfnlmsg_log_msg_parse() 148 nfnl_log_msg_set_uid(msg, ntohl(nla_get_u32(attr))); in nfnlmsg_log_msg_parse() 152 nfnl_log_msg_set_gid(msg, ntohl(nla_get_u32(attr))); in nfnlmsg_log_msg_parse() 156 nfnl_log_msg_set_seq(msg, ntohl(nla_get_u32(attr))); in nfnlmsg_log_msg_parse() 160 nfnl_log_msg_set_seq_global(msg, ntohl(nla_get_u32(attr))); in nfnlmsg_log_msg_parse()
|
D | queue_msg.c | 89 nfnl_queue_msg_set_packetid(msg, ntohl(hdr->packet_id)); in nfnlmsg_queue_msg_parse() 97 nfnl_queue_msg_set_mark(msg, ntohl(nla_get_u32(attr))); in nfnlmsg_queue_msg_parse() 111 nfnl_queue_msg_set_indev(msg, ntohl(nla_get_u32(attr))); in nfnlmsg_queue_msg_parse() 115 nfnl_queue_msg_set_outdev(msg, ntohl(nla_get_u32(attr))); in nfnlmsg_queue_msg_parse() 119 nfnl_queue_msg_set_physindev(msg, ntohl(nla_get_u32(attr))); in nfnlmsg_queue_msg_parse() 123 nfnl_queue_msg_set_physoutdev(msg, ntohl(nla_get_u32(attr))); in nfnlmsg_queue_msg_parse() 185 ntohl(nfnl_queue_msg_get_mark(msg))) < 0) in __nfnl_queue_msg_build_verdict()
|
/external/syslinux/com32/modules/ |
D | prdhcp.c | 95 magic = ntohl(*((uint32_t *)d)); in print_pxe_vendor_blk() 96 printf(" Magic: %08X", ntohl(*((uint32_t *)d))); in print_pxe_vendor_blk() 124 ntohl(p->ident), ntohs(p->seconds), ntohs(p->Flags), ntohl(p->cip)); in print_pxe_bootp_t() 126 ntohl(p->yip), ntohl(p->sip), ntohl(p->gip)); in print_pxe_bootp_t()
|
/external/openssh/openbsd-compat/ |
D | sha1.h | 51 x[0] = ntohl(x[0]); \ 52 x[1] = ntohl(x[1]); \ 53 x[2] = ntohl(x[2]); \ 54 x[3] = ntohl(x[3]); \ 55 x[4] = ntohl(x[4]); } while (0)
|
/external/syslinux/gpxe/src/net/ |
D | tcp.c | 476 tsopt->tsopt.tsval = ntohl ( currticks() ); in tcp_xmit() 477 tsopt->tsopt.tsecr = ntohl ( tcp->ts_recent ); in tcp_xmit() 495 ntohl ( tcphdr->seq ), ( ntohl ( tcphdr->seq ) + seq_len ), in tcp_xmit() 496 ntohl ( tcphdr->ack ), len ); in tcp_xmit() 566 "%08x..%08x %08x\n", tcp, ntohl ( in_tcphdr->ack ), in tcp_xmit_reset() 567 ntohl ( in_tcphdr->ack ), ntohl ( in_tcphdr->seq ) ); in tcp_xmit_reset() 587 ntohl ( tcphdr->seq ), ( ntohl ( tcphdr->seq ) ), in tcp_xmit_reset() 588 ntohl ( tcphdr->ack ), 0 ); in tcp_xmit_reset() 596 "%s\n", tcp, ntohl ( in_tcphdr->ack ), in tcp_xmit_reset() 597 ntohl ( in_tcphdr->ack ), ntohl ( in_tcphdr->seq ), in tcp_xmit_reset() [all …]
|
/external/tcpdump/ |
D | extract.h | 100 return ((uint32_t)ntohl(((const unaligned_uint32_t *)(p))->val)); in EXTRACT_32BITS() 106 return ((uint64_t)(((uint64_t)ntohl(((const unaligned_uint32_t *)(p) + 0)->val)) << 32 | in EXTRACT_64BITS() 107 ((uint64_t)ntohl(((const unaligned_uint32_t *)(p) + 1)->val)) << 0)); in EXTRACT_64BITS() 150 return ((uint32_t)ntohl(*(const uint32_t *)(p))); in EXTRACT_32BITS() 156 return ((uint64_t)(((uint64_t)ntohl(*((const uint32_t *)(p) + 0))) << 32 | in EXTRACT_64BITS() 157 ((uint64_t)ntohl(*((const uint32_t *)(p) + 1))) << 0)); in EXTRACT_64BITS()
|
/external/libnetfilter_conntrack/src/conntrack/ |
D | parse.c | 267 ntohl(*(uint32_t *)NFA_DATA(tb[CTA_PROTOINFO_SCTP_VTAG_ORIGINAL-1])); in __parse_protoinfo_sctp() 273 ntohl(*(uint32_t *)NFA_DATA(tb[CTA_PROTOINFO_SCTP_VTAG_REPLY-1])); in __parse_protoinfo_sctp() 334 = ntohl(*(uint32_t *) in __parse_counters() 358 = ntohl(*(uint32_t *) in __parse_counters() 389 ntohl(*(uint32_t *)NFA_DATA(tb[CTA_NAT_SEQ_CORRECTION_POS-1])); in __parse_nat_seq() 402 ntohl(*(uint32_t *)NFA_DATA(tb[CTA_NAT_SEQ_OFFSET_BEFORE-1])); in __parse_nat_seq() 415 ntohl(*(uint32_t *)NFA_DATA(tb[CTA_NAT_SEQ_OFFSET_AFTER-1])); in __parse_nat_seq() 547 ct->status = ntohl(*(uint32_t *)NFA_DATA(cda[CTA_STATUS-1])); in __parse_conntrack() 555 ct->timeout = ntohl(*(uint32_t *)NFA_DATA(cda[CTA_TIMEOUT-1])); in __parse_conntrack() 560 ct->mark = ntohl(*(uint32_t *)NFA_DATA(cda[CTA_MARK-1])); in __parse_conntrack() [all …]
|
D | parse_mnl.c | 416 ntohl(mnl_attr_get_u32(tb[CTA_PROTOINFO_SCTP_VTAG_ORIGINAL])); in nfct_parse_protoinfo_sctp() 422 ntohl(mnl_attr_get_u32(tb[CTA_PROTOINFO_SCTP_VTAG_REPLY])); in nfct_parse_protoinfo_sctp() 555 ntohl(mnl_attr_get_u32(tb[CTA_COUNTERS32_PACKETS])); in nfct_parse_counters() 573 ntohl(mnl_attr_get_u32(tb[CTA_COUNTERS32_BYTES])); in nfct_parse_counters() 624 ntohl(mnl_attr_get_u32(tb[CTA_NAT_SEQ_CORRECTION_POS])); in nfct_parse_nat_seq() 637 ntohl(mnl_attr_get_u32(tb[CTA_NAT_SEQ_OFFSET_BEFORE])); in nfct_parse_nat_seq() 650 ntohl(mnl_attr_get_u32(tb[CTA_NAT_SEQ_OFFSET_AFTER])); in nfct_parse_nat_seq() 908 ct->status = ntohl(mnl_attr_get_u32(tb[CTA_STATUS])); in nfct_payload_parse() 918 ct->timeout = ntohl(mnl_attr_get_u32(tb[CTA_TIMEOUT])); in nfct_payload_parse() 923 ct->mark = ntohl(mnl_attr_get_u32(tb[CTA_MARK])); in nfct_payload_parse() [all …]
|
/external/iproute2/tc/ |
D | f_u32.c | 829 switch (ntohl(key->mask)) { in print_ipv4() 831 fprintf(f, "\n match IP ihl %u", ntohl(key->val) >> 24); in print_ipv4() 834 fprintf(f, "\n match IP dsfield %#x", ntohl(key->val) >> 16); in print_ipv4() 839 if (ntohl(key->mask) == 0x00ff0000) { in print_ipv4() 840 fprintf(f, "\n match IP protocol %d", ntohl(key->val) >> 16); in print_ipv4() 859 switch (ntohl(key->mask)) { in print_ipv4() 862 ntohl(key->val) & 0xffff); in print_ipv4() 866 ntohl(key->val) >> 16); in print_ipv4() 870 ntohl(key->val) & 0xffff, in print_ipv4() 871 ntohl(key->val) >> 16); in print_ipv4() [all …]
|
/external/e2fsprogs/misc/ |
D | dumpe2fs.c | 433 (unsigned int)ntohl(jsb->s_maxlen), in print_inline_journal_information() 434 (unsigned int)ntohl(jsb->s_sequence), in print_inline_journal_information() 435 (unsigned int)ntohl(jsb->s_start)); in print_inline_journal_information() 449 (int) ntohl(jsb->s_errno)); in print_inline_journal_information() 470 if ((jsb->s_header.h_magic != (unsigned) ntohl(JFS_MAGIC_NUMBER)) || in print_journal_information() 472 (unsigned) ntohl(JFS_SUPERBLOCK_V2))) { in print_journal_information() 507 (unsigned int)ntohl(jsb->s_blocksize), (unsigned int)ntohl(jsb->s_maxlen), in print_journal_information() 508 (unsigned int)ntohl(jsb->s_first), (unsigned int)ntohl(jsb->s_sequence), in print_journal_information() 509 (unsigned int)ntohl(jsb->s_start), (unsigned int)ntohl(jsb->s_nr_users)); in print_journal_information() 511 for (i=0; i < ntohl(jsb->s_nr_users); i++) { in print_journal_information()
|
/external/syslinux/core/lwip/src/core/ |
D | tcp_out.c | 605 ntohl(seg->tcphdr->seqno), in tcp_write() 606 ntohl(seg->tcphdr->seqno) + TCP_TCPLEN(seg))); in tcp_write() 776 ntohl(seg->tcphdr->seqno), in tcp_enqueue_flags() 777 ntohl(seg->tcphdr->seqno) + TCP_TCPLEN(seg), in tcp_enqueue_flags() 920 ntohl(seg->tcphdr->seqno) - pcb->lastack + seg->len > wnd)) { in tcp_output() 947 ntohl(seg->tcphdr->seqno) - pcb->lastack + seg->len, in tcp_output() 948 ntohl(seg->tcphdr->seqno), pcb->lastack)); in tcp_output() 953 ntohl(seg->tcphdr->seqno) - pcb->lastack + seg->len <= wnd) { in tcp_output() 970 ntohl(seg->tcphdr->seqno) + seg->len - in tcp_output() 972 ntohl(seg->tcphdr->seqno), pcb->lastack, i)); in tcp_output() [all …]
|
/external/libnetfilter_conntrack/src/expect/ |
D | parse.c | 68 ntohl(*(uint32_t *)NFA_DATA(cda[CTA_EXPECT_TIMEOUT-1])); in __parse_expect() 79 ntohl(*(uint32_t *)NFA_DATA(cda[CTA_EXPECT_FLAGS-1])); in __parse_expect() 89 ntohl(*(uint32_t *)NFA_DATA(cda[CTA_EXPECT_CLASS-1])); in __parse_expect() 110 ntohl(*((uint32_t *) in __parse_expect()
|
/external/syslinux/core/lwip/src/include/lwip/ |
D | def.h | 77 #ifdef ntohl 78 #undef ntohl 84 #define ntohl(x) lwip_ntohl(x) macro
|
/external/syslinux/core/lwip/src/netif/ppp/ |
D | vj.c | 101 u32_t tmp = ntohl(f) + ((cp[1] << 8) | cp[2]); \ 105 u32_t tmp = ntohl(f) + (u32_t)*cp++; \ 290 if ((deltaL = ntohl(th->ackno) - ntohl(oth->ackno)) != 0) { in vj_compress_tcp() 299 if ((deltaL = ntohl(th->seqno) - ntohl(oth->seqno)) != 0) { in vj_compress_tcp() 517 tmp = ntohl(th->ackno) + i; in vj_uncompress_tcp() 519 tmp = ntohl(th->seqno) + i; in vj_uncompress_tcp() 526 tmp = ntohl(th->seqno) + ntohs(IPH_LEN(&cs->cs_ip)) - cs->cs_hlen; in vj_uncompress_tcp()
|
/external/valgrind/coregrind/ |
D | fixup_macho_loadcmds.c | 204 if (ntohl(fh_be->magic) == FAT_MAGIC) in is_macho_object_file() 285 fh.magic = ntohl(fh_be->magic); in map_image_aboard() 286 fh.nfat_arch = ntohl(fh_be->nfat_arch); in map_image_aboard() 307 arch.cputype = ntohl(arch_be->cputype); in map_image_aboard() 308 arch.cpusubtype = ntohl(arch_be->cpusubtype); in map_image_aboard() 309 arch.offset = ntohl(arch_be->offset); in map_image_aboard() 310 arch.size = ntohl(arch_be->size); in map_image_aboard()
|
/external/python/cpython2/Lib/plat-irix6/ |
D | IN.py | 55 def ntohl(x): return (x) function 63 def htonl(x): return ntohl(x) 264 def IPV6_GET_FLOWLABEL(x): return (ntohl(x) & 0x00ffffff) 266 def IPV6_GET_PRIORITY(x): return ((ntohl(x) >> 24) & 0xf) 268 def IPV6_GET_VERSION(x): return ((ntohl(x) >> 28) & 0xf)
|
/external/ltp/testcases/network/lib6/ |
D | asapi_01.c | 180 expected += ntohl(tpt->tp_dlen); in recvtprot() 189 expected += ntohl(tpt->tp_dlen); in recvtprot() 257 pttp->tp_offset = ntohl(offset); in client() 258 pttp->tp_dlen = ntohl(cstab[i].cs_dlen); in client() 259 pttp->tp_seq = ntohl(++seq); in client() 309 pend = rpbuf + sizeof(struct tprot) + ntohl(prtp->tp_dlen); in client()
|