iPXE
Data Fields
efi_path_setting Struct Reference

An EFI device path setting. More...

Data Fields

const struct settingsetting
 Setting. More...
 
int(* fetch )(struct efi_path_setting *pathset, EFI_DEVICE_PATH_PROTOCOL *path, void *data, size_t len)
 Fetch setting. More...
 
uint8_t type
 Path type. More...
 
uint8_t subtype
 Path subtype. More...
 
uint8_t offset
 Offset within device path. More...
 
uint8_t len
 Length (if fixed) More...
 

Detailed Description

An EFI device path setting.

Definition at line 58 of file efi_path.c.

Field Documentation

◆ setting

const struct setting* efi_path_setting::setting

Setting.

Definition at line 60 of file efi_path.c.

Referenced by efi_path_fetch(), and efi_path_fetch_dns().

◆ fetch

int( * efi_path_setting::fetch) (struct efi_path_setting *pathset, EFI_DEVICE_PATH_PROTOCOL *path, void *data, size_t len)

Fetch setting.

Parameters
pathsetPath setting
pathDevice path
dataBuffer to fill with setting data
lenLength of buffer
Return values
lenLength of setting data, or negative error

Definition at line 70 of file efi_path.c.

Referenced by efi_path_fetch().

◆ type

uint8_t efi_path_setting::type

Path type.

Definition at line 74 of file efi_path.c.

Referenced by efi_path_fetch().

◆ subtype

uint8_t efi_path_setting::subtype

Path subtype.

Definition at line 76 of file efi_path.c.

Referenced by efi_path_fetch().

◆ offset

uint8_t efi_path_setting::offset

Offset within device path.

Definition at line 78 of file efi_path.c.

Referenced by efi_path_fetch_dns(), and efi_path_fetch_fixed().

◆ len

uint8_t efi_path_setting::len

Length (if fixed)

Definition at line 80 of file efi_path.c.

Referenced by efi_path_fetch_dns(), and efi_path_fetch_fixed().


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