C++ common classes
General purpose classes for use across projects (Apache license)
icmp.h File Reference

Go to the source code of this file.

Classes

struct  iphdr
struct  _ihdr
struct  _i_LSRR

Defines

#define ICMP_ECHOREPLY   0
#define ICMP_UNREACH   3
#define ICMP_SOURCEQUENCH   4
#define ICMP_REDIRECT   5
#define ICMP_ECHO   8
#define ICMP_ROUTERADVERT   9
#define ICMP_ROUTERSOLICIT   10
#define ICMP_TIMXCEED   11
#define ICMP_PARAMPROB   12
#define ICMP_TSTAMP   13
#define ICMP_TSTAMPREPLY   14
#define ICMP_IREQ   15
#define ICMP_IREQREPLY   16
#define ICMP_MASKREQ   17
#define ICMP_MASKREPLY   18
#define ICMP_MAXTYPE   18
#define ICMP_UNREACH_NET   0
#define ICMP_UNREACH_HOST   1
#define ICMP_UNREACH_PROTOCOL   2
#define ICMP_UNREACH_PORT   3
#define ICMP_UNREACH_NEEDFRAG   4
#define ICMP_UNREACH_SRCFAIL   5
#define ICMP_UNREACH_NET_UNKNOWN   6
#define ICMP_UNREACH_HOST_UNKNOWN   7
#define ICMP_UNREACH_ISOLATED   8
#define ICMP_UNREACH_NET_PROHIB   9
#define ICMP_UNREACH_HOST_PROHIB   10
#define ICMP_UNREACH_TOSNET   11
#define ICMP_UNREACH_TOSHOST   12
#define ICMP_REDIRECT_NET   0
#define ICMP_REDIRECT_HOST   1
#define ICMP_REDIRECT_TOSNET   2
#define ICMP_REDIRECT_TOSHOST   3
#define ICMP_TIMXCEED_INTRANS   0
#define ICMP_TIMXCEED_REASS   1
#define ICMP_PARAMPROB_OPTABSENT   1
#define ICMP_RESPONSE_TOOFEW   -1
#define ICMP_RESPONSE_NONECHO   -2
#define ICMP_RESPONSE_INVID   -3
#define PING_RESPONSE_SUCCESS   1000
#define PING_RESPONSE_TIMEOUT   1001
#define PING_RESPONSE_ERROR   1002
#define PING_RESPONSE_TRACING   1003
#define PING_RESPONSE_CANCELLED   1004
#define PING_RESPONSE_UNREACHABLE   1005
#define PING_RESPONSE_SOURCEROUTEFAIL   1006
#define ICMP_PACKET_MIN   8
#define IP_PACKET_MIN   64
#define ICMP_RETURNED_DATA   8
#define PING_COUNT   3
#define DATA_PORTION_SIZE   32

Typedefs

typedef struct iphdr IpHeader
typedef struct _ihdr IcmpHeader
typedef struct _i_LSRR IPLooseRoute

Define Documentation

#define DATA_PORTION_SIZE   32

Definition at line 79 of file icmp.h.

#define ICMP_ECHO   8

Definition at line 24 of file icmp.h.

#define ICMP_ECHOREPLY   0

Definition at line 20 of file icmp.h.

#define ICMP_IREQ   15

Definition at line 31 of file icmp.h.

#define ICMP_IREQREPLY   16

Definition at line 32 of file icmp.h.

#define ICMP_MASKREPLY   18

Definition at line 34 of file icmp.h.

#define ICMP_MASKREQ   17

Definition at line 33 of file icmp.h.

#define ICMP_MAXTYPE   18

Definition at line 35 of file icmp.h.

#define ICMP_PACKET_MIN   8

Definition at line 74 of file icmp.h.

#define ICMP_PARAMPROB   12

Definition at line 28 of file icmp.h.

#define ICMP_PARAMPROB_OPTABSENT   1

Definition at line 60 of file icmp.h.

#define ICMP_REDIRECT   5

