Searched refs:htonl (Results 1 - 25 of 368) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/lib/libbc/libc/net/sparc/
H A Dhtonl.c30 htonl(unsigned long a) function
/illumos-gate/usr/src/cmd/ipf/lib/common/
H A Dfill6bits.c32 msk[3] = htonl(msk[3] << (128 - bits));
35 msk[2] = htonl(msk[2] << (96 - bits));
39 msk[1] = htonl(msk[1] << (64 - bits));
44 msk[0] = htonl(msk[0] << (32 - bits));
H A Dntomask.c34 *ap = htonl(mask);
H A Dgethost.c24 hostp->in4.s_addr = htonl(0xfedcba98);
63 hostp->in4.s_addr = htonl(n->n_net);
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/funcs/
H A Dtst.inet_ntoa.d47 *ip4a = htonl(0xc0a80117);
48 *ip4b = htonl(0x7f000001);
49 *ip4c = htonl(0xffffffff);
50 *ip4d = htonl(0x00000000);
H A Derr.inet_ntopbadarg.d37 *ip4a = htonl(0xc0a80117);
H A Dtst.hton.d67 /after[1] != htonl(before[1])/
69 printf("%x rather than %x", htonl(before[1]), after[1]);
/illumos-gate/usr/src/stand/lib/xdr/
H A Dbyteorder.c30 * htonll(), ntohll(), htonl(), ntohl(), htons(), ntohs()
46 return ((uint64_t)htonl((in >> 32) & 0xffffffff) |
47 ((uint64_t)htonl(in & 0xffffffff) << 32));
58 htonl(uint32_t in) function
72 return (htonl(in));
108 htonl(uint32_t in) function
/illumos-gate/usr/src/lib/libc/i386/gen/
H A Dbyteorder64.c42 return (htonl(in >> 32) | ((uint64_t)htonl(in) << 32));
54 return (htonl(in >> 32) | ((uint64_t)htonl(in) << 32));
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dwrite_msg.c39 len = htonl(outbuf->length);
/illumos-gate/usr/src/lib/libbc/libc/inet/
H A Dinet_makeaddr.c60 inaddr.s_addr = htonl(addr);
/illumos-gate/usr/src/uts/i86pc/dboot/
H A Ddboot_asm.s88 ENTRY(htonl) function
92 SET_SIZE(htonl)
135 ENTRY(htonl) function
139 SET_SIZE(htonl)
/illumos-gate/usr/src/boot/lib/libc/net/
H A Dntoh.c35 htonl(uint32_t hl) function
/illumos-gate/usr/src/lib/libsocket/inet/
H A Dnetmasks.c140 net2.s_addr = htonl(i);
142 net1.s_addr = htonl(i << IN_CLASSC_NSHIFT);
144 net1.s_addr = htonl(i << IN_CLASSB_NSHIFT);
146 net1.s_addr = htonl(i << IN_CLASSA_NSHIFT);
149 net1.s_addr = htonl(i & IN_CLASSA_NET);
150 net2.s_addr = htonl(i >> IN_CLASSA_NSHIFT);
152 net1.s_addr = htonl(i & IN_CLASSB_NET);
153 net2.s_addr = htonl(i >> IN_CLASSB_NSHIFT);
155 net1.s_addr = htonl(i & IN_CLASSC_NET);
156 net2.s_addr = htonl(
[all...]
H A Dinet_mkaddr.c63 addr = htonl(addr);
/illumos-gate/usr/src/uts/intel/asm/
H A Dbyteorder.h39 * htonll(), ntohll(), htonl(), ntohl(), htons(), ntohs()
71 htonl(uint32_t value) function
100 /* Use the htonl() and ntohl() inline functions defined above */
104 return (htonl(value >> 32) | ((uint64_t)htonl(value) << 32));
/illumos-gate/usr/src/uts/common/io/cxgbe/t4nex/
H A Doffload.h32 (w)->wr.wr_hi = htonl(V_FW_WR_OP(FW_ULPTX_WR) | \
34 (w)->wr.wr_mid = htonl(V_FW_WR_LEN16(DIV_ROUND_UP(wrlen, 16)) | \
40 (w)->wr.wr_hi = htonl(V_FW_WR_OP(FW_TP_WR) | \
42 (w)->wr.wr_mid = htonl(V_FW_WR_LEN16(DIV_ROUND_UP(sizeof (*w), 16)) | \
49 OPCODE_TID(w) = htonl(MK_OPCODE_TID(cpl, tid)); \
/illumos-gate/usr/src/lib/libdns_sd/common/
H A Ddnssd_ipc.c156 hdr->version = htonl(hdr->version);
157 hdr->datalen = htonl(hdr->datalen);
158 hdr->ipc_flags = htonl(hdr->ipc_flags);
159 hdr->op = htonl(hdr->op );
160 hdr->reg_index = htonl(hdr->reg_index);
/illumos-gate/usr/src/boot/lib/libstand/
H A Dbootparam.c149 args->prog = htonl(BOOTPARAM_PROG);
150 args->vers = htonl(BOOTPARAM_VERS);
151 args->proc = htonl(BOOTPARAM_WHOAMI);
152 args->arglen = htonl(sizeof(struct xdr_inaddr));
344 *lenp = htonl(len);
399 xi->atype = htonl(1);
404 * Note: the htonl() calls below DO NOT
408 *ip++ = htonl((unsigned int)*cp++);
409 *ip++ = htonl((unsigned int)*cp++);
410 *ip++ = htonl((unsigne
[all...]
H A Drpc.c145 auth->authtype = htonl(RPCAUTH_NULL);
154 auth->authtype = htonl(RPCAUTH_UNIX);
155 auth->authlen = htonl(sizeof(struct auth_unix));
160 auth->authtype = htonl(RPCAUTH_NULL);
168 call->rp_xid = htonl(rpc_xid);
169 call->rp_direction = htonl(RPC_CALL);
170 call->rp_rpcvers = htonl(RPC_VER2);
171 call->rp_prog = htonl(prog);
172 call->rp_vers = htonl(vers);
173 call->rp_proc = htonl(pro
[all...]
/illumos-gate/usr/src/lib/nsswitch/nis/common/
H A Dgetnetent.c118 if ((IN_CLASSA_HOST & htonl(addr)) == 0) {
124 } else if ((IN_CLASSB_HOST & htonl(addr)) == 0) {
133 } else if ((IN_CLASSC_HOST & htonl(addr)) == 0) {
/illumos-gate/usr/src/lib/libresolv2/common/inet/
H A Dinet_makeaddr.c64 a.s_addr = htonl(a.s_addr);
/illumos-gate/usr/src/lib/libc/sparc/gen/
H A Dbyteorder.c38 * htonll(), ntohll(), htonl(), ntohl(), htons(), ntohs()
57 htonl(uint32_t in) function
/illumos-gate/usr/src/lib/libc/sparcv9/gen/
H A Dbyteorder.c38 * htonll(), ntohll(), htonl(), ntohl(), htons(), ntohs()
57 htonl(uint32_t in) function
/illumos-gate/usr/src/grub/grub-0.97/netboot/
H A Dbig_bswap.h5 #define htonl(x) (x) macro

Completed in 608 milliseconds

1234567891011>>