5e1fa5cd40
Parsing a timeout value (specified in milliseconds) into an internal timeout value measured in timer ticks is a common operation. Provide a parse_timeout() value to carry out this conversion automatically. Signed-off-by: Michael Brown <mcb30@ipxe.org>
17 lines
255 B
C
17 lines
255 B
C
#ifndef _USR_PINGMGMT_H
|
|
#define _USR_PINGMGMT_H
|
|
|
|
/** @file
|
|
*
|
|
* ICMP ping management
|
|
*
|
|
*/
|
|
|
|
FILE_LICENCE ( GPL2_OR_LATER );
|
|
|
|
#include <stdint.h>
|
|
|
|
extern int ping ( const char *hostname, unsigned long timeout, size_t len );
|
|
|
|
#endif /* _USR_PINGMGMT_H */
|