Definition at line 23 of file icmp.h.

#define ICMP_REDIRECT_HOST   1

Definition at line 54 of file icmp.h.

#define ICMP_REDIRECT_NET   0

Definition at line 53 of file icmp.h.

#define ICMP_REDIRECT_TOSHOST   3

Definition at line 56 of file icmp.h.

#define ICMP_REDIRECT_TOSNET   2

Definition at line 55 of file icmp.h.

#define ICMP_RESPONSE_INVID   -3

Definition at line 64 of file icmp.h.

#define ICMP_RESPONSE_NONECHO   -2

Definition at line 63 of file icmp.h.

#define ICMP_RESPONSE_TOOFEW   -1

Definition at line 62 of file icmp.h.

#define ICMP_RETURNED_DATA   8

Definition at line 76 of file icmp.h.

#define ICMP_ROUTERADVERT   9

Definition at line 25 of file icmp.h.

#define ICMP_ROUTERSOLICIT   10

Definition at line 26 of file icmp.h.

#define ICMP_SOURCEQUENCH   4

Definition at line 22 of file icmp.h.

#define ICMP_TIMXCEED   11

Definition at line 27 of file icmp.h.

#define ICMP_TIMXCEED_INTRANS   0

Definition at line 58 of file icmp.h.

#define ICMP_TIMXCEED_REASS   1

Definition at line 59 of file icmp.h.

#define ICMP_TSTAMP   13

Definition at line 29 of file icmp.h.

#define ICMP_TSTAMPREPLY   14

Definition at line 30 of file icmp.h.

#define ICMP_UNREACH   3

Definition at line 21 of file icmp.h.

#define ICMP_UNREACH_HOST   1

Definition at line 40 of file icmp.h.

#define ICMP_UNREACH_HOST_PROHIB   10

Definition at line 49 of file icmp.h.

#define ICMP_UNREACH_HOST_UNKNOWN   7

Definition at line 46 of file icmp.h.

#define ICMP_UNREACH_ISOLATED   8

Definition at line 47 of file icmp.h.

#define ICMP_UNREACH_NEEDFRAG   4

Definition at line 43 of file icmp.h.

#define ICMP_UNREACH_NET   0

Definition at line 39 of file icmp.h.

#define ICMP_UNREACH_NET_PROHIB   9

Definition at line 48 of file icmp.h.

#define ICMP_UNREACH_NET_UNKNOWN   6

Definition at line 45 of file icmp.h.

#define ICMP_UNREACH_PORT   3

Definition at line 42 of file icmp.h.

#define ICMP_UNREACH_PROTOCOL   2

Definition at line 41 of file icmp.h.

#define ICMP_UNREACH_SRCFAIL   5

Definition at line 44 of file icmp.h.

#define ICMP_UNREACH_TOSHOST   12

Definition at line 51 of file icmp.h.

#define ICMP_UNREACH_TOSNET   11

Definition at line 50 of file icmp.h.

#define IP_PACKET_MIN   64

Definition at line 75 of file icmp.h.

#define PING_COUNT   3

Definition at line 78 of file icmp.h.

#define PING_RESPONSE_CANCELLED   1004

Definition at line 70 of file icmp.h.

#define PING_RESPONSE_ERROR   1002

Definition at line 68 of file icmp.h.

#define PING_RESPONSE_SOURCEROUTEFAIL   1006

Definition at line 72 of file icmp.h.

#define PING_RESPONSE_SUCCESS   1000

Definition at line 66 of file icmp.h.

#define PING_RESPONSE_TIMEOUT   1001

Definition at line 67 of file icmp.h.

#define PING_RESPONSE_TRACING   1003

Definition at line 69 of file icmp.h.

#define PING_RESPONSE_UNREACHABLE   1005

Definition at line 71 of file icmp.h.


Typedef Documentation

typedef struct _ihdr IcmpHeader
typedef struct iphdr IpHeader
typedef struct _i_LSRR IPLooseRoute
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines