All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class jpcap.ICMPPacket

java.lang.Object
   |
   +----jpcap.Packet
           |
           +----jpcap.IPPacket
                   |
                   +----jpcap.ICMPPacket

public class ICMPPacket
extends IPPacket
ICMP??????????????


Variable Index

 o addr_entry_size
????????????????
 o addr_num
????????????????
 o alive_time
????????
 o checksum
??????
 o code
ICMP???
 o ICMP_ECHO
echo request
 o ICMP_ECHOREPLY
echo reply
 o ICMP_IREQ
information request
 o ICMP_IREQREPLY
information reply
 o ICMP_MASKREPLY
address mask reply
 o ICMP_MASKREQ
address mask request
 o ICMP_PARAMPROB
ip header bad
 o ICMP_PARAMPROB_ERRATPTR
ip header bad code: error at param ptr
 o ICMP_PARAMPROB_LENGTH
ip header bad code: bad length
 o ICMP_PARAMPROB_OPTABSENT
ip header bad code: req.
 o ICMP_REDIRECT
redirect
 o ICMP_REDIRECT_HOST
redirect code: for host
 o ICMP_REDIRECT_NET
redirect code: for network
 o ICMP_REDIRECT_TOSHOST
redirect code: for tos and host
 o ICMP_REDIRECT_TOSNET
redirect code: for tos and net
 o ICMP_ROUTERADVERT
router advertisement
 o ICMP_ROUTERSOLICIT
router solicitation
 o ICMP_SOURCEQUENCH
packet lost, slow down
 o ICMP_TIMXCEED
time exceeded
 o ICMP_TIMXCEED_INTRANS
time exceeded code: ttl==0 in transit
 o ICMP_TIMXCEED_REASS
time exceeded code: ttl==0 in reass
 o ICMP_TSTAMP
timestamp request
 o ICMP_TSTAMPREPLY
timestamp reply
 o ICMP_UNREACH
dest unreachable
 o ICMP_UNREACH_FILTER_PROHIB
dest unreachable code: admin prohib
 o ICMP_UNREACH_HOST
dest unreachable code: bad host
 o ICMP_UNREACH_HOST_PRECEDENCE
dest unreachable code: host prec vio.
 o ICMP_UNREACH_HOST_PROHIB
dest unreachable code: ditto
 o ICMP_UNREACH_HOST_UNKNOWN
dest unreachable code: unknown host
 o ICMP_UNREACH_ISOLATED
dest unreachable code: src host isolated
 o ICMP_UNREACH_NEEDFRAG
dest unreachable code: IP_DF caused drop
 o ICMP_UNREACH_NET
dest unreachable code: bad net
 o ICMP_UNREACH_NET_PROHIB
dest unreachable code: prohibited access
 o ICMP_UNREACH_NET_UNKNOWN
dest unreachable code: unknown net
 o ICMP_UNREACH_PORT
dest unreachable code: bad port
 o ICMP_UNREACH_PRECEDENCE_CUTOFF
dest unreachable code: prec cutoff
 o ICMP_UNREACH_PROTOCOL
dest unreachable code: bad protocol
 o ICMP_UNREACH_SRCFAIL
dest unreachable code: src route failed
 o ICMP_UNREACH_TOSHOST
dest unreachable code: bad tos for host
 o ICMP_UNREACH_TOSNET
dest unreachable code: bad tos for net
 o id
ID
 o ippacket
?????IP???
 o mtu
MTU
 o orig_timestamp
????????????
 o preference
???????
 o recv_timestamp
????????????
 o redir_ip
???????????
 o router_ip
?????????
 o seq
???????
 o subnetmask
???????
 o trans_timestamp
????????????
 o type
ICMP???

Constructor Index

 o ICMPPacket()

Method Index

 o toString()
???????????????????

?Ž®?type(type) code(code)

Variables

 o ICMP_ECHOREPLY
 public static final short ICMP_ECHOREPLY
echo reply

 o ICMP_UNREACH
 public static final short ICMP_UNREACH
dest unreachable

 o ICMP_UNREACH_NET
 public static final short ICMP_UNREACH_NET
dest unreachable code: bad net

 o ICMP_UNREACH_HOST
 public static final short ICMP_UNREACH_HOST
dest unreachable code: bad host

 o ICMP_UNREACH_PROTOCOL
 public static final short ICMP_UNREACH_PROTOCOL
dest unreachable code: bad protocol

 o ICMP_UNREACH_PORT
 public static final short ICMP_UNREACH_PORT
dest unreachable code: bad port

 o ICMP_UNREACH_NEEDFRAG
 public static final short ICMP_UNREACH_NEEDFRAG
dest unreachable code: IP_DF caused drop

 o ICMP_UNREACH_SRCFAIL
 public static final short ICMP_UNREACH_SRCFAIL
dest unreachable code: src route failed

 o ICMP_UNREACH_NET_UNKNOWN
 public static final short ICMP_UNREACH_NET_UNKNOWN
dest unreachable code: unknown net

 o ICMP_UNREACH_HOST_UNKNOWN
 public static final short ICMP_UNREACH_HOST_UNKNOWN
dest unreachable code: unknown host

 o ICMP_UNREACH_ISOLATED
 public static final short ICMP_UNREACH_ISOLATED
dest unreachable code: src host isolated

 o ICMP_UNREACH_NET_PROHIB
 public static final short ICMP_UNREACH_NET_PROHIB
dest unreachable code: prohibited access

 o ICMP_UNREACH_HOST_PROHIB
 public static final short ICMP_UNREACH_HOST_PROHIB
dest unreachable code: ditto

 o ICMP_UNREACH_TOSNET
 public static final short ICMP_UNREACH_TOSNET
dest unreachable code: bad tos for net

 o ICMP_UNREACH_TOSHOST
 public static final short ICMP_UNREACH_TOSHOST
dest unreachable code: bad tos for host

 o ICMP_UNREACH_FILTER_PROHIB
 public static final short ICMP_UNREACH_FILTER_PROHIB
dest unreachable code: admin prohib

 o ICMP_UNREACH_HOST_PRECEDENCE
 public static final short ICMP_UNREACH_HOST_PRECEDENCE
dest unreachable code: host prec vio.

 o ICMP_UNREACH_PRECEDENCE_CUTOFF
 public static final short ICMP_UNREACH_PRECEDENCE_CUTOFF
dest unreachable code: prec cutoff

 o ICMP_SOURCEQUENCH
 public static final short ICMP_SOURCEQUENCH
packet lost, slow down

 o ICMP_REDIRECT
 public static final short ICMP_REDIRECT
redirect

 o ICMP_REDIRECT_NET
 public static final short ICMP_REDIRECT_NET
redirect code: for network

 o ICMP_REDIRECT_HOST
 public static final short ICMP_REDIRECT_HOST
redirect code: for host

 o ICMP_REDIRECT_TOSNET
 public static final short ICMP_REDIRECT_TOSNET
redirect code: for tos and net

 o ICMP_REDIRECT_TOSHOST
 public static final short ICMP_REDIRECT_TOSHOST
redirect code: for tos and host

 o ICMP_ECHO
 public static final short ICMP_ECHO
echo request

 o ICMP_ROUTERADVERT
 public static final short ICMP_ROUTERADVERT
router advertisement

 o ICMP_ROUTERSOLICIT
 public static final short ICMP_ROUTERSOLICIT
router solicitation

 o ICMP_TIMXCEED
 public static final short ICMP_TIMXCEED
time exceeded

 o ICMP_TIMXCEED_INTRANS
 public static final short ICMP_TIMXCEED_INTRANS
time exceeded code: ttl==0 in transit

 o ICMP_TIMXCEED_REASS
 public static final short ICMP_TIMXCEED_REASS
time exceeded code: ttl==0 in reass

 o ICMP_PARAMPROB
 public static final short ICMP_PARAMPROB
ip header bad

 o ICMP_PARAMPROB_ERRATPTR
 public static final short ICMP_PARAMPROB_ERRATPTR
ip header bad code: error at param ptr

 o ICMP_PARAMPROB_OPTABSENT
 public static final short ICMP_PARAMPROB_OPTABSENT
ip header bad code: req. opt. absent

 o ICMP_PARAMPROB_LENGTH
 public static final short ICMP_PARAMPROB_LENGTH
ip header bad code: bad length

 o ICMP_TSTAMP
 public static final short ICMP_TSTAMP
timestamp request

 o ICMP_TSTAMPREPLY
 public static final short ICMP_TSTAMPREPLY
timestamp reply

 o ICMP_IREQ
 public static final short ICMP_IREQ
information request

 o ICMP_IREQREPLY
 public static final short ICMP_IREQREPLY
information reply

 o ICMP_MASKREQ
 public static final short ICMP_MASKREQ
address mask request

 o ICMP_MASKREPLY
 public static final short ICMP_MASKREPLY
address mask reply

 o type
 public byte type
ICMP???

 o code
 public byte code
ICMP???

 o checksum
 public short checksum
??????

 o id
 public int id
ID

 o seq
 public int seq
???????

 o subnetmask
 public int subnetmask
???????

 o orig_timestamp
 public long orig_timestamp
????????????

 o recv_timestamp
 public long recv_timestamp
????????????

 o trans_timestamp
 public long trans_timestamp
????????????

 o mtu
 public short mtu
MTU

 o ippacket
 public IPPacket ippacket
?????IP???

 o redir_ip
 public IPAddress redir_ip
???????????

 o addr_num
 public byte addr_num
????????????????

 o addr_entry_size
 public byte addr_entry_size
????????????????

 o alive_time
 public short alive_time
????????

 o router_ip
 public IPAddress router_ip[]
?????????

 o preference
 public int preference[]
???????

Constructors

 o ICMPPacket
 public ICMPPacket()

Methods

 o toString
 public String toString()
???????????????????

?Ž®?type(type) code(code)

Overrides:
toString in class IPPacket

All Packages  Class Hierarchy  This Package  Previous  Next  Index