#include <string.h>
#include <unistd.h>
#include <stdio.h>
#include <usb.h>
Go to the source code of this file.
|
| 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) |
| |
| 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 |
|
) |
| |