📄 jpcap.icmppacket.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"><!--NewPage--><html><head><!-- Generated by javadoc on Tue Jul 04 05:58:19 GMT 2000 --><title> Class jpcap.ICMPPacket</title></head><body><a name="_top_"></a><pre><a href="packages.html">All Packages</a> <a href="tree.html">Class Hierarchy</a> <a href="Package-jpcap.html">This Package</a> <a href="jpcap.EthernetPacket.html#_top_">Previous</a> <a href="jpcap.IPAddress.html#_top_">Next</a> <a href="AllNames.html">Index</a></pre><hr><h1> Class jpcap.ICMPPacket</h1><pre>java.lang.Object | +----<a href="jpcap.Packet.html#_top_">jpcap.Packet</a> | +----<a href="jpcap.IPPacket.html#_top_">jpcap.IPPacket</a> | +----jpcap.ICMPPacket</pre><hr><dl> <dt> public class <b>ICMPPacket</b> <dt> extends <a href="jpcap.IPPacket.html#_top_">IPPacket</a></dl>ICMP??????????????<p><hr><a name="index"></a><h2> <img src="images/variable-index.gif" width=207 height=38 alt="Variable Index"></h2><dl> <dt> <img src="images/magenta-ball-small.gif" width=6 height=6 alt=" o "> <a href="#addr_entry_size"><b>addr_entry_size</b></a> <dd> ???????????????? <dt> <img src="images/magenta-ball-small.gif" width=6 height=6 alt=" o "> <a href="#addr_num"><b>addr_num</b></a> <dd> ???????????????? <dt> <img src="images/magenta-ball-small.gif" width=6 height=6 alt=" o "> <a href="#alive_time"><b>alive_time</b></a> <dd> ???????? <dt> <img src="images/magenta-ball-small.gif" width=6 height=6 alt=" o "> <a href="#checksum"><b>checksum</b></a> <dd> ?????? <dt> <img src="images/magenta-ball-small.gif" width=6 height=6 alt=" o "> <a href="#code"><b>code</b></a> <dd> ICMP??? <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o "> <a href="#ICMP_ECHO"><b>ICMP_ECHO</b></a> <dd> echo request <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o "> <a href="#ICMP_ECHOREPLY"><b>ICMP_ECHOREPLY</b></a> <dd> echo reply <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o "> <a href="#ICMP_IREQ"><b>ICMP_IREQ</b></a> <dd> information request <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o "> <a href="#ICMP_IREQREPLY"><b>ICMP_IREQREPLY</b></a> <dd> information reply <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o "> <a href="#ICMP_MASKREPLY"><b>ICMP_MASKREPLY</b></a> <dd> address mask reply <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o "> <a href="#ICMP_MASKREQ"><b>ICMP_MASKREQ</b></a> <dd> address mask request <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o "> <a href="#ICMP_PARAMPROB"><b>ICMP_PARAMPROB</b></a> <dd> ip header bad <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o "> <a href="#ICMP_PARAMPROB_ERRATPTR"><b>ICMP_PARAMPROB_ERRATPTR</b></a> <dd> ip header bad code: error at param ptr <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o "> <a href="#ICMP_PARAMPROB_LENGTH"><b>ICMP_PARAMPROB_LENGTH</b></a> <dd> ip header bad code: bad length <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o "> <a href="#ICMP_PARAMPROB_OPTABSENT"><b>ICMP_PARAMPROB_OPTABSENT</b></a> <dd> ip header bad code: req. <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o "> <a href="#ICMP_REDIRECT"><b>ICMP_REDIRECT</b></a> <dd> redirect <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o "> <a href="#ICMP_REDIRECT_HOST"><b>ICMP_REDIRECT_HOST</b></a> <dd> redirect code: for host <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o "> <a href="#ICMP_REDIRECT_NET"><b>ICMP_REDIRECT_NET</b></a> <dd> redirect code: for network <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o "> <a href="#ICMP_REDIRECT_TOSHOST"><b>ICMP_REDIRECT_TOSHOST</b></a> <dd> redirect code: for tos and host <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o "> <a href="#ICMP_REDIRECT_TOSNET"><b>ICMP_REDIRECT_TOSNET</b></a> <dd> redirect code: for tos and net <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o "> <a href="#ICMP_ROUTERADVERT"><b>ICMP_ROUTERADVERT</b></a> <dd> router advertisement <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o "> <a href="#ICMP_ROUTERSOLICIT"><b>ICMP_ROUTERSOLICIT</b></a> <dd> router solicitation <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o "> <a href="#ICMP_SOURCEQUENCH"><b>ICMP_SOURCEQUENCH</b></a> <dd> packet lost, slow down <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o "> <a href="#ICMP_TIMXCEED"><b>ICMP_TIMXCEED</b></a> <dd> time exceeded <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o "> <a href="#ICMP_TIMXCEED_INTRANS"><b>ICMP_TIMXCEED_INTRANS</b></a> <dd> time exceeded code: ttl==0 in transit <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o "> <a href="#ICMP_TIMXCEED_REASS"><b>ICMP_TIMXCEED_REASS</b></a> <dd> time exceeded code: ttl==0 in reass <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o "> <a href="#ICMP_TSTAMP"><b>ICMP_TSTAMP</b></a> <dd> timestamp request <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o "> <a href="#ICMP_TSTAMPREPLY"><b>ICMP_TSTAMPREPLY</b></a> <dd> timestamp reply <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o "> <a href="#ICMP_UNREACH"><b>ICMP_UNREACH</b></a> <dd> dest unreachable <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o "> <a href="#ICMP_UNREACH_FILTER_PROHIB"><b>ICMP_UNREACH_FILTER_PROHIB</b></a> <dd> dest unreachable code: admin prohib <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o "> <a href="#ICMP_UNREACH_HOST"><b>ICMP_UNREACH_HOST</b></a> <dd> dest unreachable code: bad host <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o "> <a href="#ICMP_UNREACH_HOST_PRECEDENCE"><b>ICMP_UNREACH_HOST_PRECEDENCE</b></a> <dd> dest unreachable code: host prec vio. <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o "> <a href="#ICMP_UNREACH_HOST_PROHIB"><b>ICMP_UNREACH_HOST_PROHIB</b></a> <dd> dest unreachable code: ditto <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o "> <a href="#ICMP_UNREACH_HOST_UNKNOWN"><b>ICMP_UNREACH_HOST_UNKNOWN</b></a> <dd> dest unreachable code: unknown host <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o "> <a href="#ICMP_UNREACH_ISOLATED"><b>ICMP_UNREACH_ISOLATED</b></a> <dd> dest unreachable code: src host isolated <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o "> <a href="#ICMP_UNREACH_NEEDFRAG"><b>ICMP_UNREACH_NEEDFRAG</b></a> <dd> dest unreachable code: IP_DF caused drop <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o "> <a href="#ICMP_UNREACH_NET"><b>ICMP_UNREACH_NET</b></a> <dd> dest unreachable code: bad net <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o "> <a href="#ICMP_UNREACH_NET_PROHIB"><b>ICMP_UNREACH_NET_PROHIB</b></a> <dd> dest unreachable code: prohibited access <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o "> <a href="#ICMP_UNREACH_NET_UNKNOWN"><b>ICMP_UNREACH_NET_UNKNOWN</b></a> <dd> dest unreachable code: unknown net <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o "> <a href="#ICMP_UNREACH_PORT"><b>ICMP_UNREACH_PORT</b></a> <dd> dest unreachable code: bad port <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o "> <a href="#ICMP_UNREACH_PRECEDENCE_CUTOFF"><b>ICMP_UNREACH_PRECEDENCE_CUTOFF</b></a> <dd> dest unreachable code: prec cutoff <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o "> <a href="#ICMP_UNREACH_PROTOCOL"><b>ICMP_UNREACH_PROTOCOL</b></a> <dd> dest unreachable code: bad protocol <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o "> <a href="#ICMP_UNREACH_SRCFAIL"><b>ICMP_UNREACH_SRCFAIL</b></a> <dd> dest unreachable code: src route failed <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o "> <a href="#ICMP_UNREACH_TOSHOST"><b>ICMP_UNREACH_TOSHOST</b></a> <dd> dest unreachable code: bad tos for host <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o "> <a href="#ICMP_UNREACH_TOSNET"><b>ICMP_UNREACH_TOSNET</b></a> <dd> dest unreachable code: bad tos for net <dt> <img src="images/magenta-ball-small.gif" width=6 height=6 alt=" o "> <a href="#id"><b>id</b></a> <dd> ID <dt> <img src="images/magenta-ball-small.gif" width=6 height=6 alt=" o "> <a href="#ippacket"><b>ippacket</b></a> <dd> ?????IP??? <dt> <img src="images/magenta-ball-small.gif" width=6 height=6 alt=" o "> <a href="#mtu"><b>mtu</b></a> <dd> MTU <dt> <img src="images/magenta-ball-small.gif" width=6 height=6 alt=" o "> <a href="#orig_timestamp"><b>orig_timestamp</b></a> <dd> ???????????? <dt> <img src="images/magenta-ball-small.gif" width=6 height=6 alt=" o "> <a href="#preference"><b>preference</b></a> <dd> ??????? <dt> <img src="images/magenta-ball-small.gif" width=6 height=6 alt=" o "> <a href="#recv_timestamp"><b>recv_timestamp</b></a> <dd> ???????????? <dt> <img src="images/magenta-ball-small.gif" width=6 height=6 alt=" o "> <a href="#redir_ip"><b>redir_ip</b></a> <dd> ??????????? <dt> <img src="images/magenta-ball-small.gif" width=6 height=6 alt=" o "> <a href="#router_ip"><b>router_ip</b></a> <dd> ????????? <dt> <img src="images/magenta-ball-small.gif" width=6 height=6 alt=" o "> <a href="#seq"><b>seq</b></a> <dd> ??????? <dt> <img src="images/magenta-ball-small.gif" width=6 height=6 alt=" o "> <a href="#subnetmask"><b>subnetmask</b></a> <dd> ??????? <dt> <img src="images/magenta-ball-small.gif" width=6 height=6 alt=" o "> <a href="#trans_timestamp"><b>trans_timestamp</b></a> <dd> ???????????? <dt> <img src="images/magenta-ball-small.gif" width=6 height=6 alt=" o "> <a href="#type"><b>type</b></a> <dd> ICMP???</dl><h2> <img src="images/constructor-index.gif" width=275 height=38 alt="Constructor Index"></h2><dl> <dt> <img src="images/yellow-ball-small.gif" width=6 height=6 alt=" o "> <a href="#ICMPPacket()"><b>ICMPPacket</b></a>() <dd> </dl><h2> <img src="images/method-index.gif" width=207 height=38 alt="Method Index"></h2><dl> <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o "> <a href="#toString()"><b>toString</b></a>() <dd> ???????????????????<P> ?幃?type(type) code(code)</dl><a name="variables"></a><h2> <img src="images/variables.gif" width=153 height=38 alt="Variables"></h2><a name="ICMP_ECHOREPLY"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a><b>ICMP_ECHOREPLY</b><pre> public static final short ICMP_ECHOREPLY</pre><dl> <dd> echo reply<p></dl><a name="ICMP_UNREACH"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a><b>ICMP_UNREACH</b><pre> public static final short ICMP_UNREACH</pre><dl> <dd> dest unreachable<p></dl><a name="ICMP_UNREACH_NET"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a><b>ICMP_UNREACH_NET</b><pre> public static final short ICMP_UNREACH_NET</pre><dl> <dd> dest unreachable code: bad net<p></dl><a name="ICMP_UNREACH_HOST"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a><b>ICMP_UNREACH_HOST</b><pre> public static final short ICMP_UNREACH_HOST</pre><dl> <dd> dest unreachable code: bad host<p></dl><a name="ICMP_UNREACH_PROTOCOL"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a><b>ICMP_UNREACH_PROTOCOL</b><pre> public static final short ICMP_UNREACH_PROTOCOL</pre><dl> <dd> dest unreachable code: bad protocol<p></dl><a name="ICMP_UNREACH_PORT"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a><b>ICMP_UNREACH_PORT</b><pre> public static final short ICMP_UNREACH_PORT</pre><dl> <dd> dest unreachable code: bad port<p></dl><a name="ICMP_UNREACH_NEEDFRAG"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a><b>ICMP_UNREACH_NEEDFRAG</b><pre> public static final short ICMP_UNREACH_NEEDFRAG</pre><dl> <dd> dest unreachable code: IP_DF caused drop<p></dl><a name="ICMP_UNREACH_SRCFAIL"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a><b>ICMP_UNREACH_SRCFAIL</b><pre> public static final short ICMP_UNREACH_SRCFAIL</pre><dl> <dd> dest unreachable code: src route failed<p></dl><a name="ICMP_UNREACH_NET_UNKNOWN"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a><b>ICMP_UNREACH_NET_UNKNOWN</b><pre> public static final short ICMP_UNREACH_NET_UNKNOWN</pre><dl> <dd> dest unreachable code: unknown net<p></dl><a name="ICMP_UNREACH_HOST_UNKNOWN"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a><b>ICMP_UNREACH_HOST_UNKNOWN</b><pre> public static final short ICMP_UNREACH_HOST_UNKNOWN</pre><dl> <dd> dest unreachable code: unknown host<p></dl><a name="ICMP_UNREACH_ISOLATED"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a><b>ICMP_UNREACH_ISOLATED</b><pre> public static final short ICMP_UNREACH_ISOLATED</pre><dl> <dd> dest unreachable code: src host isolated<p></dl><a name="ICMP_UNREACH_NET_PROHIB"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a><b>ICMP_UNREACH_NET_PROHIB</b><pre> public static final short ICMP_UNREACH_NET_PROHIB</pre><dl> <dd> dest unreachable code: prohibited access<p></dl><a name="ICMP_UNREACH_HOST_PROHIB"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a><b>ICMP_UNREACH_HOST_PROHIB</b><pre> public static final short ICMP_UNREACH_HOST_PROHIB</pre>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -