Searched refs:ntohl (Results 76 - 100 of 428) sorted by relevance

1234567891011>>

/freebsd-9.3-release/lib/libc/locale/
H A Dcollate.c164 if ((chains = (int)ntohl(u32)) < 1) {
224 ntohl(__collate_char_pri_table[i].prim);
226 ntohl(__collate_char_pri_table[i].sec);
233 ntohl(__collate_chain_pri_table[i].prim);
235 ntohl(__collate_chain_pri_table[i].sec);
/freebsd-9.3-release/contrib/amd/libamu/
H A Dwire.c158 subnet = ntohl(address) & ntohl(netmask);
164 u_long mask = ntohl(netmask);
185 net = ntohl(address) & (mask = ntohl(netmask));
265 addr = ntohl(addr);
/freebsd-9.3-release/sys/netipsec/
H A Dxform_ipip.c205 otos = (ntohl(mtod(m, struct ip6_hdr *)->ip6_flow) >> 20) & 0xff;
270 itos = (ntohl(ip6->ip6_flow) >> 20) & 0xff;
399 (u_long) ntohl(sav->spi)));
455 itos = ntohl(itos32) >> 20;
479 (u_long) ntohl(sav->spi)));
530 itos = ntohl(itos32) >> 20;
H A Dxform_esp.c334 (u_long) ntohl(sav->spi)));
343 if (esph && sav->replay && !ipsec_chkreplay(ntohl(esp->esp_seq), sav)) {
550 (u_long) ntohl(sav->spi)));
578 if (ipsec_updatereplay(ntohl(seq), sav)) {
599 (u_long) ntohl(sav->spi)));
613 (u_long) ntohl(sav->spi)));
625 (u_long) ntohl(sav->spi)));
748 (u_long) ntohl(sav->spi)));
756 ipsec_address(&saidx->dst), (u_long) ntohl(sav->spi),
769 ipsec_address(&saidx->dst), (u_long) ntohl(sa
[all...]
/freebsd-9.3-release/sbin/routed/
H A Dif.c281 addr = ntohl(addr); /* was a host, not a network */
358 if ((ntohl(addr) & ~mask) != 0)
369 addr = ntohl(addr);
408 if (on_net(ifp->int_dstaddr, ntohl(dstaddr),mask))
781 if (ntohl(ifs.int_addr)>>24 == 0
782 || ntohl(ifs.int_addr)>>24 == 0xff) {
800 ifs.int_net = ntohl(ifs.int_dstaddr);
821 if (ntohl(ifs.int_dstaddr)>>24 == 0
822 || ntohl(ifs.int_dstaddr)>>24 == 0xff) {
833 ifs.int_ripv1_mask = ntohl(S_ADD
[all...]
/freebsd-9.3-release/sys/dev/iscsi/initiator/
H A Disc_sm.c90 sdebug(2, "itt=%x reason=0x%x", ntohl(itt), reject->reason);
101 sp->sid, ntohl(pq->pdu.ipdu.bhs.itt));
121 sp->sid, ntohl(pq->pdu.ipdu.bhs.itt),
122 ntohl(r2t->r2tSN), ntohl(r2t->bo), ntohl(r2t->ddtl));
134 debug(5, "itt=%x pq=%p opq=%p", ntohl(pq->pdu.ipdu.bhs.itt), pq, opq);
141 sp->sid, ntohl(pq->pdu.ipdu.bhs.itt));
160 sp->sid, ntohl(pq->pdu.ipdu.bhs.itt));
366 statSN = ntohl(bh
[all...]
/freebsd-9.3-release/bin/date/
H A Dnetdate.c160 msg.tsp_time.tv_sec = ntohl(msg.tsp_time.tv_sec);
161 msg.tsp_time.tv_usec = ntohl(msg.tsp_time.tv_usec);
/freebsd-9.3-release/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/aggs/
H A Dtst.subr.d95 INTFUNC(ntohl(0x12345678))
/freebsd-9.3-release/contrib/bsnmp/snmp_mibII/
H A DmibII_nettomedia.c47 uint32_t a = ntohl(in.s_addr);
67 uint32_t a = ntohl(in.s_addr);
/freebsd-9.3-release/contrib/ipfilter/lib/
H A Dload_hash.c81 a->ipe_addr.in4_addr = ntohl(a->ipe_addr.in4_addr);
82 a->ipe_mask.in4_addr = ntohl(a->ipe_mask.in4_addr);
/freebsd-9.3-release/contrib/ofed/management/libibmad/src/
H A Dserv.c97 rport.qp = ntohl(mad_addr->qpn);
98 rport.qkey = ntohl(mad_addr->qkey);
/freebsd-9.3-release/crypto/heimdal/lib/krb5/
H A Drecvauth.c113 len = ntohl(len);
134 len = ntohl(len);
/freebsd-9.3-release/sys/net/
H A Dif_stf.c473 tos = (ntohl(ip6->ip6_flow) >> 20) & 0xff;
589 (ntohl(in->s_addr) & 0xff000000) >> 24 == 10 ||
590 (ntohl(in->s_addr) & 0xfff00000) >> 16 == 172 * 256 + 16 ||
591 (ntohl(in->s_addr) & 0xffff0000) >> 16 == 192 * 256 + 168))
609 if (IN_MULTICAST(ntohl(in->s_addr)))
611 switch ((ntohl(in->s_addr) & 0xff000000) >> 24) {
657 (u_int32_t)ntohl(sin.sin_addr.s_addr));
760 itos = (ntohl(ip6->ip6_flow) >> 20) & 0xff;
/freebsd-9.3-release/sys/netinet/
H A Dtcp_debug.c180 seq = ntohl(seq);
181 ack = ntohl(ack);
/freebsd-9.3-release/sys/sys/
H A Dparam.h299 __uint32_t ntohl(__uint32_t);
310 #define ntohl(x) __ntohl(x) macro
/freebsd-9.3-release/usr.bin/locate/locate/
H A Dutil.c246 i = ntohl(i);
271 word = ntohl(word);
/freebsd-9.3-release/contrib/ntp/sntp/libevent/test/
H A Dregress_listener.c110 tt_int_op(ntohl(sin1->sin_addr.s_addr), ==, 0x7f000001);
111 tt_int_op(ntohl(sin2->sin_addr.s_addr), ==, 0x7f000001);
/freebsd-9.3-release/contrib/ntp/ntpd/
H A Dntp_signd.c112 *len = ntohl(*len);
219 if (ntohl(samba_reply.op) == 3 && reply_len > offsetof(struct samba_key_out, pkt)) {
/freebsd-9.3-release/contrib/ipfilter/samples/
H A Dproxy.c186 sum1 = LONG_SUM(ntohl(usin.sin_addr.s_addr)) + ntohs(usin.sin_port);
187 sum2 = LONG_SUM(ntohl(nat->nat_outip.s_addr)) + ntohs(nlp->nl_outport);
192 sum1 = LONG_SUM(ntohl(usin.sin_addr.s_addr));
193 sum2 = LONG_SUM(ntohl(nat->nat_outip.s_addr));
/freebsd-9.3-release/crypto/heimdal/lib/roken/
H A Dinet_ntop.c51 u_long a = ntohl(addr->s_addr);
/freebsd-9.3-release/lib/libc/net/
H A Dsourcefilter.c157 if (!IN_MULTICAST(ntohl(group.s_addr)) ||
230 if (!IN_MULTICAST(ntohl(group.s_addr)) ||
295 !IN_MULTICAST(ntohl(psu->sin.sin_addr.s_addr)))) {
357 !IN_MULTICAST(ntohl(psu->sin.sin_addr.s_addr)))) {
/freebsd-9.3-release/lib/libc/rpc/
H A Drtime.c144 thetime = ntohl(thetime);
/freebsd-9.3-release/usr.sbin/IPXrouted/
H A Dtrace.h92 ntohl(ifp->int_metric)); \
/freebsd-9.3-release/contrib/ipfilter/tools/
H A Dipsyncs.c173 len = ntohl(sh->sm_len);
174 magic = ntohl(sh->sm_magic);
201 printf(" num:%d\n", (u_32_t)ntohl(sh->sm_num));
/freebsd-9.3-release/contrib/nvi/ip/
H A Dip_read.c226 val1 = ntohl(val1);
229 val2 = ntohl(val2);
246 val1 = ntohl(val1);

Completed in 359 milliseconds

1234567891011>>