Searched refs:htonl (Results 176 - 200 of 368) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.mpathd/
H A Dmpd_probe.c248 probe_pkt.pr_icmp_mtype = htonl(probe_type);
477 if (reply->pr_icmp_mtype == htonl(PROBE_UNI))
480 else if (reply->pr_icmp_mtype == htonl(PROBE_MULTI)) {
483 } else if (reply->pr_icmp_mtype == htonl(PROBE_RTT)) {
597 if (reply->pr_icmp_mtype == htonl(PROBE_UNI)) {
599 } else if (reply->pr_icmp_mtype == htonl(PROBE_MULTI)) {
601 } else if (reply->pr_icmp_mtype == htonl(PROBE_RTT)) {
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/keytab/
H A Dkt_file.c1210 minus_size = htonl(minus_size);
1528 princ_type = htonl(krb5_princ_type(context, entry->principal));
1543 timestamp = htonl(entry->timestamp);
1587 size_needed = htonl(size_needed);
1678 /* We don't have to do this because htonl(0) == 0 */
1680 size = htonl(size);
/illumos-gate/usr/src/uts/common/inet/sctp/
H A Dsctp_cookie.c545 itag = htonl(itag);
568 itag = htonl(itag);
708 iack->sic_inittsn = htonl(itsn);
710 iack->sic_a_rwnd = htonl(sctp->sctp_rwnd);
1301 staleness = htonl(staleness);
/illumos-gate/usr/src/uts/sun4v/ontario/io/
H A Dtsalarm.c1361 hdrp->magic_num = htonl(req_hdr->magic_num);
1366 hdrp->xid = htonl(req_hdr->xid);
1367 hdrp->timeout = htonl(req_hdr->timeout);
1368 hdrp->msg_len = htonl(req_hdr->msg_len);
1570 net_magic_num = htonl(host_magic_num);
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dclnt_vc.c690 *msg_x_id = htonl(x_id);
835 *msg_x_id = htonl(x_id);
1007 *(uint32_t *)ct->ct_mcall = htonl(*(uint32_t *)info + 1);
1026 htonl(*(uint32_t *)info);
1045 htonl(*(uint32_t *)info);
/illumos-gate/usr/src/cmd/fm/modules/sun4v/etm/
H A Detm.c1261 hdrp->ev_pp.pp_magic_num = htonl(hdrp->ev_pp.pp_magic_num);
1267 hdrp->ev_pp.pp_xid = htonl(hdrp->ev_pp.pp_xid);
1270 hdrp->ev_pp.pp_timeout = htonl(hdrp->ev_pp.pp_timeout);
1285 *lenp = evsz; *lenp = htonl(*lenp); lenp++;
1286 *lenp = 0; *lenp = htonl(*lenp); lenp++;
1437 ctl_hdrp->ctl_pp.pp_magic_num = htonl(ETM_PROTO_MAGIC_NUM);
1444 ctl_hdrp->ctl_pp.pp_xid = htonl(etm_xid_ver_negot);
1445 ctl_hdrp->ctl_pp.pp_timeout = htonl(ETM_PROTO_V1_TIMEOUT_FOREVER);
1446 ctl_hdrp->ctl_len = htonl(body_sz);
/illumos-gate/usr/src/uts/common/io/scsi/adapters/iscsi/
H A Discsi_io.c1915 ihp->cmdsn = htonl(isp->sess_cmdsn);
1918 ihp->expstatsn = htonl(icp->conn_expstatsn);
1949 ihp->data_length = htonl(buflen);
2003 ihp->data_length = htonl(buflen);
2272 inohp->cmdsn = htonl(isp->sess_cmdsn);
2274 inohp->expstatsn = htonl(icp->conn_expstatsn);
2302 istmh->cmdsn = htonl(isp->sess_cmdsn);
2304 istmh->expstatsn = htonl(icp->conn_expstatsn);
2340 istmh->cmdsn = htonl(isp->sess_cmdsn);
2342 istmh->expstatsn = htonl(ic
[all...]
/illumos-gate/usr/src/lib/rpcsec_gss/
H A Drpcsec_gss.c574 seq_win_net = (uint_t)htonl(ap->seq_window);
623 seq_num_net = (uint_t)htonl(ap->seq_num);
/illumos-gate/usr/src/lib/libsasl/lib/
H A Dmd5.c445 state->istate[lupe] = htonl(hmac.ictx.state[lupe]);
446 state->ostate[lupe] = htonl(hmac.octx.state[lupe]);
/illumos-gate/usr/src/lib/libdhcpagent/common/
H A Ddhcpagent_ipc.c394 sinv.sin_addr.s_addr = htonl(INADDR_LOOPBACK);
429 sin.sin_addr.s_addr = htonl(INADDR_LOOPBACK);
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dpppd.h742 (l) = htonl(getnlong_val); \
913 #define native_long(x) (htonl((net_short(x) << 16) + \
H A Dmultilink.c295 (void) slprintf(str, sizeof(str), "IP:%I", htonl(addr));
/illumos-gate/usr/src/cmd/cvcd/sparc/sun4u/starfire/
H A Dcvcd.c369 sin->sin_addr.s_addr = htonl(INADDR_ANY);
665 tmpaddr = htonl(*(ulong_t *)*pp);
/illumos-gate/usr/src/uts/common/io/ib/clients/iser/
H A Diser_xfer.c307 hdr->rstag = htonl(mr->is_mrrkey);
319 hdr->wstag = htonl(mr->is_mrrkey);
/illumos-gate/usr/src/uts/common/inet/
H A Dtcp_impl.h298 ((ip6_t *)(iph))->ip6_vcf &= htonl(0xFFCFFFFF); \
299 ((ip6_t *)(iph))->ip6_vcf |= htonl(IPH_ECN_ECT0 << 20); \
/illumos-gate/usr/src/lib/libexacct/demo/
H A Dexdump.c359 uint32_t addr = htonl(o->eo_item.ei_uint32);
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Dipaddrsel.c474 *ptr = htonl(0xffffffffU << (32 - plen));
/illumos-gate/usr/src/cmd/sendmail/libmilter/
H A Dengine.c515 v = htonl(i);
691 v = htonl(ctx->ctx_prot_vers2mta);
694 v = htonl(ctx->ctx_aflags);
697 v = htonl(ctx->ctx_pflags2mta);
/illumos-gate/usr/src/cmd/bnu/
H A Deio.c384 bufr.t_nbytes = htonl((long)len);
/illumos-gate/usr/src/cmd/isns/isnsd/
H A Dscn.c1743 u.i32 = htonl(s->event);
1768 u.i32 = htonl(x->dd_id);
1780 u.i32 = htonl(x->dd_id);
1784 u.i32 = htonl(x->dds_id);
/illumos-gate/usr/src/cmd/stmfproxy/stmfproxy/
H A Dstmfproxy.c143 buflen = htonl(nelem); /* length in network byte order */
/illumos-gate/usr/src/uts/common/io/ib/clients/eoib/
H A Deib_fip.c547 iba->ia_qpn = htonl(vnic->vn_data_chan->ch_qpn);
603 htonl(vnic->vn_ctl_chan->ch_qpn & FIP_VL_CTL_QPN_MASK);
691 vid->vi_flags_vhub_id = htonl(flags_vhub_id);
694 htonl(vnic->vn_vhub_table->tb_tusn) : 0;
/illumos-gate/usr/src/uts/common/io/myri10ge/drv/
H A Dmyri10ge_lro.c101 ts_ptr[1] = htonl(lro->tsval);
/illumos-gate/usr/src/cmd/lp/model/netpr/
H A Dnetpr.c141 IN6_IPADDR_TO_V4MAPPED(htonl(INADDR_LOOPBACK),
/illumos-gate/usr/src/lib/libresolv/
H A Dres_send.c107 if (_res.nsaddr.sin_addr.S_un.S_addr == htonl(INADDR_LOOPBACK)) {

Completed in 109 milliseconds

1234567891011>>