#ifndef __USBIP_STUB_H
#define __USBIP_STUB_H
#include <linux/list.h>
#include <linux/slab.h>
#include <linux/spinlock.h>
#include <linux/types.h>
#include <linux/usb.h>
#include <linux/wait.h>
#define STUB_BUSID_OTHER …
#define STUB_BUSID_REMOV …
#define STUB_BUSID_ADDED …
#define STUB_BUSID_ALLOC …
struct stub_device { … };
struct stub_priv { … };
struct stub_unlink { … };
#define BUSID_SIZE …
struct bus_id_priv { … };
extern struct kmem_cache *stub_priv_cache;
extern struct usb_device_driver stub_driver;
struct bus_id_priv *get_busid_priv(const char *busid);
void put_busid_priv(struct bus_id_priv *bid);
int del_match_busid(char *busid);
void stub_free_priv_and_urb(struct stub_priv *priv);
void stub_device_cleanup_urbs(struct stub_device *sdev);
int stub_rx_loop(void *data);
void stub_enqueue_ret_unlink(struct stub_device *sdev, __u32 seqnum,
__u32 status);
void stub_complete(struct urb *urb);
int stub_tx_loop(void *data);
#endif