IP statistics commands.
More...
#include <stdio.h>
#include <getopt.h>
#include <ipxe/command.h>
#include <ipxe/parseopt.h>
#include <usr/ipstat.h>
Go to the source code of this file.
IP statistics commands.
Definition in file ipstat_cmd.c.
◆ FILE_LICENCE()
| FILE_LICENCE |
( |
GPL2_OR_LATER_OR_UBDL |
| ) |
|
◆ FILE_SECBOOT()
| FILE_SECBOOT |
( |
PERMITTED |
| ) |
|
◆ ipstat_exec()
| static int ipstat_exec |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
|
static |
The "ipstat" command.
- Parameters
-
| argc | Argument count |
| argv | Argument list |
- Return values
-
Definition at line 56 of file ipstat_cmd.c.
struct arbelprm_rc_send_wqe rc
int parse_options(int argc, char **argv, struct command_descriptor *cmd, void *opts)
Parse command-line options.
static struct command_descriptor ipstat_cmd
"ipstat" command descriptor
static union @447 opts
"cert<xxx>" option list
void ipstat(void)
Print TCP/IP statistics.
References ipstat(), ipstat_cmd, opts, parse_options(), and rc.
◆ COMMAND()
Routing table management commands.
◆ ipstat_opts
◆ ipstat_cmd
Initial value:=
static struct option_descriptor ipstat_opts[]
"ipstat" option list
#define COMMAND_DESC(_struct, _options, _min_args, _max_args, _usage)
Construct command descriptor.
#define NULL
NULL pointer (VOID *)
"ipstat" command descriptor
Definition at line 46 of file ipstat_cmd.c.
Referenced by ipstat_exec().