Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
vhci_driver.c File Reference
#include "usbip_common.h"
#include "vhci_driver.h"

Go to the source code of this file.

Macros

#define PROGNAME   "libusbip"
 

Functions

int usbip_vhci_driver_open (void)
 
void usbip_vhci_driver_close ()
 
int usbip_vhci_refresh_device_list (void)
 
int usbip_vhci_get_free_port (void)
 
int usbip_vhci_attach_device2 (uint8_t port, int sockfd, uint32_t devid, uint32_t speed)
 
int usbip_vhci_attach_device (uint8_t port, int sockfd, uint8_t busnum, uint8_t devnum, uint32_t speed)
 
int usbip_vhci_detach_device (uint8_t port)
 

Variables

struct usbip_vhci_drivervhci_driver
 

Macro Definition Documentation

#define PROGNAME   "libusbip"

Definition at line 9 of file vhci_driver.c.

Function Documentation

int usbip_vhci_attach_device ( uint8_t  port,
int  sockfd,
uint8_t  busnum,
uint8_t  devnum,
uint32_t  speed 
)

Definition at line 498 of file vhci_driver.c.

int usbip_vhci_attach_device2 ( uint8_t  port,
int  sockfd,
uint32_t  devid,
uint32_t  speed 
)

Definition at line 464 of file vhci_driver.c.

int usbip_vhci_detach_device ( uint8_t  port)

Definition at line 506 of file vhci_driver.c.

void usbip_vhci_driver_close ( void  )

Definition at line 397 of file vhci_driver.c.

int usbip_vhci_driver_open ( void  )

Definition at line 337 of file vhci_driver.c.

int usbip_vhci_get_free_port ( void  )

Definition at line 454 of file vhci_driver.c.

int usbip_vhci_refresh_device_list ( void  )

Definition at line 418 of file vhci_driver.c.

Variable Documentation

struct usbip_vhci_driver* vhci_driver

Definition at line 11 of file vhci_driver.c.