1 #ifndef _IPXE_PINGER_H 2 #define _IPXE_PINGER_H 3 4 /** @file 5 * 6 * ICMP ping sender 7 * 8 */ 9 10 FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL ); 11 12 #include <stdint.h> 13 #include <ipxe/interface.h> 14 #include <ipxe/socket.h> 15 16 extern int create_pinger ( struct interface *job, const char *hostname, 17 unsigned long timeout, size_t len, 18 unsigned int count, 19 void ( * callback ) ( struct sockaddr *peer, 20 unsigned int sequence, 21 size_t len, 22 int rc ) ); 23 24 #endif /* _IPXE_PINGER_H */ 25