[ping] Add top-level ping() function to ping a host

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown
2013-10-21 14:19:40 +01:00
parent c597c7a071
commit de35167714
2 changed files with 97 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
#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_ms, size_t len );
#endif /* _USR_PINGMGMT_H */