iPXE
Data Fields
acpimac_extractor Struct Reference

An ACPI MAC extraction mechanism. More...

Data Fields

const char * prefix
 Prefix string. More...
 
size_t len
 Encoded MAC length. More...
 
int(* decode )(const char *mac, uint8_t *hw_addr)
 Decode MAC. More...
 

Detailed Description

An ACPI MAC extraction mechanism.

Definition at line 60 of file acpimac.c.

Field Documentation

◆ prefix

const char* acpimac_extractor::prefix

Prefix string.

Definition at line 62 of file acpimac.c.

Referenced by acpimac_extract().

◆ len

size_t acpimac_extractor::len

Encoded MAC length.

Definition at line 64 of file acpimac.c.

Referenced by acpimac_extract().

◆ decode

int( * acpimac_extractor::decode) (const char *mac, uint8_t *hw_addr)

Decode MAC.

Parameters
macEncoded MAC
hw_addrMAC address to fill in
Return values
rcReturn status code

Definition at line 71 of file acpimac.c.

Referenced by acpimac_extract().


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