|
iPXE
|
NTP commands. More...
#include <stdio.h>#include <string.h>#include <getopt.h>#include <ipxe/command.h>#include <ipxe/parseopt.h>#include <usr/ntpmgmt.h>Go to the source code of this file.
Data Structures | |
| struct | ntp_options |
| "ntp" options More... | |
Functions | |
| FILE_LICENCE (GPL2_OR_LATER_OR_UBDL) | |
| static int | ntp_exec (int argc, char **argv) |
| "ntp" command More... | |
| COMMAND (ntp, ntp_exec) | |
| NTP command. More... | |
Variables | |
| static struct option_descriptor | ntp_opts [] = {} |
| "ntp" option list More... | |
| static struct command_descriptor | ntp_cmd |
| "ntp" command descriptor More... | |
NTP commands.
Definition in file ntp_cmd.c.
| FILE_LICENCE | ( | GPL2_OR_LATER_OR_UBDL | ) |
|
static |
"ntp" command
| argc | Argument count |
| argv | Argument list |
| rc | Return status code |
Definition at line 56 of file ntp_cmd.c.
References ntp(), ntp_cmd, optind, opts, parse_options(), printf(), rc, and strerror().
|
static |
|
static |
"ntp" command descriptor
Definition at line 46 of file ntp_cmd.c.
Referenced by ntp_exec().
1.8.15