miniOS
x86_64 hobby kernel with SMP, VFS, and POSIX process model
Loading...
Searching...
No Matches
netdev.c File Reference
Include dependency graph for netdev.c:

Functions

bool ethernet_frame_info_parse (const void *frame, size_t frame_len, ethernet_frame_info_t *info_out)
void net_init (void)
int netdev_register (netdev_t *dev)
netdev_tnetdev_first (void)
void netdev_poll_all (void)

Variables

static netdev_tg_net_devices [NET_MAX_DEVICES]
static uint32_t g_net_device_count

Function Documentation

◆ ethernet_frame_info_parse()

bool ethernet_frame_info_parse ( const void * frame,
size_t frame_len,
ethernet_frame_info_t * info_out )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ net_init()

void net_init ( void )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ netdev_first()

netdev_t * netdev_first ( void )
Here is the caller graph for this function:

◆ netdev_poll_all()

void netdev_poll_all ( void )
Here is the caller graph for this function:

◆ netdev_register()

int netdev_register ( netdev_t * dev)
Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ g_net_device_count

uint32_t g_net_device_count
static

◆ g_net_devices

netdev_t* g_net_devices[NET_MAX_DEVICES]
static