Lines Matching refs:ntohl
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(buf->iptr[port]) & DCONS_POS_MASK;
190 buf->magic = ntohl(DCONS_MAGIC);
208 buf->magic = ntohl(DCONS_MAGIC);