iPXE
Data Fields
netdev_setting_operation Struct Reference

A network device setting operation. More...

Data Fields

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

Detailed Description

A network device setting operation.

Definition at line 255 of file netdev_settings.c.

Field Documentation

◆ setting

const struct setting* netdev_setting_operation::setting

Setting.

Definition at line 257 of file netdev_settings.c.

◆ store

int( * netdev_setting_operation::store) (struct net_device *netdev, const void *data, size_t len)

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.

◆ fetch

int( * netdev_setting_operation::fetch) (struct net_device *netdev, void *data, size_t len)

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.


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