|
iPXE
|
Loopback testing 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/if_ether.h>#include <usr/lotest.h>Go to the source code of this file.
Data Structures | |
| struct | lotest_options |
| "lotest" options More... | |
Functions | |
| FILE_LICENCE (GPL2_OR_LATER_OR_UBDL) | |
| static int | lotest_exec (int argc, char **argv) |
| "lotest" command More... | |
| COMMAND (lotest, lotest_exec) | |
| Loopback testing commands. More... | |
Variables | |
| static struct option_descriptor | lotest_opts [] |
| "lotest" option list More... | |
| static struct command_descriptor | lotest_cmd |
| "lotest" command descriptor More... | |
Loopback testing commands.
Definition in file lotest_cmd.c.
| FILE_LICENCE | ( | GPL2_OR_LATER_OR_UBDL | ) |
|
static |
"lotest" command
| argc | Argument count |
| argv | Argument list |
| rc | Return status code |
Definition at line 70 of file lotest_cmd.c.
References ETH_MAX_MTU, loopback_test(), lotest_cmd, optind, opts, parse_netdev(), parse_options(), printf(), rc, sender, and strerror().
| COMMAND | ( | lotest | , |
| lotest_exec | |||
| ) |
Loopback testing commands.
|
static |
"lotest" option list
Definition at line 51 of file lotest_cmd.c.
|
static |
"lotest" command descriptor
Definition at line 59 of file lotest_cmd.c.
Referenced by lotest_exec().
1.8.15