Lines Matching refs:req_msg_hdr
152 static pcp_req_msg_hdr_t *req_msg_hdr = NULL; variable
307 if (req_msg_hdr != NULL) { in pcp_close()
308 umem_free(req_msg_hdr, req_msg_hdr_sz); in pcp_close()
309 req_msg_hdr = NULL; in pcp_close()
379 if (req_msg_hdr == NULL) { in pcp_send_recv()
381 req_msg_hdr = (pcp_req_msg_hdr_t *)umem_zalloc(req_msg_hdr_sz, in pcp_send_recv()
383 if (req_msg_hdr == NULL) in pcp_send_recv()
395 req_msg_hdr->magic_num = PCP_MAGIC_NUM; in pcp_send_recv()
396 req_msg_hdr->proto_ver = PCP_PROT_VER_1; in pcp_send_recv()
397 req_msg_hdr->msg_type = req_msg->msg_type; in pcp_send_recv()
398 req_msg_hdr->sub_type = req_msg->sub_type; in pcp_send_recv()
399 req_msg_hdr->rsvd_pad = 0; in pcp_send_recv()
400 req_msg_hdr->xid = pcp_get_xid(); in pcp_send_recv()
401 req_msg_hdr->msg_len = req_msg->msg_len; in pcp_send_recv()
402 req_msg_hdr->timeout = timeout; in pcp_send_recv()
403 req_msg_hdr->msg_cksum = cksum; in pcp_send_recv()
404 req_msg_hdr->hdr_cksum = 0; in pcp_send_recv()
407 req_msg_hdr->hdr_cksum = checksum((uint16_t *)req_msg_hdr, in pcp_send_recv()
420 if ((ret = pcp_send_req_msg_hdr(req_msg_hdr))) { in pcp_send_recv()
474 if (resp_msg_hdr->xid != req_msg_hdr->xid) { in pcp_send_recv()