void pxe_activate(struct net_device *netdev)
Activate PXE stack.
struct arbelprm_rc_send_wqe rc
int parse_options(int argc, char **argv, struct command_descriptor *cmd, void *opts)
Parse command-line options.
An "if<xxx>" command descriptor.
static struct ifcommon_command_descriptor startpxe_cmd
"startpxe" command descriptor
static int stoppxe_exec(int argc __unused, char **argv __unused)
The "stoppxe" command.
static int netdev_is_open(struct net_device *netdev)
Check whether or not network device is open.
int pxe_deactivate(void)
Deactivate PXE stack.
#define __unused
Declare a variable or data structure as unused.
#define MAX_ARGUMENTS
No maximum number of arguments.
static struct net_device * netdev
static int startpxe_payload(struct net_device *netdev, struct startpxe_options *opts __unused)
"startpxe" payload
static struct command_descriptor stoppxe_cmd
"stoppxe" command descriptor
struct command pxe_commands [] __command
PXE commands.
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)
Command line option parsing.
const char * name
Name of the command.
Network device management.
int ifcommon_exec(int argc, char **argv, struct ifcommon_command_descriptor *ifcmd)
Execute if<xxx> command.
A command-line option descriptor.
static struct option_descriptor stoppxe_opts[]
"stoppxe" option list
static int startpxe_exec(int argc, char **argv)
The "startpxe" command.
#define COMMAND_DESC(_struct, _options, _min_args, _max_args, _usage)
Construct command descriptor.
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.
#define NULL
NULL pointer (VOID *)
static struct option_descriptor startpxe_opts[]
"startpxe" option list