|
miniOS
x86_64 hobby kernel with SMP, VFS, and POSIX process model
|
#include <netdev.h>

Public Attributes | |
| char | name [8] |
| uint8_t | mac [6] |
| uint16_t | mtu |
| bool | link_up |
| void * | driver_data |
| net_rx_handler_t | rx_handler |
| void * | rx_handler_ctx |
| const netdev_ops_t * | ops |
| struct { | |
| uint64_t rx_packets | |
| uint64_t rx_dropped | |
| uint64_t tx_packets | |
| uint64_t tx_dropped | |
| uint64_t rx_bytes | |
| uint64_t tx_bytes | |
| } | stats |
| void* net_device::driver_data |
| bool net_device::link_up |
| uint8_t net_device::mac[6] |
| uint16_t net_device::mtu |
| char net_device::name[8] |
| const netdev_ops_t* net_device::ops |
| uint64_t net_device::rx_bytes |
| uint64_t net_device::rx_dropped |
| net_rx_handler_t net_device::rx_handler |
| void* net_device::rx_handler_ctx |
| uint64_t net_device::rx_packets |
| struct { ... } net_device::stats |
| uint64_t net_device::tx_bytes |
| uint64_t net_device::tx_dropped |
| uint64_t net_device::tx_packets |