/freebsd-10.3-release/lib/libc/mips/net/ |
H A D | Makefile.inc | 4 SRCS+= htonl.S ntohl.S htons.S ntohs.S
|
H A D | ntohl.S | 34 __FBSDID("$FreeBSD: releng/10.3/lib/libc/mips/net/ntohl.S 251091 2013-05-29 01:54:10Z emaste $"); 36 LEAF(ntohl) # a0 = 0x11223344, return 0x44332211 51 END(ntohl)
|
/freebsd-10.3-release/sys/boot/ficl/ |
H A D | unix.c | 12 return ntohl(number);
|
/freebsd-10.3-release/contrib/ipfilter/lib/ |
H A D | printiphdr.c | 18 ntohs(ip->ip_off), ntohs(ip->ip_sum), ntohl(ip->ip_src.s_addr), 19 ntohl(ip->ip_dst.s_addr));
|
H A D | nat_setgroupmap.c | 20 n->in_ippip = ~ntohl(n->in_osrcmsk); 22 n->in_ippip /= (~ntohl(n->in_nsrcmsk) + 1); 28 n->in_space = USABLE_PORTS * ~ntohl(n->in_nsrcmsk);
|
H A D | printip.c | 23 if (ntohl(ipa.s_addr) < 256) 24 PRINTF("%lu", (u_long)ntohl(ipa.s_addr));
|
H A D | count4bits.c | 25 ip = ipn = ntohl(ip);
|
/freebsd-10.3-release/sys/ofed/include/linux/ |
H A D | in.h | 40 #define ipv4_is_zeronet(be) IN_ZERONET(ntohl(be)) 41 #define ipv4_is_loopback(be) IN_LOOPBACK(ntohl(be))
|
/freebsd-10.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-10.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-10.3-release/crypto/openssh/openbsd-compat/ |
H A D | sha1.h | 51 x[0] = ntohl(x[0]); \ 52 x[1] = ntohl(x[1]); \ 53 x[2] = ntohl(x[2]); \ 54 x[3] = ntohl(x[3]); \ 55 x[4] = ntohl(x[4]); } while (0)
|
/freebsd-10.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-10.3-release/lib/libc/net/ |
H A D | ntoh.c | 47 ntohl(uint32_t nl) function
|
/freebsd-10.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-10.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-10.3-release/usr.sbin/timed/timed/ |
H A D | byteorder.c | 73 ptr->tsp_time.tv_sec = ntohl((u_long)ptr->tsp_time.tv_sec); 74 ptr->tsp_time.tv_usec = ntohl((u_long)ptr->tsp_time.tv_usec);
|
/freebsd-10.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-10.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-10.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-10.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-10.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-10.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;
|