Lines Matching refs:ntohs
682 if (!ch || ntohs(ch->length) < sizeof(_ch))
685 ch_end = offset + SCTP_PAD4(ntohs(ch->length));
843 hash = sctp_ep_hashfn(net, ntohs(lport));
1173 if (ntohs(ch->length) < sizeof(*asconf) + sizeof(struct sctp_paramhdr))
1216 if (ntohs(ch->length) < sizeof(*ch))
1219 ch_end = ((__u8 *)ch) + SCTP_PAD4(ntohs(ch->length));
1288 if (SCTP_PAD4(ntohs(ch->length)) > skb->len)
1321 &laddr->v4.sin_addr, ntohs(laddr->v4.sin_port),
1322 &paddr->v4.sin_addr, ntohs(paddr->v4.sin_port));
1325 &laddr->v6.sin6_addr, ntohs(laddr->v6.sin6_port),
1326 &paddr->v6.sin6_addr, ntohs(paddr->v6.sin6_port));