Lines Matching refs:mpa_v2_params

946 	struct mpa_v2_conn_params mpa_v2_params;  in send_mpa_req()  local
1003 mpa_v2_params.ird = htons((u16)ep->ird); in send_mpa_req()
1004 mpa_v2_params.ord = htons((u16)ep->ord); in send_mpa_req()
1007 mpa_v2_params.ird |= htons(MPA_V2_PEER2PEER_MODEL); in send_mpa_req()
1009 mpa_v2_params.ord |= in send_mpa_req()
1012 mpa_v2_params.ord |= in send_mpa_req()
1015 memcpy(mpa->private_data, &mpa_v2_params, in send_mpa_req()
1051 struct mpa_v2_conn_params mpa_v2_params; in send_mpa_reject() local
1093 mpa_v2_params.ird = htons(((u16)ep->ird) | in send_mpa_reject()
1096 mpa_v2_params.ord = htons(((u16)ep->ord) | (peer2peer ? in send_mpa_reject()
1102 memcpy(mpa->private_data, &mpa_v2_params, in send_mpa_reject()
1131 struct mpa_v2_conn_params mpa_v2_params; in send_mpa_reply() local
1177 mpa_v2_params.ird = htons((u16)ep->ird); in send_mpa_reply()
1178 mpa_v2_params.ord = htons((u16)ep->ord); in send_mpa_reply()
1181 mpa_v2_params.ird |= htons(MPA_V2_PEER2PEER_MODEL); in send_mpa_reply()
1184 mpa_v2_params.ord |= in send_mpa_reply()
1187 mpa_v2_params.ord |= in send_mpa_reply()
1191 memcpy(mpa->private_data, &mpa_v2_params, in send_mpa_reply()
1464 struct mpa_v2_conn_params *mpa_v2_params; in process_mpa_reply() local
1565 mpa_v2_params = (struct mpa_v2_conn_params *) in process_mpa_reply()
1567 resp_ird = ntohs(mpa_v2_params->ird) & in process_mpa_reply()
1569 resp_ord = ntohs(mpa_v2_params->ord) & in process_mpa_reply()
1600 if (ntohs(mpa_v2_params->ird) & in process_mpa_reply()
1602 if (ntohs(mpa_v2_params->ord) & in process_mpa_reply()
1606 else if (ntohs(mpa_v2_params->ord) & in process_mpa_reply()
1710 struct mpa_v2_conn_params *mpa_v2_params; in process_mpa_request() local
1791 mpa_v2_params = (struct mpa_v2_conn_params *) in process_mpa_request()
1793 ep->ird = ntohs(mpa_v2_params->ird) & in process_mpa_request()
1797 ep->ord = ntohs(mpa_v2_params->ord) & in process_mpa_request()
1803 if (ntohs(mpa_v2_params->ird) & MPA_V2_PEER2PEER_MODEL) in process_mpa_request()
1805 if (ntohs(mpa_v2_params->ord) & in process_mpa_request()
1809 else if (ntohs(mpa_v2_params->ord) & in process_mpa_request()