Booting commands.
More...
Go to the source code of this file.
Booting commands.
Definition in file autoboot_cmd.c.
◆ FILE_LICENCE()
| FILE_LICENCE |
( |
GPL2_OR_LATER_OR_UBDL |
| ) |
|
◆ autoboot_payload()
"autoboot" payload
- Parameters
-
| netdev | Network device |
| opts | Command options |
- Return values
-
Definition at line 53 of file autoboot_cmd.c.
int netboot(struct net_device *netdev)
Boot from a network device.
static struct net_device * netdev
References netboot(), and netdev.
◆ autoboot_exec()
| static int autoboot_exec |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
|
static |
"autoboot" command
- Parameters
-
| argc | Argument count |
| argv | Argument list |
- Return values
-
Definition at line 71 of file autoboot_cmd.c.
static struct ifcommon_command_descriptor autoboot_cmd
"autoboot" command descriptor
int ifcommon_exec(int argc, char **argv, struct ifcommon_command_descriptor *ifcmd)
Execute if<xxx> command.
References autoboot_cmd, and ifcommon_exec().
◆ COMMAND()
◆ autoboot_opts
◆ autoboot_cmd
Initial value:=
static struct option_descriptor autoboot_opts[]
"autoboot" option list
#define MAX_ARGUMENTS
No maximum number of arguments.
static int autoboot_payload(struct net_device *netdev, struct autoboot_options *opts __unused)
"autoboot" payload
#define IFCOMMON_COMMAND_DESC(_struct, _options, _min_args, _max_args, _usage, _payload, _stop_on_first_success)
Construct "if<xxx>" command descriptor.
"autoboot" command descriptor
Definition at line 59 of file autoboot_cmd.c.
Referenced by autoboot_exec().