iPXE
Data Fields
net_driver Struct Reference

A network upper-layer driver. More...

#include <netdevice.h>

Data Fields

const char * name
 Name. More...
 
int(* probe )(struct net_device *netdev)
 Probe device. More...
 
void(* notify )(struct net_device *netdev)
 Notify of device or link state change. More...
 
void(* remove )(struct net_device *netdev)
 Remove device. More...
 

Detailed Description

A network upper-layer driver.

Definition at line 461 of file netdevice.h.

Field Documentation

◆ name

const char* net_driver::name

Name.

Definition at line 463 of file netdevice.h.

Referenced by register_netdev().

◆ probe

int( * net_driver::probe) (struct net_device *netdev)

Probe device.

Parameters
netdevNetwork device
Return values
rcReturn status code

Definition at line 469 of file netdevice.h.

Referenced by register_netdev().

◆ notify

void( * net_driver::notify) (struct net_device *netdev)

Notify of device or link state change.

Parameters
netdevNetwork device

Definition at line 474 of file netdevice.h.

Referenced by netdev_notify().

◆ remove

void( * net_driver::remove) (struct net_device *netdev)

Remove device.

Parameters
netdevNetwork device

Definition at line 479 of file netdevice.h.

Referenced by register_netdev(), and unregister_netdev().


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