iPXE
Data Fields
net_driver Struct Reference

A network upper-layer driver. More...

#include <netdevice.h>

Data Fields

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

Detailed Description

A network upper-layer driver.

Definition at line 461 of file netdevice.h.


Field Documentation

const char* net_driver::name

Name.

Definition at line 463 of file netdevice.h.

Referenced by register_netdev().

Probe device.

Parameters:
netdevNetwork device
Return values:
rcReturn status code

Definition at line 469 of file netdevice.h.

Referenced by register_netdev().

Notify of device or link state change.

Parameters:
netdevNetwork device

Definition at line 474 of file netdevice.h.

Referenced by netdev_notify().

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: