simnet
Class ICMP_Packet

java.lang.Object
  extended bysimnet.Packet
      extended bysimnet.ICMP_Packet
All Implemented Interfaces:
java.io.Serializable

public class ICMP_Packet
extends Packet
implements java.io.Serializable

A packet for the ICMP protocol.

See Also:
Serialized Form

Field Summary
 int code
          ICMP code
 Packet data
          ICMP data
 int identifier
          ICMP identifier
 int seq
          ICMP sequence
 int type
          ICMP type
 
Fields inherited from class simnet.Packet
cached_size, id
 
Constructor Summary
ICMP_Packet()
          Instantiates an ICMP_Packet object
 
Methods inherited from class simnet.Packet
getSize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

type

public int type
ICMP type


code

public int code
ICMP code


identifier

public int identifier
ICMP identifier


seq

public int seq
ICMP sequence


data

public Packet data
ICMP data

Constructor Detail

ICMP_Packet

public ICMP_Packet()
Instantiates an ICMP_Packet object