Lines Matching defs:p_resp_mad
254 ib_rmpp_mad_t *p_resp_mad = (ib_rmpp_mad_t *) resp_mad;
265 memcpy(p_resp_mad, p_req_mad, MAD_BLOCK_SIZE);
267 p_resp_mad->common_hdr.method = osmv_invert_method(p_req_mad->method);
268 p_resp_mad->rmpp_type = IB_RMPP_TYPE_ACK;
269 p_resp_mad->seg_num = cl_hton32(seg_num);
270 p_resp_mad->paylen_newwin = cl_hton32(nwl);
271 p_resp_mad->rmpp_flags = IB_RMPP_FLAG_ACTIVE;
273 return osmv_transport_mad_send(h_bind, p_resp_mad, p_mad_addr);
289 ib_rmpp_mad_t *p_resp_mad = (ib_rmpp_mad_t *) resp_mad;
291 memcpy(p_resp_mad, p_req_mad, MAD_BLOCK_SIZE);
293 p_resp_mad->common_hdr.method = osmv_invert_method(p_req_mad->method);
294 p_resp_mad->rmpp_type = nak_type;
295 p_resp_mad->rmpp_status = status;
297 return osmv_transport_mad_send(h_bind, p_resp_mad, p_mad_addr);