|
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... | |
| COMMAND (vcreate, vcreate_exec) | |
| VLAN commands. More... | |
| COMMAND (vdestroy, vdestroy_exec) | |
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... | |
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().
| COMMAND | ( | vcreate | , |
| vcreate_exec | |||
| ) |
VLAN commands.
| COMMAND | ( | vdestroy | , |
| vdestroy_exec | |||
| ) |
|
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().
1.8.15