Lines Matching refs:hdrp
949 pcp_req_msg_hdr_t *hdrp;
954 if ((hdrp = (pcp_req_msg_hdr_t *)umem_zalloc(hdr_sz,
959 hdrp->magic_num = htonl(req_hdr->magic_num);
960 hdrp->proto_ver = req_hdr->proto_ver;
961 hdrp->msg_type = req_hdr->msg_type;
962 hdrp->sub_type = req_hdr->sub_type;
963 hdrp->rsvd_pad = htons(req_hdr->rsvd_pad);
964 hdrp->xid = htonl(req_hdr->xid);
965 hdrp->timeout = htonl(req_hdr->timeout);
966 hdrp->msg_len = htonl(req_hdr->msg_len);
967 hdrp->msg_cksum = htons(req_hdr->msg_cksum);
968 hdrp->hdr_cksum = htons(req_hdr->hdr_cksum);
970 if ((ret = pcp_io_op((char *)hdrp, hdr_sz, PCPL_IO_OP_WRITE)) != 0) {
971 umem_free(hdrp, hdr_sz);
974 umem_free(hdrp, hdr_sz);