Lines Matching refs:ntohs
2025 ptype = ntohs(phdr->param_type);
2027 plen = ntohs(phdr->param_length);
2283 ptype = (int)((uint32_t) ntohs(phdr->param_type));
2292 if (ntohs(phdr->param_length) != sizeof(struct sctp_ipv6addr_param)) {
2319 if (ntohs(phdr->param_length) != sizeof(struct sctp_ipv4addr_param)) {
2738 ntohs(((struct sockaddr_in *)addr)->sin_port));
2842 if (ntohs(lport) < IPPORT_RESERVED) {
3142 (void *)head, ntohs(lport), port_reuse_active);
4006 ntohs(stcb->rport) ^
4007 ntohs(stcb->sctp_ep->sctp_lport);
4191 ntohs(((struct sockaddr_in *)firstaddr)->sin_port));
4197 ntohs(((struct sockaddr_in6 *)firstaddr)->sin6_port));
4214 if ((ntohs(sin->sin_port) == 0) ||
4234 if ((ntohs(sin6->sin6_port) == 0) ||
6128 ptype = ntohs(phdr->param_type);
6129 plen = ntohs(phdr->param_length);
6353 lptype = ntohs(fee->addrp.ph.param_type);
6489 ntohs(hmacs->hmac_ids[i]));