static struct ifcommon_command_descriptor autoboot_cmd
"autoboot" command descriptor
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)
int netboot(struct net_device *netdev)
Boot from a network device.
An "if<xxx>" command descriptor.
static struct option_descriptor autoboot_opts[]
"autoboot" option list
#define __unused
Declare a variable or data structure as unused.
Parse command-line options.
#define MAX_ARGUMENTS
No maximum number of arguments.
static struct net_device * netdev
Command line option parsing.
const char * name
Name of the command.
Network device management.
static int autoboot_exec(int argc, char **argv)
"autoboot" command
int ifcommon_exec(int argc, char **argv, struct ifcommon_command_descriptor *ifcmd)
Execute if<xxx> command.
A command-line option descriptor.
struct command autoboot_commands [] __command
Booting commands.
static int autoboot_payload(struct net_device *netdev, struct autoboot_options *opts __unused)
"autoboot" payload
static union @438 opts
"cert<xxx>" option list
#define IFCOMMON_COMMAND_DESC(_struct, _options, _min_args, _max_args, _usage, _payload, _stop_on_first_success)
Construct "if<xxx>" command descriptor.