57 "<interface> <server type>" );
69 unsigned int pxe_type;
86 printf (
"Could not discover boot server on %s: %s\n",
int parse_integer(char *text, unsigned int *value)
Parse integer value.
struct arbelprm_rc_send_wqe rc
int printf(const char *fmt,...)
Write a formatted string to the console.
int optind
Current option index.
static struct option_descriptor pxebs_opts[]
"pxebs" option list
int parse_options(int argc, char **argv, struct command_descriptor *cmd, void *opts)
Parse command-line options.
int ifconf_exec(int argc, char **argv)
The "ifconf" command.
Parse command-line options.
static struct net_device * netdev
struct command dhcp_commands [] __command
DHCP management commands.
char * strerror(int errno)
Retrieve string representation of error number.
Command line option parsing.
const char * name
Name of the command.
Network device management.
char name[NETDEV_NAME_LEN]
Name of this network device.
A command-line option descriptor.
#define COMMAND_DESC(_struct, _options, _min_args, _max_args, _usage)
Construct command descriptor.
static int pxebs_exec(int argc, char **argv)
The "pxebs" command.
static union @438 opts
"cert<xxx>" option list
static struct command_descriptor pxebs_cmd
"pxebs" command descriptor
int pxebs(struct net_device *netdev, unsigned int pxe_type)
int parse_netdev(char *text, struct net_device **netdev)
Parse network device name.
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)