iPXE
|
VLAN commands. More...
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <getopt.h>
#include <ipxe/netdevice.h>
#include <ipxe/command.h>
#include <ipxe/parseopt.h>
#include <ipxe/vlan.h>
Go to the source code of this file.
Data Structures | |
struct | vcreate_options |
"vcreate" options More... | |
struct | vdestroy_options |
"vdestroy" options More... | |
Functions | |
FILE_LICENCE (GPL2_OR_LATER_OR_UBDL) | |
static int | vcreate_exec (int argc, char **argv) |
"vcreate" command More... | |
static int | vdestroy_exec (int argc, char **argv) |
"vdestroy" command More... | |
Variables | |
static struct option_descriptor | vcreate_opts [] |
"vcreate" option list More... | |
static struct command_descriptor | vcreate_cmd |
"vcreate" command descriptor More... | |
static struct option_descriptor | vdestroy_opts [] = {} |
"vdestroy" option list More... | |
static struct command_descriptor | vdestroy_cmd |
"vdestroy" command descriptor More... | |
struct command vlan_commands [] | __command |
VLAN commands. More... | |
VLAN commands.
Definition in file vlan_cmd.c.
FILE_LICENCE | ( | GPL2_OR_LATER_OR_UBDL | ) |
|
static |
"vcreate" command
argc | Argument count |
argv | Argument list |
rc | Return status code |
Definition at line 69 of file vlan_cmd.c.
References optind, opts, parse_netdev(), parse_options(), printf(), rc, strerror(), vcreate_cmd, and vlan_create().
|
static |
"vdestroy" command
argc | Argument count |
argv | Argument list |
rc | Return status code |
Definition at line 110 of file vlan_cmd.c.
References netdev, optind, opts, parse_netdev(), parse_options(), printf(), rc, strerror(), vdestroy_cmd, and vlan_destroy().
|
static |
"vcreate" option list
Definition at line 50 of file vlan_cmd.c.
|
static |
"vcreate" command descriptor
Definition at line 58 of file vlan_cmd.c.
Referenced by vcreate_exec().
|
static |
"vdestroy" option list
Definition at line 96 of file vlan_cmd.c.
|
static |
"vdestroy" command descriptor
Definition at line 99 of file vlan_cmd.c.
Referenced by vdestroy_exec().
struct command vlan_commands [] __command |
VLAN commands.
Definition at line 134 of file vlan_cmd.c.