Home
last modified time | relevance | path

Searched refs:ntohl (Results 1 – 25 of 337) sorted by relevance

12345678910>>...14

/illumos-gate/usr/src/lib/libdtrace/common/
H A Discsit.d87 ii_itt = ntohl(P->itt);
107 ii_itt = ntohl(P->itt);
127 ii_itt = ntohl(P->itt);
147 ii_itt = ntohl(P->itt);
167 ii_itt = ntohl(P->itt);
168 ii_ttt = ntohl(P->ttt);
194 ii_itt = ntohl(P->itt);
195 ii_ttt = ntohl(P->ttt);
221 ii_itt = ntohl(P->itt);
222 ii_ttt = ntohl(P->ttt);
[all …]
H A Dsrp.d89 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 Dbyteorder64.c48 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 Dsnoop_sctp.c341 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()
644 ntohl(*ftsn)); in parse_ftsn_chunk()
677 ntohl(*sn)); in parse_asconf_chunk()
738 ppid = ntohl(dcp->sdc_payload_id); in parse_data_chunk()
753 "TSN = 0x%.8x", ntohl(dcp->sdc_tsn)); in parse_data_chunk()
766 "ppid %x ", datalen, ntohl(dcp->sdc_tsn), in parse_data_chunk()
823 ntohl(scp->ssc_a_rwnd)); in parse_sack_chunk()
[all …]
H A Dsnoop_ipsec.c77 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 Dsnoop_ospf6.c303 "Sequence = %X ", ntohl(lsah->ls6_seq)); 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()
518 ntohl(llsa->llsa_priority), addrstr, in interpret_ospf6_lsa()
519 ntohl(llsa->llsa_nprefix)); in interpret_ospf6_lsa()
524 "Priority %d", ntohl(llsa->llsa_priority)); in interpret_ospf6_lsa()
528 "npref %d", ntohl(llsa->llsa_nprefix)); in interpret_ospf6_lsa()
670 ntohl(ospf->ospf6_db.db_options)), in interpret_ospf6()
674 ntohl(ospf->ospf6_db.db_seq)); in interpret_ospf6()
688 "MTU = %u", ntohl(ospf->ospf6_db.db_seq)); in interpret_ospf6()
[all …]
H A Dsnoop_ntp.c180 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 Dsnoop_dhcpv6.c649 " 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()
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()
854 val32 = ntohl(val32); in show_options()
888 val32 = ntohl(val32); in show_options()
957 ntohl(d6ip.d6ip_preflife)); in show_options()
[all …]
H A Dsnoop_rip.c191 (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 Dnfs.c233 return (ntohl(repl->errno)); in nfs_getrootfh()
235 *fhlenp = ntohl(repl->fhsize); in nfs_getrootfh()
302 return (ntohl(repl->errno)); 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()
741 ftype = ntohl(fp->fa.fa_type); in nfs_stat()
742 mode = ntohl(fp->fa.fa_mode); in nfs_stat()
804 rc = ntohl(repl->errno); in nfs_readdir()
[all …]
H A Dbootparam.c191 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 Drpc.c189 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 Dbyteorder.c53 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 Dhttp-addr.c60 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 Dimgact_aout.h46 #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 Dibcm_arp.h43 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.lib/in.ndpd/
H A Dtrace.c70 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 Dnat_setgroupmap.c18 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 Dipft_sn.c71 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 Dprintaps.c104 (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/cmd/cmd-inet/usr.sbin/
H A Din.rwhod.c301 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/uts/common/inet/ipf/netinet/
H A Dip_fil.h214 #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)) || \
225 (ntohl(HI62(a)) < ntohl(HI62(b)) || \
227 ntohl(HI63(a)) < ntohl(HI63(b))))))))
246 if (ntohl(_d->i6[3]) < ntohl(_s->i6[3])) { \
248 if (ntohl(_d->i6[2]) < ntohl(_s->i6[2])) { \
[all …]
/illumos-gate/usr/src/uts/common/io/ib/clients/rdsv3/
H A Drds_recv.c155 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 Dbyteorder.h78 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 Dvjcompress.c128 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()

12345678910>>...14