Lines Matching refs:req_msg_hdr
154 static pcp_req_msg_hdr_t *req_msg_hdr = NULL;
309 if (req_msg_hdr != NULL) {
310 umem_free(req_msg_hdr, req_msg_hdr_sz);
311 req_msg_hdr = NULL;
381 if (req_msg_hdr == NULL) {
383 req_msg_hdr = (pcp_req_msg_hdr_t *)umem_zalloc(req_msg_hdr_sz,
385 if (req_msg_hdr == NULL)
397 req_msg_hdr->magic_num = PCP_MAGIC_NUM;
398 req_msg_hdr->proto_ver = PCP_PROT_VER_1;
399 req_msg_hdr->msg_type = req_msg->msg_type;
400 req_msg_hdr->sub_type = req_msg->sub_type;
401 req_msg_hdr->rsvd_pad = 0;
402 req_msg_hdr->xid = pcp_get_xid();
403 req_msg_hdr->msg_len = req_msg->msg_len;
404 req_msg_hdr->timeout = timeout;
405 req_msg_hdr->msg_cksum = cksum;
406 req_msg_hdr->hdr_cksum = 0;
409 req_msg_hdr->hdr_cksum = checksum((uint16_t *)req_msg_hdr,
422 if ((ret = pcp_send_req_msg_hdr(req_msg_hdr))) {
476 if (resp_msg_hdr->xid != req_msg_hdr->xid) {