home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Usenet 1994 October
/
usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso
/
misc
/
volume32
/
xv_ping
/
part01
/
hping.h
< prev
next >
Wrap
Text File
|
1992-09-28
|
464b
|
23 lines
/*
* File: hping.h
*
* Authors: Jim Hayes (original)
* George V. Neville-Neil (added functionality)
*
* Function: This is the .h file for the hping routines.
*
*/
#define PING_COUNT_ERROR -1
#define PING_UNKNOWN_HOST -2
#define PING_TOO_BIG -3
#define PING_ICMP_UNKNOWN -4
#define PING_BAD_SOCKET -5
#define PING_CANT_SEND -6
#define PING_TOO_SMALL -7
#define PING_TOO_SHORT -8
#define BLOCKING -9
#define BIGPACKET 1024
#define SMALLPACKET 56