iPXE
pingmgmt.h
Go to the documentation of this file.
1 #ifndef _USR_PINGMGMT_H
2 #define _USR_PINGMGMT_H
3 
4 /** @file
5  *
6  * ICMP ping management
7  *
8  */
9 
10 FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
11 
12 #include <stdint.h>
13 
14 extern int ping ( const char *hostname, unsigned long timeout, size_t len,
15  unsigned int count, int quiet );
16 
17 #endif /* _USR_PINGMGMT_H */
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)
uint32_t len
Length.
Definition: ena.h:14
int ping(const char *hostname, unsigned long timeout, size_t len, unsigned int count, int quiet)
Ping a host.
Definition: pingmgmt.c:69
uint16_t count
Number of entries.
Definition: ena.h:22
void timeout(int)