iPXE
|
A block of non-volatile stored options. More...
#include <nvo.h>
Data Fields | |
struct settings | settings |
Settings block. More... | |
struct nvs_device * | nvs |
Underlying non-volatile storage device. More... | |
unsigned int | address |
Address within NVS device. More... | |
size_t | len |
Length of options data. More... | |
void * | data |
Option-containing data. More... | |
int(* | resize )(struct nvo_block *nvo, size_t len) |
Resize non-volatile stored option block. More... | |
struct dhcp_options | dhcpopts |
DHCP options block. More... | |
struct settings nvo_block::settings |
Settings block.
Definition at line 24 of file nvo.h.
Referenced by nvo_init(), register_nvo(), and unregister_nvo().
struct nvs_device* nvo_block::nvs |
Underlying non-volatile storage device.
Definition at line 26 of file nvo.h.
Referenced by efab_probe(), efab_remove(), nvo_init(), nvo_load(), nvo_save(), nvs_vpd_nvo_resize(), realtek_probe(), and realtek_remove().
unsigned int nvo_block::address |
Address within NVS device.
Definition at line 28 of file nvo.h.
Referenced by nvo_init(), nvo_load(), nvo_save(), and nvs_vpd_nvo_resize().
size_t nvo_block::len |
Length of options data.
Definition at line 30 of file nvo.h.
Referenced by nvo_checksum(), nvo_init(), nvo_load(), nvo_realloc(), nvo_save(), and register_nvo().
void* nvo_block::data |
Option-containing data.
Definition at line 32 of file nvo.h.
Referenced by nvo_checksum(), nvo_load(), nvo_realloc(), and nvo_save().
Resize non-volatile stored option block.
nvo | Non-volatile options block |
len | New size |
rc | Return status code |
Definition at line 40 of file nvo.h.
Referenced by nvo_init(), and nvo_realloc_dhcpopt().
struct dhcp_options nvo_block::dhcpopts |
DHCP options block.
Definition at line 42 of file nvo.h.
Referenced by nvo_fetch(), nvo_init(), nvo_load(), nvo_realloc(), nvo_realloc_dhcpopt(), and nvo_store().