Lines Matching refs:ntohs
255 __u16 sid = ntohs(str_list[i]);
554 nums = (ntohs(param.p->length) - sizeof(*outreq)) / sizeof(__u16);
557 if (ntohs(str_p[i]) >= stream->incnt) {
589 SCTP_SI(stream, ntohs(str_p[i]))->mid = 0;
640 nums = (ntohs(param.p->length) - sizeof(*inreq)) / sizeof(__u16);
643 if (ntohs(str_p[i]) >= stream->outcnt) {
661 SCTP_SO(stream, ntohs(str_p[i]))->state =
805 in = ntohs(addstrm->number_of_streams);
841 0, ntohs(addstrm->number_of_streams), 0, GFP_ATOMIC);
884 out = ntohs(addstrm->number_of_streams);
947 nums = (ntohs(outreq->param_hdr.length) - sizeof(*outreq)) /
954 sout = SCTP_SO(stream, ntohs(str_p[i]));
984 nums = (ntohs(inreq->param_hdr.length) - sizeof(*inreq)) /
996 if (ntohs(param.p->length) != sizeof(*resptsn))
1044 nums = ntohs(addstrm->number_of_streams);
1067 nums = ntohs(addstrm->number_of_streams);