david/ipxe
david
/
ipxe
Archived
1
0
Fork 0
This repository has been archived on 2020-12-06. You can view files and clone it, but cannot push or open issues or pull requests.
ipxe/src/include/ipxe/pinger.h

25 lines
490 B
C

#ifndef _IPXE_PINGER_H
#define _IPXE_PINGER_H
/** @file
*
* ICMP ping sender
*
*/
FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
#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 */