home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 October / usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso / misc / volume32 / xv_ping / part01 / hping.h < prev    next >
Text File  |  1992-09-28  |  464b  |  23 lines

  1. /*
  2.  * File: hping.h
  3.  *
  4.  * Authors: Jim Hayes (original)
  5.  *          George V. Neville-Neil (added functionality)
  6.  * 
  7.  * Function: This is the .h file for the hping routines.
  8.  *
  9.  */
  10.  
  11. #define PING_COUNT_ERROR -1
  12. #define PING_UNKNOWN_HOST -2
  13. #define PING_TOO_BIG -3
  14. #define PING_ICMP_UNKNOWN -4
  15. #define PING_BAD_SOCKET -5
  16. #define PING_CANT_SEND -6
  17. #define PING_TOO_SMALL -7
  18. #define PING_TOO_SHORT -8
  19. #define BLOCKING -9
  20.  
  21. #define BIGPACKET 1024
  22. #define SMALLPACKET 56
  23.