#include <string.h>
#include <unistd.h>
#include <stdio.h>
#include <usb.h>
Go to the source code of this file.
Defines |
#define | PRODUCT 0x0268 |
#define | USB_DIR_IN 0x80 |
#define | USB_DIR_OUT 0 |
#define | VENDOR 0x054c |
Functions |
void | fatal (char *msg) |
int | main (int argc, char *argv[]) |
void | process_device (int argc, char **argv, struct usb_device *dev, struct usb_config_descriptor *cfg, int itfnum) |
void | set_master (usb_dev_handle *devh, int itfnum, int mac[6]) |
void | show_master (usb_dev_handle *devh, int itfnum) |
Define Documentation
Function Documentation
int main |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |
void process_device |
( |
int |
argc, |
|
|
char ** |
argv, |
|
|
struct usb_device * |
dev, |
|
|
struct usb_config_descriptor * |
cfg, |
|
|
int |
itfnum |
|
) |
| |
void set_master |
( |
usb_dev_handle * |
devh, |
|
|
int |
itfnum, |
|
|
int |
mac[6] |
|
) |
| |