miniOS
x86_64 hobby kernel with SMP, VFS, and POSIX process model
Loading...
Searching...
No Matches
netdev_ops_t Struct Reference

#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)

Member Data Documentation

◆ get_link

bool(*) netdev_ops_t::get_link(struct net_device *dev)

◆ get_mac

int(*) netdev_ops_t::get_mac(struct net_device *dev, uint8_t mac_out[6])

◆ open

int(*) netdev_ops_t::open(struct net_device *dev)

◆ poll

int(*) netdev_ops_t::poll(struct net_device *dev)

◆ xmit

int(*) netdev_ops_t::xmit(struct net_device *dev, const void *frame, size_t frame_len)

The documentation for this struct was generated from the following file: