/freebsd-9.3-release/contrib/ipfilter/lib/ |
H A D | printip.c | 20 if (ntohl(ipa.s_addr) < 256) 21 printf("%lu", (u_long)ntohl(ipa.s_addr));
|
H A D | nat_setgroupmap.c | 20 n->in_ippip = ~ntohl(n->in_inmsk); 22 n->in_ippip /= (~ntohl(n->in_outmsk) + 1); 28 n->in_space = USABLE_PORTS * ~ntohl(n->in_outmsk);
|
H A D | count4bits.c | 25 ip = ipn = ntohl(ip);
|
H A D | ipft_sn.c | 73 s_v = (int)ntohl(sh.s_v); 74 s_type = (int)ntohl(sh.s_type); 108 ilen = (int)ntohl(rec->sp_ilen); 109 plen = (int)ntohl(rec->sp_plen);
|
/freebsd-9.3-release/sys/boot/ficl/ |
H A D | unix.c | 12 return ntohl(number);
|
/freebsd-9.3-release/sys/nfs/ |
H A D | xdr_subs.h | 42 * These use the MACHINE DEPENDENT routines ntohl, htonl 45 * To simplify the implementation, we use ntohl/htonl even on big-endian 51 #define fxdr_unsigned(t, v) ((t)ntohl((int32_t)(v))) 56 (t)->tv_sec = ntohl(((struct nfsv2_time *)(f))->nfsv2_sec); \ 58 (t)->tv_nsec = 1000 * ntohl(((struct nfsv2_time *)(f))->nfsv2_usec); \ 73 (t)->tv_sec = ntohl(((struct nfsv3_time *)(f))->nfsv3_sec); \ 74 (t)->tv_nsec = ntohl(((struct nfsv3_time *)(f))->nfsv3_nsec); \ 83 ((((u_quad_t)ntohl(((u_int32_t *)(f))[0])) << 32) | \ 84 (u_quad_t)(ntohl(((u_int32_t *)(f))[1])))
|
/freebsd-9.3-release/sys/fs/nfs/ |
H A D | xdr_subs.h | 40 * These use the MACHINE DEPENDENT routines ntohl, htonl 43 * To simplify the implementation, we use ntohl/htonl even on big-endian 49 #define fxdr_unsigned(t, v) ((t)ntohl((int32_t)(v))) 53 (t)->tv_sec = ntohl(((struct nfsv2_time *)(f))->nfsv2_sec); \ 55 (t)->tv_nsec = 1000 * ntohl(((struct nfsv2_time *)(f))->nfsv2_usec); \ 69 (t)->tv_sec = ntohl(((struct nfsv3_time *)(f))->nfsv3_sec); \ 70 (t)->tv_nsec = ntohl(((struct nfsv3_time *)(f))->nfsv3_nsec); \ 79 (t)->tv_sec = ntohl(((struct nfsv4_time *)(f))->nfsv4_sec); \ 80 (t)->tv_nsec = (ntohl(((struct nfsv4_time *)(f))->nfsv4_nsec) % \ 91 ((((u_quad_t)ntohl(((u_int32_ [all...] |
/freebsd-9.3-release/contrib/ntp/libntp/ |
H A D | numtohost.c | 8 #include <netinet/in.h> /* ntohl */ 33 if ((((ntohl(netnum) & LOOPBACKNETMASK) == LOOPBACKNET) 34 && (ntohl(netnum) != LOOPBACKHOST))
|
H A D | refidsmear.c | 22 r = ntohl(r);
|
/freebsd-9.3-release/lib/libc/mips/net/ |
H A D | ntohl.S | 43 LEAF(ntohl) # a0 = 0x11223344, return 0x44332211 58 END(ntohl)
|
/freebsd-9.3-release/lib/libc/net/ |
H A D | ntoh.c | 47 ntohl(uint32_t nl) function
|
/freebsd-9.3-release/contrib/tcpdump/ |
H A D | extract.h | 42 * "ntohl()" than the code to fetch the bytes one at a time and 44 * where "ntohs()" and "ntohl()" might not be done inline.) 63 return ((u_int32_t)ntohl(((const unaligned_u_int32_t *)(p))->val)); 69 return ((u_int64_t)(((u_int64_t)ntohl(((const unaligned_u_int32_t *)(p) + 0)->val)) << 32 | \ 70 ((u_int64_t)ntohl(((const unaligned_u_int32_t *)(p) + 1)->val)) << 0)); 112 return ((u_int32_t)ntohl(*(const u_int32_t *)(p))); 118 return ((u_int64_t)(((u_int64_t)ntohl(*((const u_int32_t *)(p) + 0))) << 32 | \ 119 ((u_int64_t)ntohl(*((const u_int32_t *)(p) + 1))) << 0));
|
H A D | print-pfsync.c | 222 ntohl(iack->creatorid)); 231 ntohl(u->creatorid)); 244 ntohl(ur->creatorid)); 253 ntohl(d->creatorid)); 264 endtime = ntohl(b->endtime); 292 ntohl(t->spi), (uintmax_t )be64toh(t->rpl), 315 printf("[%u + %u](+%u)", ntohl(p->seqlo), 316 ntohl(p->seqhi) - ntohl(p->seqlo), ntohl( [all...] |
/freebsd-9.3-release/lib/libc/locale/ |
H A D | rune.c | 109 frl->variable_len = ntohl(frl->variable_len); 110 frl->runetype_ext_nranges = ntohl(frl->runetype_ext_nranges); 111 frl->maplower_ext_nranges = ntohl(frl->maplower_ext_nranges); 112 frl->mapupper_ext_nranges = ntohl(frl->mapupper_ext_nranges); 115 frl->runetype[x] = ntohl(frl->runetype[x]); 116 frl->maplower[x] = ntohl(frl->maplower[x]); 117 frl->mapupper[x] = ntohl(frl->mapupper[x]); 148 frr[x].min = ntohl(frr[x].min); 149 frr[x].max = ntohl(frr[x].max); 150 frr[x].map = ntohl(fr [all...] |
/freebsd-9.3-release/usr.sbin/timed/timed/ |
H A D | byteorder.c | 75 ptr->tsp_time.tv_sec = ntohl((u_long)ptr->tsp_time.tv_sec); 76 ptr->tsp_time.tv_usec = ntohl((u_long)ptr->tsp_time.tv_usec);
|
/freebsd-9.3-release/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/funcs/ |
H A D | tst.hton.d | 76 /after[1] != ntohl(before[1])/ 78 printf("%x rather than %x", ntohl(before[1]), after[1]);
|
/freebsd-9.3-release/lib/libc/inet/ |
H A D | inet_lnaof.c | 53 in_addr_t i = ntohl(in.s_addr);
|
H A D | inet_netof.c | 52 in_addr_t i = ntohl(in.s_addr);
|
/freebsd-9.3-release/contrib/ntp/ntpdc/ |
H A D | ntpdc_ops.c | 618 (void) fprintf(fp, "timer %lds, flags", (long)ntohl(pp->timer)); 834 (u_long)ntohl(pp->timereceived)); 836 (u_long)ntohl(pp->timetosend)); 838 (u_long)ntohl(pp->timereachable)); 840 (u_long)ntohl(pp->sent)); 842 (u_long)ntohl(pp->processed)); 844 (u_long)ntohl(pp->badauth)); 846 (u_long)ntohl(pp->bogusorg)); 848 (u_long)ntohl(pp->oldpkt)); 850 (u_long)ntohl(p [all...] |
/freebsd-9.3-release/sys/dev/dcons/ |
H A D | dcons.c | 57 ptr = ntohl(*ch->ptr); 86 ptr = ntohl(*ch->ptr); 171 dc->o.size = ntohl(buf->osize[port]); 172 dc->i.size = ntohl(buf->isize[port]); 173 dc->o.buf = (char *)buf + ntohl(buf->ooffset[port]); 174 dc->i.buf = (char *)buf + ntohl(buf->ioffset[port]); 175 dc->o.gen = ntohl(buf->optr[port]) >> DCONS_GEN_SHIFT; 176 dc->i.gen = ntohl(buf->iptr[port]) >> DCONS_GEN_SHIFT; 177 dc->o.pos = ntohl(buf->optr[port]) & DCONS_POS_MASK; 178 dc->i.pos = ntohl(bu [all...] |
/freebsd-9.3-release/sys/ofed/drivers/infiniband/ulp/sdp/ |
H A D | sdp_bcopy.c | 52 ntohs(h->bufs), ntohl(h->len), ntohl(h->mseq), 53 ntohl(h->mseq_ack)); 62 ntohl(hh->localrcvsz), 63 ntohl(hh->desremrcvsz)); 68 ntohl(hah->actrcvsz)); 74 ntohl(req_size->size)); 78 ntohl(h->len) - sizeof(struct sdp_bsdh)); 84 ntohl(rrch->len)); 91 ntohl( [all...] |
/freebsd-9.3-release/sys/netinet/ |
H A D | ip_ecn.c | 168 inner8 = (ntohl(*inner) >> 20) & 0xff; 182 outer8 = (ntohl(*outer) >> 20) & 0xff; 183 inner8 = oinner8 = (ntohl(*inner) >> 20) & 0xff;
|
/freebsd-9.3-release/contrib/pf/pfctl/ |
H A D | pf_print_state.c | 205 printf("[%u + %u](+%u)", ntohl(p->seqlo), 206 ntohl(p->seqhi) - ntohl(p->seqlo), ntohl(p->seqdiff)); 208 printf("[%u + %u]", ntohl(p->seqlo), 209 ntohl(p->seqhi) - ntohl(p->seqlo)); 306 u_int32_t creation = ntohl(s->creation); 307 u_int32_t expire = ntohl(s->expire); 336 if (ntohl( [all...] |
/freebsd-9.3-release/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/safety/ |
H A D | tst.hton.d | 65 trace(ntohl(0x11223344));
|
/freebsd-9.3-release/lib/libc/amd64/ |
H A D | Symbol.map | 37 ntohl;
|