iPXE
Data Fields
aoe_command_type Struct Reference

An AoE command type. More...

Data Fields

size_t(* cmd_len )(struct aoe_command *aoecmd)
 Calculate length of AoE command IU.
void(* cmd )(struct aoe_command *aoecmd, void *data, size_t len)
 Build AoE command IU.
int(* rsp )(struct aoe_command *aoecmd, const void *data, size_t len, const void *ll_source)
 Handle AoE response IU.

Detailed Description

An AoE command type.

Definition at line 124 of file aoe.c.


Field Documentation

Calculate length of AoE command IU.

Parameters:
aoecmdAoE command
Return values:
lenLength of command IU

Definition at line 131 of file aoe.c.

Referenced by aoecmd_tx().

Build AoE command IU.

Parameters:
aoecmdAoE command
dataCommand IU
lenLength of command IU

Definition at line 139 of file aoe.c.

Referenced by aoecmd_tx().

int( * aoe_command_type::rsp)(struct aoe_command *aoecmd, const void *data, size_t len, const void *ll_source)

Handle AoE response IU.

Parameters:
aoecmdAoE command
dataResponse IU
lenLength of response IU
ll_sourceLink-layer source address
Return values:
rcReturn status code

Definition at line 149 of file aoe.c.

Referenced by aoecmd_rx().


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