|
ArvernOS
|
Data Fields | |
| uint16_t | type |
The hardware type (see ARP_HTYPE_* values kernel/net/arp.h). | |
| const char | name [50] |
| The name of the driver. | |
| net_interface_t * | interface |
| The interface bound to this driver. | |
| uint8_t *(* | get_mac_address )() |
| This function returns the MAC address of the device. | |
| void(* | transmit )(uint8_t *data, uint32_t len) |
| This function is used to transmit data. | |