Searched refs:htonl (Results 51 - 75 of 489) sorted by relevance

1234567891011>>

/freebsd-9.3-release/lib/libc/sparc64/
H A DSymbol.map32 htonl;
/freebsd-9.3-release/tools/regression/sockets/listenclose/
H A Dlistenclose.c73 sin.sin_addr.s_addr = htonl(INADDR_LOOPBACK);
102 sin.sin_addr.s_addr = htonl(INADDR_LOOPBACK);
/freebsd-9.3-release/tools/regression/sockets/shutdown/
H A Dshutdown.c62 sock.sin_addr.s_addr = htonl(INADDR_LOOPBACK);
86 sock.sin_addr.s_addr = htonl(INADDR_LOOPBACK);
/freebsd-9.3-release/sys/dev/dcons/
H A Ddcons.c149 buf->osize[port] = htonl(osize);
150 buf->isize[port] = htonl(size - osize);
151 buf->ooffset[port] = htonl(offset);
152 buf->ioffset[port] = htonl(offset + osize);
165 if (buf->version != htonl(DCONS_VERSION))
207 buf->version = htonl(DCONS_VERSION);
/freebsd-9.3-release/lib/libstand/
H A Dnfs.c252 args->len = htonl(len);
312 args->len = htonl(len);
403 args->off = htonl((n_long)off);
406 args->len = htonl((n_long)len);
407 args->xxx = htonl((n_long)0);
490 nfs_root_node.fa.fa_type = htonl(NFDIR);
491 nfs_root_node.fa.fa_mode = htonl(0755);
492 nfs_root_node.fa.fa_nlink = htonl(2);
533 if (currfd->fa.fa_type != htonl(NFDIR)) {
568 if (newfd->fa.fa_type == htonl(NFLN
[all...]
H A Dnet.c207 return (htonl(val));
209 return (htonl(INADDR_NONE));
282 return htonl(addr);
/freebsd-9.3-release/tools/regression/sockets/sendfile/
H A Dsendfile.c104 if (th->th_magic != htonl(TEST_MAGIC))
201 sin.sin_addr.s_addr = htonl(INADDR_LOOPBACK);
244 sin.sin_addr.s_addr = htonl(INADDR_LOOPBACK);
258 th->th_magic = htonl(TEST_MAGIC);
259 th->th_header_length = htonl(header_length);
260 th->th_offset = htonl(offset);
261 th->th_length = htonl(length);
/freebsd-9.3-release/contrib/ofed/libmlx4/src/
H A Dsrq.c98 scat[i].byte_count = htonl(wr->sg_list[i].length);
99 scat[i].lkey = htonl(wr->sg_list[i].lkey);
105 scat[i].lkey = htonl(MLX4_INVALID_LKEY);
119 *srq->db = htonl(srq->counter);
168 scatter->lkey = htonl(MLX4_INVALID_LKEY);
/freebsd-9.3-release/crypto/openssh/openbsd-compat/
H A Dport-tun.c239 if (*af == htonl(AF_INET6))
240 *af = htonl(OPENBSD_AF_INET6);
242 *af = htonl(OPENBSD_AF_INET);
266 *af = htonl(AF_INET6);
268 *af = htonl(AF_INET);
/freebsd-9.3-release/libexec/talkd/
H A Dprocess.c76 rp->id_num = htonl(0);
115 rp->id_num = htonl(ptr->id_num);
124 rp->id_num = htonl(ptr->id_num);
176 rp->id_num = htonl(ptr->id_num);
180 rp->id_num = htonl(ptr->id_num);
/freebsd-9.3-release/bin/date/
H A Dnetdate.c87 dest.sin_addr.s_addr = htonl((u_long)INADDR_ANY);
120 msg.tsp_time.tv_sec = htonl((u_long)tval);
121 msg.tsp_time.tv_usec = htonl((u_long)0);
/freebsd-9.3-release/contrib/bsnmp/snmp_mibII/
H A DmibII_ipaddr.c77 upd->mask.s_addr = htonl(IN_CLASSA_NET);
79 upd->mask.s_addr = htonl(IN_CLASSB_NET);
81 upd->mask.s_addr = htonl(IN_CLASSC_NET);
89 bcast.s_addr |= htonl(0xffffffff & ~tmp);
260 upd->addr.s_addr = htonl((ipaddr[0] << 24) | (ipaddr[1] << 16) |
283 upd->mask.s_addr = htonl((value->v.ipaddress[0] << 24)
/freebsd-9.3-release/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/funcs/
H A Dtst.inet_ntop.d74 *ip4a = htonl(0xc0a80117);
75 *ip4b = htonl(0x7f000001);
76 *ip4c = htonl(0xffffffff);
77 *ip4d = htonl(0x00000000);
/freebsd-9.3-release/contrib/tcpdump/
H A Dtcpdump-stdinc.h186 #undef htonl macro
194 #define htonl(x) __ntohl(x) macro
/freebsd-9.3-release/tools/tools/netrate/tcpp/
H A Dtcpp.c101 localipbase.sin_addr.s_addr = htonl(INADDR_ANY); /* Default. */
107 remoteip.sin_addr.s_addr = htonl(INADDR_LOOPBACK); /* Default. */
/freebsd-9.3-release/contrib/ntp/tests/libntp/
H A Drefidsmear.c58 l = convertRefIDToLFP(htonl(r));
82 l = convertRefIDToLFP(htonl(er));
/freebsd-9.3-release/sys/dev/cxgbe/common/
H A Dt4_hw.c854 *data = htonl(*data);
894 val = htonl(val);
1188 ((struct fw_hdr *)first_page)->fw_ver = htonl(0xffffffff);
1891 c.op_to_portid = htonl(V_FW_CMD_OP(FW_PORT_CMD) | F_FW_CMD_REQUEST |
1893 c.action_to_len16 = htonl(V_FW_PORT_CMD_ACTION(FW_PORT_ACTION_L1_CFG) |
1897 c.u.l1cfg.rcap = htonl((lc->supported & ADVERT_MASK) | fc);
1900 c.u.l1cfg.rcap = htonl(lc->requested_speed | fc | mdi);
1903 c.u.l1cfg.rcap = htonl(lc->advertising | fc | mdi);
1921 c.op_to_portid = htonl(V_FW_CMD_OP(FW_PORT_CMD) | F_FW_CMD_REQUEST |
1923 c.action_to_len16 = htonl(V_FW_PORT_CMD_ACTIO
[all...]
/freebsd-9.3-release/usr.bin/gencat/
H A Dgencat.c75 #include <arpa/inet.h> /* for htonl() */
609 cat_hdr->__magic = htonl(_NLS_MAGIC);
610 cat_hdr->__nsets = htonl(nsets);
611 cat_hdr->__mem = htonl(msgcat_size - sizeof(struct _nls_cat_hdr));
613 htonl(nsets * sizeof(struct _nls_set_hdr));
615 htonl(nsets * sizeof(struct _nls_set_hdr) +
639 msg_hdr->__msgno = htonl(msg->msgId);
640 msg_hdr->__msglen = htonl(msg_len);
641 msg_hdr->__offset = htonl(msg_offset);
651 set_hdr->__setno = htonl(se
[all...]
/freebsd-9.3-release/usr.bin/mklocale/
H A Dyacc.y589 new_locale.runetype[x] = htonl(types.map[x]);
590 new_locale.maplower[x] = htonl(maplower.map[x]);
591 new_locale.mapupper[x] = htonl(mapupper.map[x]);
604 htonl(new_locale.runetype_ext_nranges);
613 htonl(new_locale.maplower_ext_nranges);
622 htonl(new_locale.mapupper_ext_nranges);
624 new_locale.variable_len = htonl(new_locale.variable_len);
645 re.min = htonl(list->min);
646 re.max = htonl(list->max);
647 re.map = htonl(lis
[all...]
/freebsd-9.3-release/contrib/bind9/lib/isc/
H A Dinet_aton.c190 addr->s_addr = htonl(val);
/freebsd-9.3-release/contrib/bind9/lib/lwres/
H A Dlwinetaton.c199 addr->s_addr = htonl(val);
/freebsd-9.3-release/contrib/ipfilter/lib/
H A Dalist_new.c62 al->al_mask = htonl(mask);
/freebsd-9.3-release/contrib/ofed/libibverbs/examples/
H A Dpingpong.c85 sprintf(&wgid[i * 8], "%08x", htonl(*(uint32_t *)(gid->raw + i * 4)));
/freebsd-9.3-release/contrib/ofed/libmthca/src/
H A Dah.c137 ah->av->port_pd = htonl(pd->pdn | (attr->port_num << 24));
142 ah->av->sl_tclass_flowlabel = htonl(attr->sl << 28);
150 htonl((attr->grh.traffic_class << 20) |
155 ah->av->dgid[3] = htonl(2);
/freebsd-9.3-release/crypto/heimdal/lib/krb5/
H A Dtest_plugin.c68 s.sin_addr.s_addr = htonl(0x7f000002);

Completed in 439 milliseconds

1234567891011>>