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

#include <netdev.h>

Collaboration diagram for net_device:

Classes

struct  [struct].stats

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  stats

Member Data Documentation

◆ driver_data

void* net_device::driver_data

◆ link_up

bool net_device::link_up

◆ mac

uint8_t net_device::mac[6]

◆ mtu

uint16_t net_device::mtu

◆ name

char net_device::name[8]

◆ ops

const netdev_ops_t* net_device::ops

◆ rx_handler

net_rx_handler_t net_device::rx_handler

◆ rx_handler_ctx

void* net_device::rx_handler_ctx

◆ stats

struct net_device::[struct].stats net_device::stats

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