📄 node364.html
字号:
<html><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"><!--Converted with jLaTeX2HTML 2002 (1.62) JA patch-1.4patched version by: Kenshi Muto, Debian Project.LaTeX2HTML 2002 (1.62),original version by: Nikos Drakos, CBLU, University of Leeds* revised and updated by: Marcus Hennecke, Ross Moore, Herb Swan* with significant contributions from: Jens Lippmann, Marek Rouchal, Martin Wilck and others --><HTML><HEAD><TITLE>31. TCP Agents</TITLE><META NAME="description" CONTENT="31. TCP Agents"><META NAME="keywords" CONTENT="everything"><META NAME="resource-type" CONTENT="document"><META NAME="distribution" CONTENT="global"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"><META NAME="Generator" CONTENT="jLaTeX2HTML v2002 JA patch-1.4"><META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css"><LINK REL="STYLESHEET" HREF="everything.css" tppabs="http://www.isi.edu/nsnam/ns/doc/everything.css"><LINK REL="next" HREF="node402.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node402.html"><LINK REL="previous" HREF="node361.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node361.html"><LINK REL="up" HREF="node360.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node360.html"><LINK REL="next" HREF="node365.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node365.html"></HEAD><BODY ><!--Navigation Panel--><A NAME="tex2html6959" HREF="node365.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node365.html"><IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="file:/usr/share/latex2html/icons/next.png"></A> <A NAME="tex2html6953" HREF="node360.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node360.html"><IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="file:/usr/share/latex2html/icons/up.png"></A> <A NAME="tex2html6947" HREF="node363.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node363.html"><IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="file:/usr/share/latex2html/icons/prev.png"></A> <A NAME="tex2html6955" HREF="node1.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node1.html"><IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="file:/usr/share/latex2html/icons/contents.png"></A> <A NAME="tex2html6957" HREF="node590.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node590.html"><IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="file:/usr/share/latex2html/icons/index.png"></A> <BR><B> Next:</B> <A NAME="tex2html6960" HREF="node365.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node365.html">31.1 One-Way TCP Senders</A><B> Up:</B> <A NAME="tex2html6954" HREF="node360.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node360.html">5 Transport</A><B> Previous:</B> <A NAME="tex2html6948" HREF="node363.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node363.html">30.2 Commands at a</A>   <B> <A NAME="tex2html6956" HREF="node1.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node1.html">Contents</A></B>   <B> <A NAME="tex2html6958" HREF="node590.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node590.html">Index</A></B> <BR><BR><!--End of Navigation Panel--><H1><A NAME="SECTION06200000000000000000"></A><A NAME="sec:tcpAgents"></A><BR>31. TCP Agents</H1><P>This section describes the operation of the TCP agents in .There are two major types of TCP agents: one-way agentsand a two-way agent.One-way agents are further subdivided into a set of TCP senders(which obey different congestion and error control techniques)and receivers (``sinks'').The two-way agent is symmetric in the sense that it representsboth a sender and receiver.It is still under development.<P>The files described in this section are too numerous to enumerate here.Basically it covers most files matching the regular expressiontcp*.{cc, h}.<P>The one-way TCP sending agents currently supported are:<UL><LI>Agent/TCP - a ``tahoe'' TCP sender</LI><LI>Agent/TCP/Reno - a ``Reno'' TCP sender</LI><LI>Agent/TCP/Newreno - Reno with a modification</LI><LI>Agent/TCP/Sack1 - TCP with selective repeat (follows RFC2018)</LI><LI>Agent/TCP/Vegas - TCP Vegas</LI><LI>Agent/TCP/Fack - Reno TCP with ``forward acknowledgment''</LI></UL>The one-way TCP receiving agents currently supported are:<UL><LI>Agent/TCPSink - TCP sink with one ACK per packet</LI><LI>Agent/TCPSink/DelAck - TCP sink with configurable delay per ACK</LI><LI>Agent/TCPSink/Sack1 - selective ACK sink (follows RFC2018)</LI><LI>Agent/TCPSink/Sack1/DelAck - Sack1 with DelAck</LI></UL>The two-way experimental sender currently supports only a Reno form of TCP:<UL><LI>Agent/TCP/FullTcp</LI></UL><P>The section comprises three parts:the first part is a simple overview and example of configuringthe base TCP send/sink agents (the sink requires no configuration).The second part describes the internals of the base send agent,and last part is a description of the extensionsfor the other types of agents that have been included in thesimulator.<P><BR><HR><!--Table of Child-Links--><A NAME="CHILD_LINKS"><STRONG>Subsections</STRONG></A><UL><LI><A NAME="tex2html6961" HREF="node365.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node365.html">31.1 One-Way TCP Senders</A><UL><LI><A NAME="tex2html6962" HREF="node366.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node366.html">31.1.1 The Base TCP Sender (Tahoe TCP)</A><UL><LI><A NAME="tex2html6963" HREF="node367.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node367.html">31.1.1.0.1 Responses to Congestion</A><LI><A NAME="tex2html6964" HREF="node368.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node368.html">31.1.1.0.2 Round-Trip Time Estimation and RTO Timeout Selection</A></UL><LI><A NAME="tex2html6965" HREF="node369.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node369.html">31.1.2 Configuration</A><LI><A NAME="tex2html6966" HREF="node370.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node370.html">31.1.3 Simple Configuration</A><UL><LI><A NAME="tex2html6967" HREF="node371.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node371.html">31.1.3.0.1 Creating the Agent</A><LI><A NAME="tex2html6968" HREF="node372.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node372.html">31.1.3.0.2 TCP Data Source</A></UL><LI><A NAME="tex2html6969" HREF="node373.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node373.html">31.1.4 Other Configuration Parameters</A><LI><A NAME="tex2html6970" HREF="node374.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node374.html">31.1.5 Other One-Way TCP Senders</A><UL><LI><A NAME="tex2html6971" HREF="node375.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node375.html">31.1.5.0.1 Reno TCP</A><LI><A NAME="tex2html6972" HREF="node376.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node376.html">31.1.5.0.2 Newreno TCP</A><LI><A NAME="tex2html6973" HREF="node377.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node377.html">31.1.5.0.3 Vegas TCP</A><LI><A NAME="tex2html6974" HREF="node378.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node378.html">31.1.5.0.4 Sack TCP</A><LI><A NAME="tex2html6975" HREF="node379.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node379.html">31.1.5.0.5 Fack TCP</A></UL></UL><BR><LI><A NAME="tex2html6976" HREF="node380.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node380.html">31.2 TCP Receivers (sinks)</A><UL><LI><A NAME="tex2html6977" HREF="node381.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node381.html">31.2.1 The Base TCP Sink</A><UL><LI><A NAME="tex2html6978" HREF="node382.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node382.html">31.2.1.0.1 configuration parameters</A></UL><LI><A NAME="tex2html6979" HREF="node383.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node383.html">31.2.2 Delayed-ACK TCP Sink</A><UL><LI><A NAME="tex2html6980" HREF="node384.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node384.html">31.2.2.0.1 configuration parameters</A></UL><LI><A NAME="tex2html6981" HREF="node385.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node385.html">31.2.3 Sack TCP Sink</A><UL><LI><A NAME="tex2html6982" HREF="node386.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node386.html">31.2.3.0.1 configuration parameters</A></UL></UL><BR><LI><A NAME="tex2html6983" HREF="node387.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node387.html">31.3 Two-Way TCP Agents (FullTcp)</A><UL><LI><A NAME="tex2html6984" HREF="node388.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node388.html">31.3.1 Simple Configuration</A><UL><LI><A NAME="tex2html6985" HREF="node389.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node389.html">31.3.1.0.1 Creating the Agent</A><LI><A NAME="tex2html6986" HREF="node390.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node390.html">31.3.1.0.2 Configuration Parameters</A></UL><LI><A NAME="tex2html6987" HREF="node391.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node391.html">31.3.2 BayFullTcp</A></UL><BR><LI><A NAME="tex2html6988" HREF="node392.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node392.html">31.4 Architecture and Internals</A><UL><LI><A NAME="tex2html6989" HREF="node393.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node393.html">31.4.0.0.1 The TCP header</A><LI><A NAME="tex2html6990" HREF="node394.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node394.html">31.4.0.0.2 Functions for Sending Data</A><LI><A NAME="tex2html6991" HREF="node395.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node395.html">31.4.0.0.3 Functions for Window Management</A><LI><A NAME="tex2html6992" HREF="node396.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node396.html">31.4.0.0.4 Functions for Processing ACKs</A><LI><A NAME="tex2html6993" HREF="node397.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node397.html">31.4.0.0.5 Functions for Managing the Retransmission Timer</A></UL><BR><LI><A NAME="tex2html6994" HREF="node398.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node398.html">31.5 Tracing TCP Dynamics</A><LI><A NAME="tex2html6995" HREF="node399.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node399.html">31.6 One-Way Trace TCP Trace Dynamics</A><LI><A NAME="tex2html6996" HREF="node400.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node400.html">31.7 One-Way Trace TCP Trace Dynamics</A><LI><A NAME="tex2html6997" HREF="node401.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node401.html">31.8 Commands at a glance</A></UL><!--End of Table of Child-Links--><HR><!--Navigation Panel--><A NAME="tex2html6959" HREF="node365.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node365.html"><IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="file:/usr/share/latex2html/icons/next.png"></A> <A NAME="tex2html6953" HREF="node360.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node360.html"><IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="file:/usr/share/latex2html/icons/up.png"></A> <A NAME="tex2html6947" HREF="node363.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node363.html"><IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="file:/usr/share/latex2html/icons/prev.png"></A> <A NAME="tex2html6955" HREF="node1.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node1.html"><IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="file:/usr/share/latex2html/icons/contents.png"></A> <A NAME="tex2html6957" HREF="node590.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node590.html"><IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="file:/usr/share/latex2html/icons/index.png"></A> <BR><B> Next:</B> <A NAME="tex2html6960" HREF="node365.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node365.html">31.1 One-Way TCP Senders</A><B> Up:</B> <A NAME="tex2html6954" HREF="node360.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node360.html">5 Transport</A><B> Previous:</B> <A NAME="tex2html6948" HREF="node363.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node363.html">30.2 Commands at a</A>   <B> <A NAME="tex2html6956" HREF="node1.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node1.html">Contents</A></B>   <B> <A NAME="tex2html6958" HREF="node590.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node590.html">Index</A></B> <!--End of Navigation Panel--><ADDRESS>2003-09-23</ADDRESS></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -