iPXE
|
ICMP ping management. More...
#include <stdint.h>
Go to the source code of this file.
Functions | |
FILE_LICENCE (GPL2_OR_LATER_OR_UBDL) | |
int | ping (const char *hostname, unsigned long timeout, size_t len, unsigned int count, int quiet) |
Ping a host. More... | |
ICMP ping management.
Definition in file pingmgmt.h.
FILE_LICENCE | ( | GPL2_OR_LATER_OR_UBDL | ) |
int ping | ( | const char * | hostname, |
unsigned long | timeout, | ||
size_t | len, | ||
unsigned int | count, | ||
int | quiet | ||
) |
Ping a host.
hostname | Hostname |
timeout | Timeout between pings, in ticks |
len | Payload length |
count | Number of packets to send (or zero for no limit) |
quiet | Inhibit output |
rc | Return status code |
Definition at line 69 of file pingmgmt.c.
References count, create_pinger(), len, monojob, monojob_wait(), NULL, ping_callback(), printf(), rc, strerror(), and timeout().
Referenced by ping_close(), ping_deliver(), ping_demux(), ping_exec(), ping_open(), and ping_rx().