// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (C) 2015 Karol Kosik <[email protected]> * Copyright (C) 2015-2016 Samsung Electronics * Igor Kotrasinski <[email protected]> */ #include <net/sock.h> #include <linux/list.h> #include <linux/kthread.h> #include "usbip_common.h" #include "vudc.h" static int alloc_urb_from_cmd(struct urb **urbp, struct usbip_header *pdu, u8 type) { … } static int v_recv_cmd_unlink(struct vudc *udc, struct usbip_header *pdu) { … } static int v_recv_cmd_submit(struct vudc *udc, struct usbip_header *pdu) { … } static int v_rx_pdu(struct usbip_device *ud) { … } int v_rx_loop(void *data) { … }