#include <asm/byteorder.h>
#include <linux/file.h>
#include <linux/fs.h>
#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/stat.h>
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <net/sock.h>
#include "usbip_common.h"
Go to the source code of this file.
|
| | EXPORT_SYMBOL_GPL (usbip_debug_flag) |
| |
| | module_param (usbip_debug_flag, ulong, S_IRUGO|S_IWUSR) |
| |
| | MODULE_PARM_DESC (usbip_debug_flag,"debug flags (defined in usbip_common.h)") |
| |
| | EXPORT_SYMBOL_GPL (dev_attr_usbip_debug) |
| |
| | DEVICE_ATTR (usbip_debug,(S_IRUGO|S_IWUSR), show_flag, store_flag) |
| |
| void | usbip_dump_urb (struct urb *urb) |
| |
| | EXPORT_SYMBOL_GPL (usbip_dump_urb) |
| |
| void | usbip_dump_header (struct usbip_header *pdu) |
| |
| | EXPORT_SYMBOL_GPL (usbip_dump_header) |
| |
| int | usbip_recv (struct socket *sock, void *buf, int size) |
| |
| | EXPORT_SYMBOL_GPL (usbip_recv) |
| |
| struct socket * | sockfd_to_socket (unsigned int sockfd) |
| |
| | EXPORT_SYMBOL_GPL (sockfd_to_socket) |
| |
| void | usbip_pack_pdu (struct usbip_header *pdu, struct urb *urb, int cmd, int pack) |
| |
| | EXPORT_SYMBOL_GPL (usbip_pack_pdu) |
| |
| void | usbip_header_correct_endian (struct usbip_header *pdu, int send) |
| |
| | EXPORT_SYMBOL_GPL (usbip_header_correct_endian) |
| |
| void * | usbip_alloc_iso_desc_pdu (struct urb *urb, ssize_t *bufflen) |
| |
| | EXPORT_SYMBOL_GPL (usbip_alloc_iso_desc_pdu) |
| |
| int | usbip_recv_iso (struct usbip_device *ud, struct urb *urb) |
| |
| | EXPORT_SYMBOL_GPL (usbip_recv_iso) |
| |
| void | usbip_pad_iso (struct usbip_device *ud, struct urb *urb) |
| |
| | EXPORT_SYMBOL_GPL (usbip_pad_iso) |
| |
| int | usbip_recv_xbuff (struct usbip_device *ud, struct urb *urb) |
| |
| | EXPORT_SYMBOL_GPL (usbip_recv_xbuff) |
| |
| | module_init (usbip_core_init) |
| |
| | module_exit (usbip_core_exit) |
| |
| | MODULE_AUTHOR (DRIVER_AUTHOR) |
| |
| | MODULE_DESCRIPTION (DRIVER_DESC) |
| |
| | MODULE_LICENSE ("GPL") |
| |
| | MODULE_VERSION (USBIP_VERSION) |
| |
| #define DRIVER_DESC "USB/IP Core" |
| DEVICE_ATTR |
( |
usbip_debug |
, |
|
|
(S_IRUGO|S_IWUSR) |
, |
|
|
show_flag |
, |
|
|
store_flag |
|
|
) |
| |
| module_exit |
( |
usbip_core_exit |
| ) |
|
| module_init |
( |
usbip_core_init |
| ) |
|
| unsigned long usbip_debug_flag |