You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

pinger.h 490B

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