Lines Matching refs:ntohs
830 mpa->private_data_size = htons(ntohs(mpa->private_data_size) + in send_mpa_req()
920 mpa->private_data_size = htons(ntohs(mpa->private_data_size) + in send_mpa_reject()
1001 mpa->private_data_size = htons(ntohs(mpa->private_data_size) + in send_mpa_reply()
1064 set_emss(ep, ntohs(req->tcp_opt)); in act_establish()
1327 plen = ntohs(mpa->private_data_size); in process_mpa_reply()
1377 resp_ird = ntohs(mpa_v2_params->ird) & in process_mpa_reply()
1379 resp_ord = ntohs(mpa_v2_params->ord) & in process_mpa_reply()
1410 if (ntohs(mpa_v2_params->ird) & in process_mpa_reply()
1412 if (ntohs(mpa_v2_params->ord) & in process_mpa_reply()
1416 else if (ntohs(mpa_v2_params->ord) & in process_mpa_reply()
1560 plen = ntohs(mpa->private_data_size); in process_mpa_request()
1606 ep->ird = ntohs(mpa_v2_params->ird) & in process_mpa_request()
1608 ep->ord = ntohs(mpa_v2_params->ord) & in process_mpa_request()
1612 if (ntohs(mpa_v2_params->ird) & MPA_V2_PEER2PEER_MODEL) in process_mpa_request()
1614 if (ntohs(mpa_v2_params->ord) & in process_mpa_request()
1618 else if (ntohs(mpa_v2_params->ord) & in process_mpa_request()
1659 unsigned int dlen = ntohs(hdr->len); in rx_data()
2087 &la->sin_addr.s_addr, ntohs(la->sin_port), in act_open_rpl()
2088 &ra->sin_addr.s_addr, ntohs(ra->sin_port)); in act_open_rpl()
2092 la6->sin6_addr.s6_addr, ntohs(la6->sin6_port), in act_open_rpl()
2093 ra6->sin6_addr.s6_addr, ntohs(ra6->sin6_port)); in act_open_rpl()
2256 ntohl(ip->saddr), ntohl(ip->daddr), ntohs(tcp->source), in get_4tuple()
2257 ntohs(tcp->dest)); in get_4tuple()
2263 ip6->saddr.s6_addr, ip6->daddr.s6_addr, ntohs(tcp->source), in get_4tuple()
2264 ntohs(tcp->dest)); in get_4tuple()
2286 u16 peer_mss = ntohs(req->tcpopt.mss); in pass_accept_req()
2308 local_ip, peer_ip, ntohs(local_port), in pass_accept_req()
2309 ntohs(peer_port), peer_mss); in pass_accept_req()
2316 local_ip, peer_ip, ntohs(local_port), in pass_accept_req()
2317 ntohs(peer_port), peer_mss); in pass_accept_req()
2409 ntohs(req->tcp_opt)); in pass_establish()
2411 set_emss(ep, ntohs(req->tcp_opt)); in pass_establish()
3049 __func__, &laddr->sin_addr, ntohs(laddr->sin_port), in c4iw_connect()
3050 ra, ntohs(raddr->sin_port)); in c4iw_connect()
3070 ntohs(laddr6->sin6_port), in c4iw_connect()
3071 raddr6->sin6_addr.s6_addr, ntohs(raddr6->sin6_port)); in c4iw_connect()
3132 sin6->sin6_addr.s6_addr, ntohs(sin6->sin6_port)); in create_server6()
3166 &sin->sin_addr, ntohs(sin->sin_port)); in create_server4()
3641 skb->vlan_tci = ntohs(cpl->vlan); in rx_pkt()
3653 ntohl(iph->daddr), ntohs(tcph->dest), ntohl(iph->saddr), in rx_pkt()
3654 ntohs(tcph->source), iph->tos); in rx_pkt()