Lines Matching refs:pdu_header
162 struct usbip_header pdu_header; in stub_send_ret_submit() local
172 memset(&pdu_header, 0, sizeof(pdu_header)); in stub_send_ret_submit()
203 setup_ret_submit_pdu(&pdu_header, urb); in stub_send_ret_submit()
205 pdu_header.base.seqnum); in stub_send_ret_submit()
211 pdu_header.u.ret_submit.status = priv->urb_status; in stub_send_ret_submit()
212 pdu_header.u.ret_submit.actual_length = actual_length; in stub_send_ret_submit()
215 usbip_header_correct_endian(&pdu_header, 1); in stub_send_ret_submit()
217 iov[iovnum].iov_base = &pdu_header; in stub_send_ret_submit()
218 iov[iovnum].iov_len = sizeof(pdu_header); in stub_send_ret_submit()
220 txsize += sizeof(pdu_header); in stub_send_ret_submit()
286 if (txsize != sizeof(pdu_header) + urb->actual_length) { in stub_send_ret_submit()
290 txsize-sizeof(pdu_header)); in stub_send_ret_submit()
374 struct usbip_header pdu_header; in stub_send_ret_unlink() local
377 memset(&pdu_header, 0, sizeof(pdu_header)); in stub_send_ret_unlink()
384 setup_ret_unlink_pdu(&pdu_header, unlink); in stub_send_ret_unlink()
385 usbip_header_correct_endian(&pdu_header, 1); in stub_send_ret_unlink()
387 iov[0].iov_base = &pdu_header; in stub_send_ret_unlink()
388 iov[0].iov_len = sizeof(pdu_header); in stub_send_ret_unlink()
389 txsize += sizeof(pdu_header); in stub_send_ret_unlink()