iPXE
Data Fields
netdev_setting_operation Struct Reference

A network device setting operation. More...

Data Fields

struct settingsetting
 Setting.
int(* store )(struct net_device *netdev, const void *data, size_t len)
 Store setting (or NULL if not supported)
int(* fetch )(struct net_device *netdev, void *data, size_t len)
 Fetch setting.

Detailed Description

A network device setting operation.

Definition at line 255 of file netdev_settings.c.


Field Documentation

Setting.

Definition at line 257 of file netdev_settings.c.

Referenced by netdev_fetch(), and netdev_store().

Store setting (or NULL if not supported)

Parameters:
netdevNetwork device
dataSetting data, or NULL to clear setting
lenLength of setting data
Return values:
rcReturn status code

Definition at line 265 of file netdev_settings.c.

Referenced by netdev_store().

Fetch setting.

Parameters:
netdevNetwork device
dataBuffer to fill with setting data
lenLength of buffer
Return values:
lenLength of setting data, or negative error

Definition at line 274 of file netdev_settings.c.

Referenced by netdev_fetch().


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