/dev/net/usbeth/top
From WiiBrew
This is the interface to the Nintendo USB Ethernet adapter. It presents an interface similar (identical?) to /dev/net/wd/top.
| Ioctl | Inputs | Outputs | Function |
|---|---|---|---|
| 0x20001 | 1 (0x28 bytes, a struct iobuffer) | 0 | Transmit packet |
| 0x20002 | 0 | 0 | net_dev_up |
| 0x20003 | 0 | 0 | net_dev_down |
| 0x20004 | 1 (0x20 bytes?) | 0 | seems to always fail??? |
| 0x20005 | 1 (6 bytes?) | 1 | set MAC address |
| 0x20006 | 0 | 1 (6 bytes?) | get MAC address |

