net.sourceforge.jpcap.net
Interface ICMPMessages

All Known Implementing Classes:
ICMPMessage

public interface ICMPMessages

Code constants for ICMP message types. Taken originally 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 LAST_MAJOR_CODE
           
static int MASK_REPLY
          address mask reply
static int MASK_REQ
          address mask request
static int PARAM_PROB
          ip header bad; option absent.
static int REDIRECT_HOST
          Shorter route to host.
static int REDIRECT_NET
          Shorter route to network.
static int REDIRECT_TOSHOST
          Shorter route for TOS and host.
static int REDIRECT_TOSNET
          Shorter route for TOS and network.
static int ROUTER_ADVERT
          router advertisement
static int ROUTER_SOLICIT
          router solicitation
static int SOURCE_QUENCH
          Packet lost, slow down.
static int TIME_EXCEED_INTRANS
          time exceeded in transit.
static int TIME_EXCEED_REASS
          time exceeded in reass.
static int TSTAMP
          timestamp request
static int TSTAMP_REPLY
          timestamp reply
static int UNREACH_HOST
          Destination host unreachable.
static int UNREACH_HOST_PROHIB
          Host access prohibited.
static int UNREACH_HOST_UNKNOWN
          Unknown host.
static int UNREACH_ISOLATED
          Src host isolated.
static int UNREACH_NEEDFRAG
          IP_DF caused drop.
static int UNREACH_NET
          Destination network unreachable.
static int UNREACH_NET_PROHIB
          Network access prohibited.
static int UNREACH_NET_UNKNOWN
          Unknown network.
static int UNREACH_PORT
          Bad port.
static int UNREACH_PROTOCOL
          Bad protocol.
static int UNREACH_SRCFAIL
          Src route failed.
static int UNREACH_TOSHOST
          Bad TOS for host.
static int UNREACH_TOSNET
          Bad TOS for net.
 

Field Detail

ECHO_REPLY

public static final int ECHO_REPLY
Echo reply.

See Also:
Constant Field Values

UNREACH_NET

public static final int UNREACH_NET
Destination network unreachable.

See Also:
Constant Field Values

UNREACH_HOST

public static final int UNREACH_HOST
Destination host unreachable.

See Also:
Constant Field Values

UNREACH_PROTOCOL

public static final int UNREACH_PROTOCOL
Bad protocol.

See Also:
Constant Field Values

UNREACH_PORT

public static final int UNREACH_PORT
Bad port.

See Also:
Constant Field Values

UNREACH_NEEDFRAG

public static final int UNREACH_NEEDFRAG
IP_DF caused drop.

See Also:
Constant Field Values

UNREACH_SRCFAIL

public static final int UNREACH_SRCFAIL
Src route failed.

See Also:
Constant Field Values

UNREACH_NET_UNKNOWN

public static final int UNREACH_NET_UNKNOWN
Unknown network.

See Also:
Constant Field Values

UNREACH_HOST_UNKNOWN

public static final int UNREACH_HOST_UNKNOWN
Unknown host.

See Also:
Constant Field Values

UNREACH_ISOLATED

public static final int UNREACH_ISOLATED
Src host isolated.

See Also:
Constant Field Values

UNREACH_NET_PROHIB

public static final int UNREACH_NET_PROHIB
Network access prohibited.

See Also:
Constant Field Values

UNREACH_HOST_PROHIB

public static final int UNREACH_HOST_PROHIB
Host access prohibited.

See Also:
Constant Field Values

UNREACH_TOSNET

public static final int UNREACH_TOSNET
Bad TOS for net.

See Also:
Constant Field Values

UNREACH_TOSHOST

public static final int UNREACH_TOSHOST
Bad TOS for host.

See Also:
Constant Field Values

SOURCE_QUENCH

public static final int SOURCE_QUENCH
Packet lost, slow down.

See Also:
Constant Field Values

REDIRECT_NET

public static final int REDIRECT_NET
Shorter route to network.

See Also:
Constant Field Values

REDIRECT_HOST

public static final int REDIRECT_HOST
Shorter route to host.

See Also:
Constant Field Values

REDIRECT_TOSNET

public static final int REDIRECT_TOSNET
Shorter route for TOS and network.

See Also:
Constant Field Values

REDIRECT_TOSHOST

public static final int REDIRECT_TOSHOST
Shorter route for TOS and host.

See Also:
Constant Field Values

ECHO

public static final int ECHO
Echo request.

See Also:
Constant Field Values

ROUTER_ADVERT

public static final int ROUTER_ADVERT
router advertisement

See Also:
Constant Field Values

ROUTER_SOLICIT

public static final int ROUTER_SOLICIT
router solicitation

See Also:
Constant Field Values

TIME_EXCEED_INTRANS

public static final int TIME_EXCEED_INTRANS
time exceeded in transit.

See Also:
Constant Field Values

TIME_EXCEED_REASS

public static final int TIME_EXCEED_REASS
time exceeded in reass.

See Also:
Constant Field Values

PARAM_PROB

public static final int PARAM_PROB
ip header bad; option absent.

See Also:
Constant Field Values

TSTAMP

public static final int TSTAMP
timestamp request

See Also:
Constant Field Values

TSTAMP_REPLY

public static final int TSTAMP_REPLY
timestamp reply

See Also:
Constant Field Values

IREQ

public static final int IREQ
information request

See Also:
Constant Field Values

IREQ_REPLY

public static final int IREQ_REPLY
information reply

See Also:
Constant Field Values

MASK_REQ

public static final int MASK_REQ
address mask request

See Also:
Constant Field Values

MASK_REPLY

public static final int MASK_REPLY
address mask reply

See Also:
Constant Field Values

LAST_MAJOR_CODE

public static final int LAST_MAJOR_CODE
See Also:
Constant Field Values