Lines Matching refs:ntohs
661 info = ntohs(hdr->un.frag.mtu);
694 if (!ch || ntohs(ch->length) < sizeof(_ch))
697 ch_end = offset + SCTP_PAD4(ntohs(ch->length));
850 hash = sctp_ep_hashfn(net, ntohs(lport));
1198 if (ntohs(ch->length) < sizeof(*asconf) + sizeof(struct sctp_paramhdr))
1242 if (ntohs(ch->length) < sizeof(*ch))
1245 ch_end = ((__u8 *)ch) + SCTP_PAD4(ntohs(ch->length));
1316 if (SCTP_PAD4(ntohs(ch->length)) > skb->len)
1350 &laddr->v4.sin_addr, ntohs(laddr->v4.sin_port),
1351 &paddr->v4.sin_addr, ntohs(paddr->v4.sin_port));
1354 &laddr->v6.sin6_addr, ntohs(laddr->v6.sin6_port),
1355 &paddr->v6.sin6_addr, ntohs(paddr->v6.sin6_port));