📄 jpcap.ippacket.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.IPPacket</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.IPAddress.html#_top_">Previous</a> <a href="jpcap.IPv6Option.html#_top_">Next</a> <a href="AllNames.html">Index</a></pre><hr><h1> Class jpcap.IPPacket</h1><pre>java.lang.Object | +----<a href="jpcap.Packet.html#_top_">jpcap.Packet</a> | +----jpcap.IPPacket</pre><hr><dl> <dt> public class <b>IPPacket</b> <dt> extends <a href="jpcap.Packet.html#_top_">Packet</a></dl>IP???????????????<P> v4/v6???????????????B<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="#d_flag"><b>d_flag</b></a> <dd> IP?????? [D]elay ???????? (v4) <dt> <img src="images/magenta-ball-small.gif" width=6 height=6 alt=" o "> <a href="#dont_frag"><b>dont_frag</b></a> <dd> ??????????? (v4) <dt> <img src="images/magenta-ball-small.gif" width=6 height=6 alt=" o "> <a href="#dst_ip"><b>dst_ip</b></a> <dd> ???IP???? <dt> <img src="images/magenta-ball-small.gif" width=6 height=6 alt=" o "> <a href="#flow_label"><b>flow_label</b></a> <dd> ?????? (v6) <dt> <img src="images/magenta-ball-small.gif" width=6 height=6 alt=" o "> <a href="#hop_limit"><b>hop_limit</b></a> <dd> ?????? (?Time To Live) (v4/v6) <dt> <img src="images/magenta-ball-small.gif" width=6 height=6 alt=" o "> <a href="#ident"><b>ident</b></a> <dd> IDENTIFICATION (v4) <dt> <img src="images/magenta-ball-small.gif" width=6 height=6 alt=" o "> <a href="#length"><b>length</b></a> <dd> ????? (v4/v6) <dt> <img src="images/magenta-ball-small.gif" width=6 height=6 alt=" o "> <a href="#more_frag"><b>more_frag</b></a> <dd> ?????????????? (v4) <dt> <img src="images/magenta-ball-small.gif" width=6 height=6 alt=" o "> <a href="#offset"><b>offset</b></a> <dd> ??????????? (v4) <dt> <img src="images/magenta-ball-small.gif" width=6 height=6 alt=" o "> <a href="#options"><b>options</b></a> <dd> ???????? (v6) <dt> <img src="images/magenta-ball-small.gif" width=6 height=6 alt=" o "> <a href="#priority"><b>priority</b></a> <dd> ??????????(???) (v4/v6) <dt> <img src="images/magenta-ball-small.gif" width=6 height=6 alt=" o "> <a href="#protocol"><b>protocol</b></a> <dd> ?????????? (v4/v6) <dt> <img src="images/magenta-ball-small.gif" width=6 height=6 alt=" o "> <a href="#r_flag"><b>r_flag</b></a> <dd> IP??????[R]eliability ?????? (v4) <dt> <img src="images/magenta-ball-small.gif" width=6 height=6 alt=" o "> <a href="#rsv_frag"><b>rsv_frag</b></a> <dd> ??????????? (v4) <dt> <img src="images/magenta-ball-small.gif" width=6 height=6 alt=" o "> <a href="#src_ip"><b>src_ip</b></a> <dd> ???IP???? <dt> <img src="images/magenta-ball-small.gif" width=6 height=6 alt=" o "> <a href="#t_flag"><b>t_flag</b></a> <dd> IP??????[T]hrough ????????? (v4) <dt> <img src="images/magenta-ball-small.gif" width=6 height=6 alt=" o "> <a href="#version"><b>version</b></a> <dd> IP?????? (v4/v6)</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="#IPPacket()"><b>IPPacket</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="#setIPv4Parameter(int, boolean, boolean, boolean, boolean, boolean, boolean, int, int, int, int, jpcap.IPAddress, jpcap.IPAddress)"><b>setIPv4Parameter</b></a>(int, boolean, boolean, boolean, boolean, boolean, boolean, int, int, int, int, IPAddress, IPAddress) <dd> IPv4??????????????????? <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o "> <a href="#setIPv6Parameter(int, int, int, int, jpcap.IPAddress, jpcap.IPAddress)"><b>setIPv6Parameter</b></a>(int, int, int, int, IPAddress, IPAddress) <dd> IPv6??????????????????? <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o "> <a href="#toString()"><b>toString</b></a>() <dd> ??????????????????<P> ?幃(IPv4): src_ip->dst_ip protocol(protocol) priority(priority) [D][T][R] hop(hop_limit) [RF/][DF/][MF] offset(offset) ident(ident)<P> ?幃(IPv6): src_ip->dst_ip protocol(protocol) priority(priority) flowlabel(flow_label) hop(hop_limit)</dl><a name="variables"></a><h2> <img src="images/variables.gif" width=153 height=38 alt="Variables"></h2><a name="version"><img src="images/magenta-ball.gif" width=12 height=12 alt=" o "></a><b>version</b><pre> public byte version</pre><dl> <dd> IP?????? (v4/v6)<p></dl><a name="priority"><img src="images/magenta-ball.gif" width=12 height=12 alt=" o "></a><b>priority</b><pre> public byte priority</pre><dl> <dd> ??????????(???) (v4/v6)<p></dl><a name="d_flag"><img src="images/magenta-ball.gif" width=12 height=12 alt=" o "></a><b>d_flag</b><pre> public boolean d_flag</pre><dl> <dd> IP?????? [D]elay ???????? (v4)<p></dl><a name="t_flag"><img src="images/magenta-ball.gif" width=12 height=12 alt=" o "></a><b>t_flag</b><pre> public boolean t_flag</pre><dl> <dd> IP??????[T]hrough ????????? (v4)<p></dl><a name="r_flag"><img src="images/magenta-ball.gif" width=12 height=12 alt=" o "></a><b>r_flag</b><pre> public boolean r_flag</pre><dl> <dd> IP??????[R]eliability ?????? (v4)<p></dl><a name="length"><img src="images/magenta-ball.gif" width=12 height=12 alt=" o "></a><b>length</b><pre> public short length</pre><dl> <dd> ????? (v4/v6)<p></dl><a name="rsv_frag"><img src="images/magenta-ball.gif" width=12 height=12 alt=" o "></a><b>rsv_frag</b><pre> public boolean rsv_frag</pre><dl> <dd> ??????????? (v4)<p></dl><a name="dont_frag"><img src="images/magenta-ball.gif" width=12 height=12 alt=" o "></a><b>dont_frag</b><pre> public boolean dont_frag</pre><dl> <dd> ??????????? (v4)<p></dl><a name="more_frag"><img src="images/magenta-ball.gif" width=12 height=12 alt=" o "></a><b>more_frag</b><pre> public boolean more_frag</pre><dl> <dd> ?????????????? (v4)<p></dl><a name="offset"><img src="images/magenta-ball.gif" width=12 height=12 alt=" o "></a><b>offset</b><pre> public short offset</pre><dl> <dd> ??????????? (v4)<p></dl><a name="hop_limit"><img src="images/magenta-ball.gif" width=12 height=12 alt=" o "></a><b>hop_limit</b><pre> public short hop_limit</pre><dl> <dd> ?????? (?Time To Live) (v4/v6)<p></dl><a name="protocol"><img src="images/magenta-ball.gif" width=12 height=12 alt=" o "></a><b>protocol</b><pre> public short protocol</pre><dl> <dd> ?????????? (v4/v6)<p></dl><a name="ident"><img src="images/magenta-ball.gif" width=12 height=12 alt=" o "></a><b>ident</b><pre> public int ident</pre><dl> <dd> IDENTIFICATION (v4)<p></dl><a name="flow_label"><img src="images/magenta-ball.gif" width=12 height=12 alt=" o "></a><b>flow_label</b><pre> public int flow_label</pre><dl> <dd> ?????? (v6)<p></dl><a name="src_ip"><img src="images/magenta-ball.gif" width=12 height=12 alt=" o "></a><b>src_ip</b><pre> public <a href="jpcap.IPAddress.html#_top_">IPAddress</a> src_ip</pre><dl> <dd> ???IP????<p></dl><a name="dst_ip"><img src="images/magenta-ball.gif" width=12 height=12 alt=" o "></a><b>dst_ip</b><pre> public <a href="jpcap.IPAddress.html#_top_">IPAddress</a> dst_ip</pre><dl> <dd> ???IP????<p></dl><a name="options"><img src="images/magenta-ball.gif" width=12 height=12 alt=" o "></a><b>options</b><pre> public Vector options</pre><dl> <dd> ???????? (v6)<p></dl><a name="constructors"></a><h2> <img src="images/constructors.gif" width=231 height=38 alt="Constructors"></h2><a name="IPPacket"></a><a name="IPPacket()"><img src="images/yellow-ball.gif" width=12 height=12 alt=" o "></a><b>IPPacket</b><pre> public IPPacket()</pre><a name="methods"></a><h2> <img src="images/methods.gif" width=151 height=38 alt="Methods"></h2><a name="setIPv4Parameter(int, boolean, boolean, boolean, boolean, boolean, boolean, int, int, int, int, jpcap.IPAddress, jpcap.IPAddress)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="setIPv4Parameter"><b>setIPv4Parameter</b></a><pre> public void setIPv4Parameter(int priority, boolean d_flag, boolean t_flag, boolean r_flag, boolean rsv_frag, boolean dont_frag, boolean more_frag, int offset, int ident, int ttl, int protocol, <a href="jpcap.IPAddress.html#_top_">IPAddress</a> src, <a href="jpcap.IPAddress.html#_top_">IPAddress</a> dst)</pre><dl> <dd> IPv4???????????????????<p> <dd><dl> <dt> <b>Parameters:</b> <dd> priority - ??? <dd> d_flag,t_flag,r_flag - Delay, Through, Realiability??? <dd> rsv_frag - ??????????? <dd> dont_frag - ??????????? <dd> more_frag - ??????????? <dd> offset - ????? <dd> ident - 幆?? <dd> ttl - Time To Live <dd> protocol - ??????? (???C??????(eg. TCPPacket)????????????l????????) <dd> src - ???IP???? <dd> dst - ???IP???? </dl></dd></dl><a name="setIPv6Parameter(int, int, int, int, jpcap.IPAddress, jpcap.IPAddress)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="setIPv6Parameter"><b>setIPv6Parameter</b></a><pre> public void setIPv6Parameter(int cls, int flowlabel, int nxt_hdr, int hop_limit, <a href="jpcap.IPAddress.html#_top_">IPAddress</a> src, <a href="jpcap.IPAddress.html#_top_">IPAddress</a> dst)</pre><dl> <dd> IPv6???????????????????<p> <dd><dl> <dt> <b>Parameters:</b> <dd> class - ??? <dd> flow_label - ?????? <dd> nxt_hdr - ???? <dd> hop_limit - ?????? <dd> src - ??????? <dd> dst - ??????? </dl></dd></dl><a name="toString()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="toString"><b>toString</b></a><pre> public String toString()</pre><dl> <dd> ??????????????????<P> ?幃(IPv4): src_ip->dst_ip protocol(protocol) priority(priority) [D][T][R] hop(hop_limit) [RF/][DF/][MF] offset(offset) ident(ident)<P> ?幃(IPv6): src_ip->dst_ip protocol(protocol) priority(priority) flowlabel(flow_label) hop(hop_limit)<p> <dd><dl> <dt> <b>Overrides:</b> <dd> <a href="jpcap.Packet.html#toString()">toString</a> in class <a href="jpcap.Packet.html#_top_">Packet</a> </dl></dd></dl><hr><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.IPAddress.html#_top_">Previous</a> <a href="jpcap.IPv6Option.html#_top_">Next</a> <a href="AllNames.html">Index</a></pre></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -