net.sourceforge.jpcap.net
Interface ICMPMessages

All Known Implementing Classes:
ICMPMessage

public interface ICMPMessages

Code constants for ICMP message types.

Taken from tcpdump/print-icmp.c


Field Summary
static int ECHO
          Echo request.
static int ECHO_REPLY
          Echo reply.
static int IREQ
          information request
static int IREQ_REPLY
          information reply
static int MASK_REPLY
          address mask reply
static int MASK_REQ
          address mask request
static int PARAM_PROB
          ip header bad
static int REDIRECT
          Shorter route.
static int ROUTER_ADVERT
          router advertisement
static int ROUTER_SOLICIT
          router solicitation
static int SOURCE_QUENCH
          Packet lost, slow down.
static int TIME_EXCEED
          time exceeded
static int TSTAMP
          timestamp request
static int TSTAMP_REPLY
          timestamp reply
static int UNREACH
          Destination unreachable.
 

Field Detail

ECHO_REPLY

public static final int ECHO_REPLY
Echo reply.

UNREACH

public static final int UNREACH
Destination unreachable.

SOURCE_QUENCH

public static final int SOURCE_QUENCH
Packet lost, slow down.

REDIRECT

public static final int REDIRECT
Shorter route.

ECHO

public static final int ECHO
Echo request.

ROUTER_ADVERT

public static final int ROUTER_ADVERT
router advertisement

ROUTER_SOLICIT

public static final int ROUTER_SOLICIT
router solicitation

TIME_EXCEED

public static final int TIME_EXCEED
time exceeded

PARAM_PROB

public static final int PARAM_PROB
ip header bad

TSTAMP

public static final int TSTAMP
timestamp request

TSTAMP_REPLY

public static final int TSTAMP_REPLY
timestamp reply

IREQ

public static final int IREQ
information request

IREQ_REPLY

public static final int IREQ_REPLY
information reply

MASK_REQ

public static final int MASK_REQ
address mask request

MASK_REPLY

public static final int MASK_REPLY
address mask reply