iPXE
Data Fields
ifcommon_command_descriptor Struct Reference

An "if<xxx>" command descriptor. More...

#include <ifmgmt_cmd.h>

Data Fields

struct command_descriptor cmd
 Command descriptor. More...
 
int(* payload )(struct net_device *netdev, void *opts)
 Payload. More...
 
int stop_on_first_success
 Stop on first success. More...
 

Detailed Description

An "if<xxx>" command descriptor.

Definition at line 34 of file ifmgmt_cmd.h.

Field Documentation

◆ cmd

struct command_descriptor ifcommon_command_descriptor::cmd

Command descriptor.

Definition at line 36 of file ifmgmt_cmd.h.

Referenced by ifcommon_exec().

◆ payload

int( * ifcommon_command_descriptor::payload) (struct net_device *netdev, void *opts)

Payload.

Parameters
netdevNetwork device
optsCommand options
Return values
rcReturn status code

Definition at line 43 of file ifmgmt_cmd.h.

Referenced by ifcommon_exec().

◆ stop_on_first_success

int ifcommon_command_descriptor::stop_on_first_success

Stop on first success.

Definition at line 45 of file ifmgmt_cmd.h.

Referenced by ifcommon_exec().


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