Home
last modified time | relevance | path

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

12345678910>>...14

/titanic_41/usr/src/lib/libdtrace/common/
H A Discsit.d70 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 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);
/titanic_41/usr/src/cmd/lms/
H A DLMEConnection.cpp528 ntohl(((APF_SERVICE_REQUEST_MESSAGE *)buf)->ServiceNameLength))) { in _checkMinMsgSize()
542 ntohl(((APF_GENERIC_HEADER *)buf)->StringLength))) { in _checkMinMsgSize()
551 ntohl(((APF_GENERIC_HEADER *)buf)->StringLength))) { in _checkMinMsgSize()
575 ntohl(((APF_CHANNEL_DATA_MESSAGE *)buf)->DataLength))) { in _checkMinMsgSize()
634 (APF_DISCONNECT_REASON_CODE)ntohl( in _doRX()
649 ntohl(pMessage->ServiceNameLength)); in _doRX()
673 channelOpenReply.RecipientChannel = ntohl(pMessage->RecipientChannel); in _doRX()
674 channelOpenReply.SenderChannel = ntohl(pMessage->SenderChannel); in _doRX()
675 channelOpenReply.InitialWindow = ntohl(pMessage->InitialWindowSize); in _doRX()
686 channelOpenReply.RecipientChannel = ntohl(pMessage->RecipientChannel); in _doRX()
[all …]
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/snoop/
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_sctp.c343 ntohl(*cid)); in parse_asconfok_param()
359 ntohl(*cid)); in parse_asconferr_param()
388 ntohl(*cid)); in parse_addip_param()
446 ntohl(*(uint32_t *)data)); in parse_int32_param()
642 SUMAPPEND((scratch, MAXLINE, "CTSN %x ", ntohl(*ftsn))); in parse_ftsn_chunk()
646 ntohl(*ftsn)); in parse_ftsn_chunk()
675 SUMAPPEND((scratch, MAXLINE, "sn %x ", ntohl(*sn))); in parse_asconf_chunk()
679 ntohl(*sn)); in parse_asconf_chunk()
699 ntohl(icp->sic_inittsn), ntohs(icp->sic_outstr), in parse_init_chunk()
700 ntohs(icp->sic_instr), ntohl(icp->sic_a_rwnd))); in parse_init_chunk()
[all …]
H A Dsnoop_ospf6.c126 "Dead interval = %u", ntohl(op->ospf6_hello.hello_deadint)); in interpret_ospf6_hello()
305 "Sequence = %X ", ntohl(lsah->ls6_seq)); in interpret_ospf6_lsa_hdr()
307 "Age = %X ", ospf_print_lsa_age(ntohl(lsah->ls6_age))); in interpret_ospf6_lsa_hdr()
346 ntohl(lsa->lsa_un.un_rla.rla6_options)); in interpret_ospf6_lsa()
457 ntohl(lsa->lsa_un.un_nla.nla_options)); in interpret_ospf6_lsa()
489 ntohl(lsa->lsa_un.un_inter_ap.inter_ap_metric) & in interpret_ospf6_lsa()
496 ntohl(lsa->lsa_un.un_inter_ap.inter_ap_metric) & in interpret_ospf6_lsa()
513 ospf_print_bits(ospf6_option_bits, ntohl(llsa->llsa_options)); in interpret_ospf6_lsa()
520 ntohl(llsa->llsa_priority), addrstr, in interpret_ospf6_lsa()
521 ntohl(llsa->llsa_nprefix)); in interpret_ospf6_lsa()
[all …]
H A Dsnoop_ntp.c182 ntohl(ntp->reftime.int_part), in interpret_ntp()
183 ntohl(ntp->reftime.fraction), in interpret_ntp()
189 ntohl(ntp->org.int_part), in interpret_ntp()
190 ntohl(ntp->org.fraction), in interpret_ntp()
196 ntohl(ntp->rec.int_part), in interpret_ntp()
197 ntohl(ntp->rec.fraction), in interpret_ntp()
203 ntohl(ntp->xmt.int_part), in interpret_ntp()
204 ntohl(ntp->xmt.fraction), in interpret_ntp()
217 "Key ID = %8lu", ntohl(ntp->keyid)); in interpret_ntp()
479 net_time.int_part = ntohl(pkt_time.int_part) - JAN_1970; in show_time()
[all …]
H A Dsnoop_dhcpv6.c645 timevalue = ntohl(val32) + DUID_TIME_BASE; in show_options()
648 " Time = %lu (%.24s)", ntohl(val32), in show_options()
657 val32 = ntohl(val32); in show_options()
691 " IAID = %u", ntohl(d6in.d6in_iaid)); in show_options()
693 " T1 (renew) = %u seconds", ntohl(d6in.d6in_t1)); in show_options()
695 " T2 (rebind) = %u seconds", ntohl(d6in.d6in_t2)); in show_options()
710 " IAID = %u", ntohl(d6it.d6it_iaid)); in show_options()
727 ntohl(d6ia.d6ia_preflife)); in show_options()
730 ntohl(d6ia.d6ia_vallife)); in show_options()
823 val32 = ntohl(val32); in show_options()
[all …]
H A Dsnoop_rip.c193 (long)ntohl(nap->au.a_md5. in interpret_rip()
238 mval = ntohl(nip->n_mask); in interpret_rip()
255 mval = ntohl(nip->n_metric); in interpret_rip()
309 (unsigned)ntohl(rip->rip_tsol.rip_generation)); in interpret_rip()
329 for (count = ntohl(rsep->rip_count); count > 0; in interpret_rip()
344 (long)ntohl(*tokp)); in interpret_rip()
356 (long)ntohl(*tokp)); in interpret_rip()
429 count = ntohl(rsep->rip_count); in rip_next_sec_entry()
/titanic_41/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
/titanic_41/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)
/titanic_41/usr/src/lib/print/libhttp-core/common/
H A Dhttp-addr.c62 ntohl(addr->ipv4.sin_addr.s_addr) == 0x00000000) in httpAddrAny()
157 ntohl(addr->ipv4.sin_addr.s_addr) == 0x7f000001) in httpAddrLocalhost()
233 ntohl(addr->ipv6.sin6_addr.s6_addr32[0]), in httpAddrString()
234 ntohl(addr->ipv6.sin6_addr.s6_addr32[1]), in httpAddrString()
235 ntohl(addr->ipv6.sin6_addr.s6_addr32[2]), in httpAddrString()
236 ntohl(addr->ipv6.sin6_addr.s6_addr32[3])); in httpAddrString()
249 temp = ntohl(addr->ipv4.sin_addr.s_addr); in httpAddrString()
/titanic_41/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]))); \
/titanic_41/usr/src/cmd/ipf/lib/common/
H A Dnat_setgroupmap.c20 n->in_ippip = ~ntohl(n->in_inmsk);
22 n->in_ippip /= (~ntohl(n->in_outmsk) + 1);
28 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]),
/titanic_41/usr/src/cmd/cmd-inet/usr.lib/in.ndpd/
H A Dtrace.c72 ntohl(ra->nd_ra_reachable)); in print_route_adv()
74 ntohl(ra->nd_ra_retransmit)); in print_route_adv()
117 ntohl(po->nd_opt_pi_valid_time)); in print_opt()
119 ntohl(po->nd_opt_pi_preferred_time)); in print_opt()
127 ntohl(mo->nd_opt_mtu_mtu)); in print_opt()
/titanic_41/usr/src/lib/libbc/inc/include/netinet/
H A Din.h192 #if !defined(vax) && !defined(ntohl) && !defined(lint) && !defined(i386)
196 #define ntohl(x) (x) macro
202 #if !defined(ntohl) && (defined(vax) || defined(lint) || defined(i386))
204 u_long ntohl(), htonl();
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/
H A Din.rwhod.c303 wd.wd_sendtime = ntohl(wd.wd_sendtime); in main()
305 wd.wd_loadav[i] = ntohl(wd.wd_loadav[i]); in main()
306 wd.wd_boottime = ntohl(wd.wd_boottime); in main()
309 we->we_idle = ntohl(we->we_idle); in main()
311 ntohl(we->we_utmp.out_time); in main()
719 (void) printf("sendto %x.%d\n", ntohl(sin->sin_addr.s_addr), in sendto()
722 interval(ntohl(w->wd_sendtime) - ntohl(w->wd_boottime), " up")); in sendto()
724 ntohl(w->wd_loadav[0]) / 100.0, ntohl(w->wd_loadav[1]) / 100.0, in sendto()
725 ntohl(w->wd_loadav[2]) / 100.0); in sendto()
728 time_t t = ntohl(we->we_utmp.out_time); in sendto()
[all …]
/titanic_41/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()
/titanic_41/usr/src/uts/common/inet/ipf/netinet/
H A Dip_fil.h196 #define HI60(x) ntohl(((i6addr_t *)(x))->i6[0])
197 #define HI61(x) ntohl(((i6addr_t *)(x))->i6[1])
198 #define HI62(x) ntohl(((i6addr_t *)(x))->i6[2])
199 #define HI63(x) ntohl(((i6addr_t *)(x))->i6[3])
209 #define IP6_GT(a,b) (ntohl(HI60(a)) > ntohl(HI60(b)) || \
211 (ntohl(HI61(a)) > ntohl(HI61(b)) || \
213 (ntohl(HI62(a)) > ntohl(HI62(b)) || \
215 ntohl(HI63(a)) > ntohl(HI63(b))))))))
216 #define IP6_LT(a,b) (ntohl(HI60(a)) < ntohl(HI60(b)) || \
218 (ntohl(HI61(a)) < ntohl(HI61(b)) || \
[all …]
/titanic_41/usr/src/uts/common/io/ib/clients/rdsv3/
H A Drds_recv.c154 rdsv3_rdma_unuse(rs, ntohl(buffer.rdma.h_rdma_rkey), in rdsv3_recv_incoming_exthdrs()
164 ntohl(buffer.rdma_dest.h_rdma_rkey), in rdsv3_recv_incoming_exthdrs()
165 ntohl(buffer.rdma_dest.h_rdma_offset)); in rdsv3_recv_incoming_exthdrs()
206 ntohl(inc->i_hdr.h_len), in rdsv3_recv_incoming()
265 ntohl(inc->i_hdr.h_len), in rdsv3_recv_incoming()
326 -ntohl(inc->i_hdr.h_len), in rdsv3_still_queued()
585 if (ret < ntohl(inc->i_hdr.h_len)) { in rdsv3_recvmsg()
587 ret = ntohl(inc->i_hdr.h_len); in rdsv3_recvmsg()
639 -ntohl(inc->i_hdr.h_len), in rdsv3_clear_recv_queue()
661 minfo.len = ntohl(inc->i_hdr.h_len); in rdsv3_inc_info_copy()
/titanic_41/usr/src/lib/libc/i386/gen/
H A Dbyteorder.s39 / unsigned long ntohl( hl )
49 ENTRY(ntohl)
53 SET_SIZE(ntohl)
/titanic_41/usr/src/uts/common/io/ppp/spppcomp/
H A Dvjcompress.c130 uint32_t tmp = ntohl(f) + ((cp[1] << 8) | cp[2]); \
134 uint32_t tmp = ntohl(f) + (uint32_t)*cp++; \
324 if ((deltaA = ntohl(th->th_ack) - ntohl(oth->th_ack)) > 0) { in vj_compress_tcp()
334 if ((deltaS = ntohl(th->th_seq) - ntohl(oth->th_seq)) > 0) { in vj_compress_tcp()
598 tmp = ntohl(th->th_ack) + i; in vj_uncompress_tcp()
601 tmp = ntohl(th->th_seq) + i; in vj_uncompress_tcp()
610 tmp = ntohl(th->th_seq) + ntohs(cs->cs_ip.ip_len) - cs->cs_hlen; in vj_uncompress_tcp()
/titanic_41/usr/src/uts/common/sys/
H A Dbyteorder.h59 #if defined(_BIG_ENDIAN) && !defined(ntohl) && !defined(__lint)
61 #define ntohl(x) (x) macro
70 #elif !defined(ntohl) /* little-endian */
85 extern uint32_t ntohl(uint32_t);
90 extern in_addr_t ntohl(in_addr_t);

12345678910>>...14