iPXE
pinger.h
Go to the documentation of this file.
00001 #ifndef _IPXE_PINGER_H
00002 #define _IPXE_PINGER_H
00003 
00004 /** @file
00005  *
00006  * ICMP ping sender
00007  *
00008  */
00009 
00010 FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
00011 
00012 #include <stdint.h>
00013 #include <ipxe/interface.h>
00014 #include <ipxe/socket.h>
00015 
00016 extern int create_pinger ( struct interface *job, const char *hostname,
00017                            unsigned long timeout, size_t len,
00018                            unsigned int count,
00019                            void ( * callback ) ( struct sockaddr *peer,
00020                                                  unsigned int sequence,
00021                                                  size_t len,
00022                                                  int rc ) );
00023 
00024 #endif /* _IPXE_PINGER_H */