Lines Matching refs:pdu_header
70 struct usbip_header pdu_header; in vhci_send_cmd_submit() local
73 memset(&pdu_header, 0, sizeof(pdu_header)); in vhci_send_cmd_submit()
95 setup_cmd_submit_pdu(&pdu_header, urb); in vhci_send_cmd_submit()
96 usbip_header_correct_endian(&pdu_header, 1); in vhci_send_cmd_submit()
99 iov[iovnum].iov_base = &pdu_header; in vhci_send_cmd_submit()
100 iov[iovnum].iov_len = sizeof(pdu_header); in vhci_send_cmd_submit()
101 txsize += sizeof(pdu_header); in vhci_send_cmd_submit()
198 struct usbip_header pdu_header; in vhci_send_cmd_unlink() local
200 memset(&pdu_header, 0, sizeof(pdu_header)); in vhci_send_cmd_unlink()
207 pdu_header.base.command = USBIP_CMD_UNLINK; in vhci_send_cmd_unlink()
208 pdu_header.base.seqnum = unlink->seqnum; in vhci_send_cmd_unlink()
209 pdu_header.base.devid = vdev->devid; in vhci_send_cmd_unlink()
210 pdu_header.base.ep = 0; in vhci_send_cmd_unlink()
211 pdu_header.u.cmd_unlink.seqnum = unlink->unlink_seqnum; in vhci_send_cmd_unlink()
213 usbip_header_correct_endian(&pdu_header, 1); in vhci_send_cmd_unlink()
215 iov.iov_base = &pdu_header; in vhci_send_cmd_unlink()
216 iov.iov_len = sizeof(pdu_header); in vhci_send_cmd_unlink()
217 txsize = sizeof(pdu_header); in vhci_send_cmd_unlink()