Lines Matching refs:tmp_pdu_hdr
69 isns_pdu_t *tmp_pdu_hdr;
85 tmp_pdu_hdr = (isns_pdu_t *)malloc(ISNSP_HEADER_SIZE);
86 if (tmp_pdu_hdr == NULL) {
89 (void) memset((void *)&tmp_pdu_hdr[0], 0, ISNSP_HEADER_SIZE);
91 iovec[0].iov_base = (void *)tmp_pdu_hdr;
113 free(tmp_pdu_hdr);
118 free(tmp_pdu_hdr);
124 payload_len = ntohs(tmp_pdu_hdr->payload_len);
127 free(tmp_pdu_hdr);
134 free(tmp_pdu_hdr);
161 free(tmp_pdu_hdr);
167 free(tmp_pdu_hdr);
178 free(tmp_pdu_hdr);
181 (*pdu)->version = ntohs(tmp_pdu_hdr->version);
182 (*pdu)->func_id = ntohs(tmp_pdu_hdr->func_id);
184 (*pdu)->flags = ntohs(tmp_pdu_hdr->flags);
185 (*pdu)->xid = ntohs(tmp_pdu_hdr->xid);
186 (*pdu)->seq = ntohs(tmp_pdu_hdr->seq);
191 free(tmp_pdu_hdr);
192 tmp_pdu_hdr = NULL;