iPXE
bofm_operations Struct Reference

BOFM device operations. More...

#include <bofm.h>

Data Fields

int(* harvest )(struct bofm_device *bofm, unsigned int mport, uint8_t *mac)
 Harvest Ethernet MAC.
int(* update )(struct bofm_device *bofm, unsigned int mport, const uint8_t *mac)
 Update Ethernet MAC.

Detailed Description

BOFM device operations.

Definition at line 296 of file bofm.h.

Field Documentation

◆ harvest

int(* bofm_operations::harvest) (struct bofm_device *bofm, unsigned int mport, uint8_t *mac)

Harvest Ethernet MAC.

Parameters
bofmBOFM device
mportMulti-port index
macMAC to fill in
Return values
rcReturn status code

Definition at line 304 of file bofm.h.

◆ update

int(* bofm_operations::update) (struct bofm_device *bofm, unsigned int mport, const uint8_t *mac)

Update Ethernet MAC.

Parameters
bofmBOFM device
mportMulti-port index
macNew MAC
Return values
rcReturn status code

Definition at line 313 of file bofm.h.


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