/illumos-gate/usr/src/lib/libdtrace/common/ |
H A D | iscsit.d | 70 ii_statsn = ntohl(P->statsn); 87 ii_itt = ntohl(P->itt); 89 ii_cmdsn = ntohl(P->cmdsn); 90 ii_statsn = ntohl(P->expstatsn); 107 ii_itt = ntohl(P->itt); 109 ii_cmdsn = ntohl(P->expcmdsn); 110 ii_statsn = ntohl(P->statsn); 127 ii_itt = ntohl(P->itt); 129 ii_cmdsn = ntohl(P->cmdsn); 130 ii_statsn = ntohl(P->expstatsn); [all …]
|
H A D | srp.d | 89 li_max_it_iu_len = ntohl(P->lreq_req_it_iu_len); 98 li_max_it_iu_len = ntohl(P->lrsp_max_it_iu_len); 99 li_max_ti_iu_len = ntohl(P->lrsp_max_ti_iu_len); 100 li_request_limit = ntohl(P->lrsp_req_limit_delta); 101 li_reason_code = ntohl(((srp_login_rej_t *)arg2)->lrej_reason); 121 ti_lun = (ntohl(*((uint32_t *)P->cr_lun)) << 32) + 122 ntohl(*((uint32_t *)&P->cr_lun[4])); 137 ti_req_limit_delta = ntohl(P->rsp_req_limit_delta); 139 ti_do_resid_cnt = ntohl(P->rsp_do_resid_cnt); 140 ti_di_resid_cnt = ntohl(P->rsp_di_resid_cnt);
|
/illumos-gate/usr/src/lib/libc/i386/gen/ |
H A D | byteorder64.c | 48 return (ntohl(in >> 32) | (uint64_t)ntohl(in) << 32); in ntohll() 66 return (ntohl(in >> 32) | (uint64_t)ntohl(in) << 32); in betoh64() 78 return (ntohl(in >> 32) | (uint64_t)ntohl(in) << 32); in be64toh()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_sctp.c | 341 ntohl(*cid)); in parse_asconfok_param() 357 ntohl(*cid)); in parse_asconferr_param() 386 ntohl(*cid)); in parse_addip_param() 444 ntohl(*(uint32_t *)data)); in parse_int32_param() 640 SUMAPPEND((scratch, MAXLINE, "CTSN %x ", ntohl(*ftsn))); in parse_ftsn_chunk() 644 ntohl(*ftsn)); in parse_ftsn_chunk() 673 SUMAPPEND((scratch, MAXLINE, "sn %x ", ntohl(*sn))); in parse_asconf_chunk() 677 ntohl(*sn)); in parse_asconf_chunk() 697 ntohl(icp->sic_inittsn), ntohs(icp->sic_outstr), in parse_init_chunk() 698 ntohs(icp->sic_instr), ntohl(icp->sic_a_rwnd))); in parse_init_chunk() [all …]
|
H A D | snoop_ipsec.c | 77 ntohl(aligned_esph->esph_spi), in interpret_esp() 78 ntohl(aligned_esph->esph_replay)); in interpret_esp() 91 4), "SPI = 0x%x", ntohl(aligned_esph->esph_spi)); in interpret_esp() 94 ntohl(aligned_esph->esph_replay)); in interpret_esp() 145 ntohl(aligned_ah->ah_spi), ntohl(aligned_ah->ah_replay)); in interpret_ah() 161 "SPI = 0x%x", ntohl(aligned_ah->ah_spi)); in interpret_ah() 163 "Replay = %u", ntohl(aligned_ah->ah_replay)); in interpret_ah()
|
H A D | snoop_ospf6.c | 124 "Dead interval = %u", ntohl(op->ospf6_hello.hello_deadint)); in interpret_ospf6_hello() 303 "Sequence = %X ", ntohl(lsah->ls6_seq)); in interpret_ospf6_lsa_hdr() 305 "Age = %X ", ospf_print_lsa_age(ntohl(lsah->ls6_age))); in interpret_ospf6_lsa_hdr() 344 ntohl(lsa->lsa_un.un_rla.rla6_options)); in interpret_ospf6_lsa() 455 ntohl(lsa->lsa_un.un_nla.nla_options)); in interpret_ospf6_lsa() 487 ntohl(lsa->lsa_un.un_inter_ap.inter_ap_metric) & in interpret_ospf6_lsa() 494 ntohl(lsa->lsa_un.un_inter_ap.inter_ap_metric) & in interpret_ospf6_lsa() 511 ospf_print_bits(ospf6_option_bits, ntohl(llsa->llsa_options)); in interpret_ospf6_lsa() 518 ntohl(llsa->llsa_priority), addrstr, in interpret_ospf6_lsa() 519 ntohl(llsa->llsa_nprefix)); in interpret_ospf6_lsa() [all …]
|
H A D | snoop_ntp.c | 180 ntohl(ntp->reftime.int_part), in interpret_ntp() 181 ntohl(ntp->reftime.fraction), in interpret_ntp() 187 ntohl(ntp->org.int_part), in interpret_ntp() 188 ntohl(ntp->org.fraction), in interpret_ntp() 194 ntohl(ntp->rec.int_part), in interpret_ntp() 195 ntohl(ntp->rec.fraction), in interpret_ntp() 201 ntohl(ntp->xmt.int_part), in interpret_ntp() 202 ntohl(ntp->xmt.fraction), in interpret_ntp() 215 "Key ID = %8lu", ntohl(ntp->keyid)); in interpret_ntp() 477 net_time.int_part = ntohl(pkt_time.int_part) - JAN_1970; in show_time() [all …]
|
H A D | snoop_dhcpv6.c | 646 timevalue = ntohl(val32) + DUID_TIME_BASE; in show_options() 649 " Time = %lu (%.24s)", ntohl(val32), in show_options() 658 val32 = ntohl(val32); in show_options() 692 " IAID = %u", ntohl(d6in.d6in_iaid)); in show_options() 694 " T1 (renew) = %u seconds", ntohl(d6in.d6in_t1)); in show_options() 696 " T2 (rebind) = %u seconds", ntohl(d6in.d6in_t2)); in show_options() 711 " IAID = %u", ntohl(d6it.d6it_iaid)); in show_options() 728 ntohl(d6ia.d6ia_preflife)); in show_options() 731 ntohl(d6ia.d6ia_vallife)); in show_options() 824 val32 = ntohl(val32); in show_options() [all …]
|
H A D | snoop_rip.c | 191 (long)ntohl(nap->au.a_md5. in interpret_rip() 236 mval = ntohl(nip->n_mask); in interpret_rip() 253 mval = ntohl(nip->n_metric); in interpret_rip() 307 (unsigned)ntohl(rip->rip_tsol.rip_generation)); in interpret_rip() 327 for (count = ntohl(rsep->rip_count); count > 0; in interpret_rip() 342 (long)ntohl(*tokp)); in interpret_rip() 354 (long)ntohl(*tokp)); in interpret_rip() 427 count = ntohl(rsep->rip_count); in rip_next_sec_entry()
|
/illumos-gate/usr/src/boot/libsa/ |
H A D | nfs.c | 233 return (ntohl(repl->errno)); in nfs_getrootfh() 235 *fhlenp = ntohl(repl->fhsize); in nfs_getrootfh() 302 return (ntohl(repl->errno)); in nfs_lookupfh() 304 newfd->fhsize = ntohl(repl->fhsize); in nfs_lookupfh() 363 rc = ntohl(repl->errno); in nfs_readlink() 372 repl->len = ntohl(repl->len); in nfs_readlink() 440 errno = ntohl(repl->errno); in nfs_readdata() 445 x = ntohl(repl->count); in nfs_readdata() 711 uint32_t size = ntohl(d->fa.fa_size.val[1]); in nfs_seek() 741 ftype = ntohl(fp->fa.fa_type); in nfs_stat() [all …]
|
H A D | bootparam.c | 191 x = ntohl(repl->encap_len); in bp_whoami() 353 slen = ntohl(*lenp); in xdr_string_decode() 416 ntohl(xi->atype))); in xdr_inaddr_decode() 427 *cp++ = ntohl(*ip++); in xdr_inaddr_decode() 428 *cp++ = ntohl(*ip++); in xdr_inaddr_decode() 429 *cp++ = ntohl(*ip++); in xdr_inaddr_decode() 430 *cp++ = ntohl(*ip++); in xdr_inaddr_decode()
|
H A D | rpc.c | 189 x = ntohl(auth->authlen); in rpc_call() 199 x = ntohl(reply->rp_u.rpu_rok.rok_status); in rpc_call() 240 x = ntohl(reply->rp_xid); in recvrpc() 250 x = ntohl(reply->rp_direction); in recvrpc() 260 x = ntohl(reply->rp_astatus); in recvrpc() 262 errno = ntohl(reply->rp_u.rpu_errno); in recvrpc() 422 port = (int)ntohl(res->port); in rpc_getport()
|
/illumos-gate/usr/src/stand/lib/xdr/ |
H A D | byteorder.c | 53 return ((uint64_t)ntohl((in >> 32) & 0xffffffff) | in ntohll() 54 ((uint64_t)ntohl(in & 0xffffffff) << 32)); in ntohll() 70 ntohl(uint32_t in) in ntohl() function 114 ntohl(uint32_t in) in ntohl() function
|
/illumos-gate/usr/src/lib/print/libhttp-core/common/ |
H A D | http-addr.c | 60 ntohl(addr->ipv4.sin_addr.s_addr) == 0x00000000) in httpAddrAny() 155 ntohl(addr->ipv4.sin_addr.s_addr) == 0x7f000001) in httpAddrLocalhost() 231 ntohl(addr->ipv6.sin6_addr.s6_addr32[0]), in httpAddrString() 232 ntohl(addr->ipv6.sin6_addr.s6_addr32[1]), in httpAddrString() 233 ntohl(addr->ipv6.sin6_addr.s6_addr32[2]), in httpAddrString() 234 ntohl(addr->ipv6.sin6_addr.s6_addr32[3])); in httpAddrString() 247 temp = ntohl(addr->ipv4.sin_addr.s_addr); in httpAddrString()
|
/illumos-gate/usr/src/grub/grub-0.97/stage2/ |
H A D | imgact_aout.h | 46 #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)
|
/illumos-gate/usr/src/uts/common/sys/ib/mgt/ibcm/ |
H A D | ibcm_arp.h | 43 gid.gid_prefix = (uint64_t)(((uint64_t)ntohl(ptr[0]) << 32) | \ 44 (ntohl(ptr[1]))); \ 46 gid.gid_guid = (uint64_t)(((uint64_t)ntohl(ptr[0]) << 32) | \ 47 (ntohl(ptr[1]))); \
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ |
H A D | in.rwhod.c | 301 wd.wd_sendtime = ntohl(wd.wd_sendtime); in main() 303 wd.wd_loadav[i] = ntohl(wd.wd_loadav[i]); in main() 304 wd.wd_boottime = ntohl(wd.wd_boottime); in main() 307 we->we_idle = ntohl(we->we_idle); in main() 309 ntohl(we->we_utmp.out_time); in main() 717 (void) printf("sendto %x.%d\n", ntohl(sin->sin_addr.s_addr), in sendto() 720 interval(ntohl(w->wd_sendtime) - ntohl(w->wd_boottime), " up")); in sendto() 722 ntohl(w->wd_loadav[0]) / 100.0, ntohl(w->wd_loadav[1]) / 100.0, in sendto() 723 ntohl(w->wd_loadav[2]) / 100.0); in sendto() 726 time_t t = ntohl(we->we_utmp.out_time); in sendto() [all …]
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.ndpd/ |
H A D | trace.c | 70 ntohl(ra->nd_ra_reachable)); in print_route_adv() 72 ntohl(ra->nd_ra_retransmit)); in print_route_adv() 115 ntohl(po->nd_opt_pi_valid_time)); in print_opt() 117 ntohl(po->nd_opt_pi_preferred_time)); in print_opt() 125 ntohl(mo->nd_opt_mtu_mtu)); in print_opt()
|
/illumos-gate/usr/src/cmd/ipf/lib/ |
H A D | nat_setgroupmap.c | 18 n->in_ippip = ~ntohl(n->in_inmsk); 20 n->in_ippip /= (~ntohl(n->in_outmsk) + 1); 26 n->in_space = USABLE_PORTS * ~ntohl(n->in_outmsk);
|
H A D | ipft_sn.c | 71 s_v = (int)ntohl(sh.s_v); 72 s_type = (int)ntohl(sh.s_type); 106 ilen = (int)ntohl(rec->sp_ilen); 107 plen = (int)ntohl(rec->sp_plen);
|
H A D | printaps.c | 104 (u_int)ntohl(ipsec.ipsc_icookie[0]), 105 (u_int)ntohl(ipsec.ipsc_icookie[1]), 106 (u_int)ntohl(ipsec.ipsc_rcookie[0]), 107 (u_int)ntohl(ipsec.ipsc_rcookie[1]),
|
/illumos-gate/usr/src/uts/common/inet/ipf/netinet/ |
H A D | ip_fil.h | 201 #define HI60(x) ntohl(((i6addr_t *)(x))->i6[0]) 202 #define HI61(x) ntohl(((i6addr_t *)(x))->i6[1]) 203 #define HI62(x) ntohl(((i6addr_t *)(x))->i6[2]) 204 #define HI63(x) ntohl(((i6addr_t *)(x))->i6[3]) 214 #define IP6_GT(a,b) (ntohl(HI60(a)) > ntohl(HI60(b)) || \ 216 (ntohl(HI61(a)) > ntohl(HI61(b)) || \ 218 (ntohl(HI62(a)) > ntohl(HI62(b)) || \ 220 ntohl(HI63(a)) > ntohl(HI63(b)))))))) 221 #define IP6_LT(a,b) (ntohl(HI60(a)) < ntohl(HI60(b)) || \ 223 (ntohl(HI61(a)) < ntohl(HI61(b)) || \ [all …]
|
/illumos-gate/usr/src/uts/common/io/ib/clients/rdsv3/ |
H A D | rds_recv.c | 155 rdsv3_rdma_unuse(rs, ntohl(buffer.rdma.h_rdma_rkey), in rdsv3_recv_incoming_exthdrs() 165 ntohl(buffer.rdma_dest.h_rdma_rkey), in rdsv3_recv_incoming_exthdrs() 166 ntohl(buffer.rdma_dest.h_rdma_offset)); in rdsv3_recv_incoming_exthdrs() 207 ntohl(inc->i_hdr.h_len), in rdsv3_recv_incoming() 266 ntohl(inc->i_hdr.h_len), in rdsv3_recv_incoming() 327 -ntohl(inc->i_hdr.h_len), in rdsv3_still_queued() 582 if (ret < ntohl(inc->i_hdr.h_len)) { in rdsv3_recvmsg() 584 ret = ntohl(inc->i_hdr.h_len); in rdsv3_recvmsg() 636 -ntohl(inc->i_hdr.h_len), in rdsv3_clear_recv_queue() 658 minfo.len = ntohl(inc->i_hdr.h_len); in rdsv3_inc_info_copy()
|
/illumos-gate/usr/src/uts/intel/asm/ |
H A D | byteorder.h | 78 ntohl(uint32_t value) in ntohl() function 110 return (ntohl(value >> 32) | (uint64_t)ntohl(value) << 32); in ntohll()
|
/illumos-gate/usr/src/uts/common/io/ppp/spppcomp/ |
H A D | vjcompress.c | 128 uint32_t tmp = ntohl(f) + ((cp[1] << 8) | cp[2]); \ 132 uint32_t tmp = ntohl(f) + (uint32_t)*cp++; \ 322 if ((deltaA = ntohl(th->th_ack) - ntohl(oth->th_ack)) > 0) { in vj_compress_tcp() 332 if ((deltaS = ntohl(th->th_seq) - ntohl(oth->th_seq)) > 0) { in vj_compress_tcp() 596 tmp = ntohl(th->th_ack) + i; in vj_uncompress_tcp() 599 tmp = ntohl(th->th_seq) + i; in vj_uncompress_tcp() 608 tmp = ntohl(th->th_seq) + ntohs(cs->cs_ip.ip_len) - cs->cs_hlen; in vj_uncompress_tcp()
|