iPXE
Data Fields
nvo_block Struct Reference

A block of non-volatile stored options. More...

#include <nvo.h>

Data Fields

struct settings settings
 Settings block. More...
 
struct nvs_devicenvs
 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...
 

Detailed Description

A block of non-volatile stored options.

Definition at line 22 of file nvo.h.

Field Documentation

◆ settings

struct settings nvo_block::settings

Settings block.

Definition at line 24 of file nvo.h.

Referenced by nvo_init(), register_nvo(), and unregister_nvo().

◆ nvs

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().

◆ address

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().

◆ len

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().

◆ data

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

int( * nvo_block::resize) (struct nvo_block *nvo, size_t len)

Resize non-volatile stored option block.

Parameters
nvoNon-volatile options block
lenNew size
Return values
rcReturn status code

Definition at line 40 of file nvo.h.

Referenced by nvo_init(), and nvo_realloc_dhcpopt().

◆ dhcpopts

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().


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