📄 tcppacket.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd"><!--NewPage--><HTML><HEAD><!-- Generated by javadoc on Thu Sep 14 11:05:11 JST 2000 --><TITLE>: 僋儔僗 TCPPacket</TITLE><LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style"></HEAD><BODY BGCOLOR="white"><!-- ========== START OF NAVBAR ========== --><A NAME="navbar_top"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_top_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3"> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>僷僢働乕僕</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>僋儔僗</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>奒憌僣儕乕</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>旕悇彠 API</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../index-all.html"><FONT CLASS="NavBarFont1"><B>嶕堷</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>僿儖僾</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../jpcap/Packet.html"><B>慜偺僋儔僗</B></A> <A HREF="../jpcap/UDPPacket.html"><B>師偺僋儔僗</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../index.html" TARGET="_top"><B>僼儗乕儉偁傝</B></A> <A HREF="TCPPacket.html" TARGET="_top"><B>僼儗乕儉側偟</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 奣梫: 撪晹僋儔僗 | <A HREF="#field_summary">僼傿乕儖僪</A> | <A HREF="#constructor_summary">僐儞僗僩儔僋僞</A> | <A HREF="#method_summary">儊僜僢僪</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">徻嵶: <A HREF="#field_detail">僼傿乕儖僪</A> | <A HREF="#constructor_detail">僐儞僗僩儔僋僞</A> | <A HREF="#method_detail">儊僜僢僪</A></FONT></TD></TR></TABLE><!-- =========== END OF NAVBAR =========== --><HR><!-- ======== START OF CLASS DATA ======== --><H2><FONT SIZE="-1">jpcap</FONT><BR>僋儔僗 TCPPacket</H2><PRE>java.lang.Object | +--<A HREF="../jpcap/Packet.html">jpcap.Packet</A> | +--<A HREF="../jpcap/IPPacket.html">jpcap.IPPacket</A> | +--<B>jpcap.TCPPacket</B></PRE><HR><DL><DT>public class <B>TCPPacket</B><DT>extends <A HREF="../jpcap/IPPacket.html">IPPacket</A></DL><P>TCP僷働僢僩傪昞尰偡傞僋儔僗偱偡<P><HR><P><!-- ======== INNER CLASS SUMMARY ======== --><!-- =========== FIELD SUMMARY =========== --><A NAME="field_summary"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>僼傿乕儖僪偺奣梫</B></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../jpcap/TCPPacket.html#ack">ack</A></B></CODE><BR> ACK僼儔僌: ACK斣崋僼傿乕儖僪桳岠</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> long</CODE></FONT></TD><TD><CODE><B><A HREF="../jpcap/TCPPacket.html#ack_num">ack_num</A></B></CODE><BR> ACK斣崋</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../jpcap/TCPPacket.html#dst_port">dst_port</A></B></CODE><BR> 憲怣愭億乕僩</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../jpcap/TCPPacket.html#fin">fin</A></B></CODE><BR> FIN僼儔僌: 憲怣廔椆梫媮</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> byte[]</CODE></FONT></TD><TD><CODE><B><A HREF="../jpcap/TCPPacket.html#option">option</A></B></CODE><BR> TCP僆僾僔儑儞</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../jpcap/TCPPacket.html#psh">psh</A></B></CODE><BR> PSH僼儔僌: PUSH乮嫮惂憲怣乯梫媮</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../jpcap/TCPPacket.html#rst">rst</A></B></CODE><BR> RST僼儔僌: 嫮惂愗抐梫媮</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> long</CODE></FONT></TD><TD><CODE><B><A HREF="../jpcap/TCPPacket.html#sequence">sequence</A></B></CODE><BR> 僔乕働儞僗斣崋</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../jpcap/TCPPacket.html#src_port">src_port</A></B></CODE><BR> 憲怣尦億乕僩</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../jpcap/TCPPacket.html#syn">syn</A></B></CODE><BR> SYN僼儔僌: 僔乕働儞僗斣崋偺摨婜梫媮</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../jpcap/TCPPacket.html#urg">urg</A></B></CODE><BR> URG僼儔僌: 嬞媫僨乕僞乮桪愭憲怣梫媮乯</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> short</CODE></FONT></TD><TD><CODE><B><A HREF="../jpcap/TCPPacket.html#urgent_pointer">urgent_pointer</A></B></CODE><BR> 嬞媫億僀儞僞</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../jpcap/TCPPacket.html#window">window</A></B></CODE><BR> 僂傿儞僪僂乮庴怣僶僢僼傽巆傝僶僀僩悢乯</TD></TR></TABLE> <A NAME="fields_inherited_from_class_jpcap.IPPacket"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>僋儔僗 jpcap.<A HREF="../jpcap/IPPacket.html">IPPacket</A> 偐傜宲彸偟偨僼傿乕儖僪</B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../jpcap/IPPacket.html#d_flag">d_flag</A>, <A HREF="../jpcap/IPPacket.html#dont_frag">dont_frag</A>, <A HREF="../jpcap/IPPacket.html#dst_ip">dst_ip</A>, <A HREF="../jpcap/IPPacket.html#flow_label">flow_label</A>, <A HREF="../jpcap/IPPacket.html#hop_limit">hop_limit</A>, <A HREF="../jpcap/IPPacket.html#ident">ident</A>, <A HREF="../jpcap/IPPacket.html#length">length</A>, <A HREF="../jpcap/IPPacket.html#more_frag">more_frag</A>, <A HREF="../jpcap/IPPacket.html#offset">offset</A>, <A HREF="../jpcap/IPPacket.html#options">options</A>, <A HREF="../jpcap/IPPacket.html#priority">priority</A>, <A HREF="../jpcap/IPPacket.html#protocol">protocol</A>, <A HREF="../jpcap/IPPacket.html#r_flag">r_flag</A>, <A HREF="../jpcap/IPPacket.html#rsv_frag">rsv_frag</A>, <A HREF="../jpcap/IPPacket.html#src_ip">src_ip</A>, <A HREF="../jpcap/IPPacket.html#t_flag">t_flag</A>, <A HREF="../jpcap/IPPacket.html#version">version</A></CODE></TD></TR></TABLE> <A NAME="fields_inherited_from_class_jpcap.Packet"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>僋儔僗 jpcap.<A HREF="../jpcap/Packet.html">Packet</A> 偐傜宲彸偟偨僼傿乕儖僪</B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../jpcap/Packet.html#caplen">caplen</A>, <A HREF="../jpcap/Packet.html#data">data</A>, <A HREF="../jpcap/Packet.html#datalink">datalink</A>, <A HREF="../jpcap/Packet.html#header">header</A>, <A HREF="../jpcap/Packet.html#len">len</A>, <A HREF="../jpcap/Packet.html#sec">sec</A>, <A HREF="../jpcap/Packet.html#usec">usec</A></CODE></TD></TR></TABLE> <!-- ======== CONSTRUCTOR SUMMARY ======== --><A NAME="constructor_summary"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>僐儞僗僩儔僋僞偺奣梫</B></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../jpcap/TCPPacket.html#TCPPacket(int, int, long, long, boolean, boolean, boolean, boolean, boolean, boolean, int, int)">TCPPacket</A></B>(int src_port, int dst_port, long sequence, long ack_num, boolean urg, boolean ack, boolean psh, boolean rst, boolean syn, boolean fin, int window, int urgent)</CODE><BR> TCP僷働僢僩偺僆僽僕僃僋僩傪惗惉偟傑偡</TD></TR></TABLE> <!-- ========== METHOD SUMMARY =========== --><A NAME="method_summary"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>儊僜僢僪偺奣梫</B></FONT></TD></TR>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -