diff options
Diffstat (limited to 'qemu/roms/ipxe/src/include/ipxe/pinger.h')
-rw-r--r-- | qemu/roms/ipxe/src/include/ipxe/pinger.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/qemu/roms/ipxe/src/include/ipxe/pinger.h b/qemu/roms/ipxe/src/include/ipxe/pinger.h new file mode 100644 index 000000000..9932df6b0 --- /dev/null +++ b/qemu/roms/ipxe/src/include/ipxe/pinger.h @@ -0,0 +1,24 @@ +#ifndef _IPXE_PINGER_H +#define _IPXE_PINGER_H + +/** @file + * + * ICMP ping sender + * + */ + +FILE_LICENCE ( GPL2_OR_LATER ); + +#include <stdint.h> +#include <ipxe/interface.h> +#include <ipxe/socket.h> + +extern int create_pinger ( struct interface *job, const char *hostname, + unsigned long timeout, size_t len, + unsigned int count, + void ( * callback ) ( struct sockaddr *peer, + unsigned int sequence, + size_t len, + int rc ) ); + +#endif /* _IPXE_PINGER_H */ |