iPXE
|
DHCP management commands. More...
#include <stdio.h>
#include <stdint.h>
#include <stdlib.h>
#include <errno.h>
#include <stddef.h>
#include <string.h>
#include <assert.h>
#include <getopt.h>
#include <ipxe/netdevice.h>
#include <ipxe/in.h>
#include <ipxe/command.h>
#include <ipxe/parseopt.h>
#include <usr/dhcpmgmt.h>
#include <hci/ifmgmt_cmd.h>
Go to the source code of this file.
Data Structures | |
struct | pxebs_options |
"pxebs" options More... | |
Functions | |
FILE_LICENCE (GPL2_OR_LATER_OR_UBDL) | |
static int | pxebs_exec (int argc, char **argv) |
The "pxebs" command. More... | |
Variables | |
static struct option_descriptor | pxebs_opts [] = {} |
"pxebs" option list More... | |
static struct command_descriptor | pxebs_cmd |
"pxebs" command descriptor More... | |
struct command dhcp_commands [] | __command |
DHCP management commands. More... | |
DHCP management commands.
Definition in file dhcp_cmd.c.
FILE_LICENCE | ( | GPL2_OR_LATER_OR_UBDL | ) |
|
static |
The "pxebs" command.
argc | Argument count |
argv | Argument list |
rc | Return status code |
Definition at line 66 of file dhcp_cmd.c.
References net_device::name, netdev, optind, opts, parse_integer(), parse_netdev(), parse_options(), printf(), pxebs(), pxebs_cmd, rc, and strerror().
|
static |
"pxebs" option list
Definition at line 52 of file dhcp_cmd.c.
|
static |
"pxebs" command descriptor
Definition at line 55 of file dhcp_cmd.c.
Referenced by pxebs_exec().
struct command dhcp_commands [] __command |
DHCP management commands.
Definition at line 95 of file dhcp_cmd.c.