Searched refs:resp_hdr (Results 1 – 2 of 2) sorted by relevance
130 struct iovec resp_hdr[3]; in receive_response() local140 resp_hdr[0].iov_base = &func; in receive_response()141 resp_hdr[0].iov_len = sizeof(func); in receive_response()142 resp_hdr[1].iov_base = &data_size; in receive_response()143 resp_hdr[1].iov_len = sizeof(data_size); in receive_response()144 resp_hdr[2].iov_base = ret_val; in receive_response()145 resp_hdr[2].iov_len = sizeof(*ret_val); in receive_response()147 while (((count = readv(fd, resp_hdr, 3)) < 0) && (errno == EINTR)) ; in receive_response()
156 struct netbios_hdr resp_hdr; member384 resp->resp_hdr.trans_id = netbios_hdr->trans_id; in netbiosns_recv()385 resp->resp_hdr.flags = PP_HTONS(NETB_HFLAG_RESPONSE | in netbiosns_recv()389 resp->resp_hdr.questions = 0; in netbiosns_recv()390 resp->resp_hdr.answerRRs = PP_HTONS(1); in netbiosns_recv()391 resp->resp_hdr.authorityRRs = 0; in netbiosns_recv()392 resp->resp_hdr.additionalRRs = 0; in netbiosns_recv()