|
miniOS
x86_64 hobby kernel with SMP, VFS, and POSIX process model
|
#include <netdev.h>
Public Attributes | |
| int(* | open )(struct net_device *dev) |
| int(* | poll )(struct net_device *dev) |
| int(* | xmit )(struct net_device *dev, const void *frame, size_t frame_len) |
| int(* | get_mac )(struct net_device *dev, uint8_t mac_out[6]) |
| bool(* | get_link )(struct net_device *dev) |
| bool(* netdev_ops_t::get_link) (struct net_device *dev) |
| int(* netdev_ops_t::get_mac) (struct net_device *dev, uint8_t mac_out[6]) |
| int(* netdev_ops_t::open) (struct net_device *dev) |
| int(* netdev_ops_t::poll) (struct net_device *dev) |
| int(* netdev_ops_t::xmit) (struct net_device *dev, const void *frame, size_t frame_len) |