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.
struct nvs_devicenvs
 Underlying non-volatile storage device.
unsigned int address
 Address within NVS device.
size_t len
 Length of options data.
void * data
 Option-containing data.
int(* resize )(struct nvo_block *nvo, size_t len)
 Resize non-volatile stored option block.
struct dhcp_options dhcpopts
 DHCP options block.

Detailed Description

A block of non-volatile stored options.

Definition at line 22 of file nvo.h.


Field Documentation

Settings block.

Definition at line 24 of file nvo.h.

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

Underlying non-volatile storage device.

Definition at line 26 of file nvo.h.

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

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

Option-containing data.

Definition at line 32 of file nvo.h.

Referenced by nvo_checksum(), nvo_load(), nvo_realloc(), and nvo_save().

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

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: