|
iPXE
|
ICMP ping management. More...
#include <stdint.h>Go to the source code of this file.
Functions | |
| FILE_LICENCE (GPL2_OR_LATER_OR_UBDL) | |
| FILE_SECBOOT (PERMITTED) | |
| int | ping (const char *hostname, unsigned long timeout, size_t len, unsigned int count, int quiet) |
| Ping a host. | |
ICMP ping management.
Definition in file pingmgmt.h.
| FILE_LICENCE | ( | GPL2_OR_LATER_OR_UBDL | ) |
|
extern |
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 70 of file pingmgmt.c.
References count, create_pinger(), len, monojob, monojob_wait(), NULL, ping_callback(), printf(), rc, strerror(), and timeout().
Referenced by COMMAND(), ping_alloc_iob(), ping_close(), ping_deliver(), ping_demux(), ping_exec(), ping_open(), and ping_rx().