Searched refs:ntohl (Results 26 - 50 of 428) sorted by relevance

1234567891011>>

/freebsd-9.3-release/lib/libc/arm/
H A DSymbol.map29 ntohl;
/freebsd-9.3-release/lib/libc/i386/
H A DSymbol.map31 ntohl;
/freebsd-9.3-release/lib/libc/ia64/
H A DSymbol.map33 ntohl;
/freebsd-9.3-release/lib/libc/mips/
H A DSymbol.map28 ntohl;
/freebsd-9.3-release/lib/libc/powerpc/
H A DSymbol.map34 ntohl;
/freebsd-9.3-release/lib/libc/powerpc64/
H A DSymbol.map34 ntohl;
/freebsd-9.3-release/sbin/dhclient/
H A Dconvert.c57 return (ntohl(ibuf));
66 return (ntohl(ibuf));
/freebsd-9.3-release/sys/dev/iscsi/initiator/
H A Discsi_subr.c74 sdebug(4, "itt=%x r2tSN=%d bo=%x ddtl=%x W=%d", ntohl(r2t->itt),
75 ntohl(r2t->r2tSN), ntohl(r2t->bo), ntohl(r2t->ddtl), opp->ipdu.scsi_req.W);
81 u_int ddtl = ntohl(r2t->ddtl);
82 u_int edtl = ntohl(opp->ipdu.scsi_req.edtlen);
86 bo = ntohl(r2t->bo);
100 sdebug(3, "itt=%x r2tSN=%d bo=%x ddtl=%x W=%d", ntohl(r2t->itt),
101 ntohl(r2t->r2tSN), ntohl(r2
[all...]
/freebsd-9.3-release/lib/libstand/
H A Dnfs.c265 return (ntohl(repl->errno));
326 return (ntohl(repl->errno));
366 return (ntohl(rdata.d.errno));
368 rdata.d.len = ntohl(rdata.d.len);
422 errno = ntohl(repl->errno);
426 x = ntohl(repl->count);
708 n_long size = ntohl(d->fa.fa_size);
738 ftype = ntohl(fp->fa.fa_type);
739 mode = ntohl(fp->fa.fa_mode);
743 sb->st_nlink = ntohl(f
[all...]
H A Dbootparam.c196 x = ntohl(repl->encap_len);
367 slen = ntohl(*lenp);
434 ntohl(xi->atype)));
441 * Note: the ntohl() calls below DO NOT
445 *cp++ = ntohl(*ip++);
446 *cp++ = ntohl(*ip++);
447 *cp++ = ntohl(*ip++);
448 *cp++ = ntohl(*ip++);
H A Drpc.c204 x = ntohl(auth->authlen);
213 x = ntohl(reply->rp_u.rpu_rok.rok_status);
248 x = ntohl(reply->rp_xid);
257 x = ntohl(reply->rp_direction);
266 x = ntohl(reply->rp_astatus);
268 errno = ntohl(reply->rp_u.rpu_errno);
428 port = (int)ntohl(res->port);
/freebsd-9.3-release/contrib/bsnmp/snmp_mibII/
H A DmibII_ipaddr.c76 if (IN_CLASSA(ntohl(upd->addr.s_addr)))
78 else if (IN_CLASSB(ntohl(upd->addr.s_addr)))
80 else if (IN_CLASSC(ntohl(upd->addr.s_addr)))
88 uint32_t tmp = ~ntohl(upd->mask.s_addr);
324 value->v.ipaddress[0] = (ntohl(ifa->inmask.s_addr) >> 24) & 0xff;
325 value->v.ipaddress[1] = (ntohl(ifa->inmask.s_addr) >> 16) & 0xff;
326 value->v.ipaddress[2] = (ntohl(ifa->inmask.s_addr) >> 8) & 0xff;
327 value->v.ipaddress[3] = (ntohl(ifa->inmask.s_addr) >> 0) & 0xff;
331 value->v.integer = ntohl(ifa->inbcast.s_addr) & 1;
/freebsd-9.3-release/contrib/ntp/tests/sandbox/
H A Dsmeartest.c40 r = ntohl(r);
107 printf("smear %s, refid %#.8x\n", lfptoa(&l, 8), ntohl(r));
123 printf("smear %s, refid %#.8x\n", lfptoa(&l, 8), ntohl(r));
/freebsd-9.3-release/contrib/ipfilter/lib/
H A Dprintaps.c106 (u_int)ntohl(ipsec.ipsc_icookie[0]),
107 (u_int)ntohl(ipsec.ipsc_icookie[1]),
108 (u_int)ntohl(ipsec.ipsc_rcookie[0]),
109 (u_int)ntohl(ipsec.ipsc_rcookie[1]),
/freebsd-9.3-release/sys/ofed/drivers/infiniband/ulp/sdp/
H A Dsdp_rx.c219 rx_sa->mseq = ntohl(h->mseq);
221 rx_sa->len = mb_len = ntohl(srcah->len);
222 rx_sa->rkey = ntohl(srcah->rkey);
284 if (sdp_resize_buffers(ssk, ntohl(buf->size)) == 0)
294 u32 new_size = ntohl(buf->size);
351 sdp_handle_sendsm(ssk, ntohl(h->mseq_ack));
358 ssk->srcavail_cancel_mseq = ntohl(h->mseq);
426 mseq_ack = ntohl(h->mseq_ack);
435 tx_credits(ssk), ntohl(h->mseq), ntohl(
[all...]
/freebsd-9.3-release/sys/ofed/include/net/
H A Dip.h56 addr = ntohl(addr);
/freebsd-9.3-release/contrib/ntp/libntp/
H A Dnumtoa.c8 #include <netinet/in.h> /* ntohl */
25 netnum = ntohl(num);
/freebsd-9.3-release/include/arpa/
H A Dinet.h141 uint32_t ntohl(uint32_t);
172 #define ntohl(x) __ntohl(x) macro
/freebsd-9.3-release/lib/libc/sparc64/
H A DSymbol.map34 ntohl;
/freebsd-9.3-release/contrib/ofed/libmthca/src/
H A Dcq.c172 printf(" [%2x] %08x\n", i * 4, ntohl(((uint32_t *) cqe)[i]));
187 ntohl(cqe->my_qpn), ntohl(cqe->wqe),
318 qpn = ntohl(cqe->my_qpn);
324 if (!*cur_qp || ntohl(cqe->my_qpn) != (*cur_qp)->ibv_qp.qp_num) {
330 *cur_qp = mthca_find_qp(to_mctx(cq->ibv_cq.context), ntohl(cqe->my_qpn));
341 wqe_index = ((ntohl(cqe->wqe) - (*cur_qp)->send_wqe_offset) >> wq->wqe_shift);
353 wqe = ntohl(cqe->wqe);
401 wc->byte_len = ntohl(cqe->byte_cnt);
405 wc->byte_len = ntohl(cq
[all...]
/freebsd-9.3-release/sys/contrib/ipfilter/netinet/
H A Dip_sync.c178 td->td_end = ntohl(td->td_end);
179 td->td_maxend = ntohl(td->td_maxend);
204 n->nat_age = ntohl(n->nat_age);
205 n->nat_flags = ntohl(n->nat_flags);
206 n->nat_ipsumd = ntohl(n->nat_ipsumd);
207 n->nat_use = ntohl(n->nat_use);
208 n->nat_dir = ntohl(n->nat_dir);
247 ips->is_hv = ntohl(ips->is_hv);
248 ips->is_die = ntohl(ips->is_die);
249 ips->is_pass = ntohl(ip
[all...]
/freebsd-9.3-release/usr.sbin/ppp/
H A Dslcompress.c130 (f) = htonl(ntohl(f) + ((cp[1] << 8) | cp[2])); \
133 (f) = htonl(ntohl(f) + (u_int32_t)*cp++); \
306 deltaA = ntohl(th->th_ack) - ntohl(oth->th_ack);
314 deltaS = ntohl(th->th_seq) - ntohl(oth->th_seq);
515 th->th_ack = htonl(ntohl(th->th_ack) + i);
516 th->th_seq = htonl(ntohl(th->th_seq) + i);
521 th->th_seq = htonl(ntohl(th->th_seq) + ntohs(cs->cs_ip.ip_len)
548 cs->cs_ip.ip_id, (u_long)ntohl(t
[all...]
/freebsd-9.3-release/usr.sbin/rwhod/
H A Drwhod.c317 wd.wd_sendtime = ntohl(wd.wd_sendtime);
319 wd.wd_loadav[i] = ntohl(wd.wd_loadav[i]);
320 wd.wd_boottime = ntohl(wd.wd_boottime);
323 we->we_idle = ntohl(we->we_idle);
325 ntohl(we->we_utmp.out_time);
659 printf("sendto %x.%d\n", ntohl(sin->sin_addr.s_addr),
662 interval(ntohl(w->wd_sendtime) - ntohl(w->wd_boottime), " up"));
664 ntohl(w->wd_loadav[0]) / 100.0, ntohl(
[all...]
/freebsd-9.3-release/lib/libc/nls/
H A Dmsgcat.c45 #include <arpa/inet.h> /* for ntohl() */
278 u = ntohl((u_int32_t)cat_hdr->__nsets) - 1;
281 r = set_id - ntohl((u_int32_t)set_hdr[i].__setno);
287 ntohl((u_int32_t)cat_hdr->__msg_hdr_offset));
289 l = ntohl((u_int32_t)set_hdr[i].__index);
290 u = l + ntohl((u_int32_t)set_hdr[i].__nmsgs) - 1;
294 ntohl((u_int32_t)msg_hdr[i].__msgno);
298 ntohl((u_int32_t)
300 ntohl((u_int32_t)
418 if (ntohl((u_int32_
[all...]
/freebsd-9.3-release/sys/net/
H A Dslcompress.c118 (f) = htonl(ntohl(f) + ((cp[1] << 8) | cp[2])); \
121 (f) = htonl(ntohl(f) + (u_int32_t)*cp++); \
298 deltaA = ntohl(th->th_ack) - ntohl(oth->th_ack);
306 deltaS = ntohl(th->th_seq) - ntohl(oth->th_seq);
546 th->th_ack = htonl(ntohl(th->th_ack) + i);
547 th->th_seq = htonl(ntohl(th->th_seq) + i);
552 th->th_seq = htonl(ntohl(th->th_seq) + ntohs(cs->cs_ip.ip_len)

Completed in 513 milliseconds

1234567891011>>