📄 node408.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>32.1.1 Configuration Parameters</TITLE><META NAME="description" CONTENT="32.1.1 Configuration Parameters"><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="node409.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node409.html"><LINK REL="previous" HREF="node403.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node403.html"><LINK REL="up" HREF="node403.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node403.html"><LINK REL="next" HREF="node409.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node409.html"></HEAD><BODY ><!--Navigation Panel--><A NAME="tex2html7666" HREF="node409.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node409.html"><IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="file:/usr/share/latex2html/icons/next.png"></A> <A NAME="tex2html7660" HREF="node403.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node403.html"><IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="file:/usr/share/latex2html/icons/up.png"></A> <A NAME="tex2html7654" HREF="node407.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node407.html"><IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="file:/usr/share/latex2html/icons/prev.png"></A> <A NAME="tex2html7662" 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="tex2html7664" 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="tex2html7667" HREF="node409.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node409.html">32.1.2 Commands</A><B> Up:</B> <A NAME="tex2html7661" HREF="node403.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node403.html">32.1 The Base SCTP</A><B> Previous:</B> <A NAME="tex2html7655" HREF="node407.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node407.html">32.1.0.0.4 Packet Number vs</A>   <B> <A NAME="tex2html7663" HREF="node1.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node1.html">Contents</A></B>   <B> <A NAME="tex2html7665" HREF="node590.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node590.html">Index</A></B> <BR><BR><!--End of Navigation Panel--><H2><A NAME="SECTION06311000000000000000"></A> <A NAME="sec:sctpConfig"></A><BR>32.1.1 Configuration Parameters</H2><P>SCTP supports several configuration variables which are TCL bindable. Each of the variables described in this subsection is both a class variable and an instance variable. Changing the class variable changes the default value for all agents that are created subsequently. Changing the instance variable of a particular agent only affects the values used by that agent. For example,<P><PRE> Agent/SCTP set pathMaxRetrans_ 5 # Changes the class variable; $sctp set pathMaxRetrans_ 5 # Changes pathMaxRetrans_ for the $sctp object only;</PRE><P>The default parameters for each SCTP agent are:<P><PRE> Agent/SCTP set debugMask_ 0 # 32-bit mask for modular toggle debugging control (see explanation); Agent/SCTP set debugFileIndex_ -1 # specifies debugging output file (see explanation); Agent/SCTP set associationMaxRetrans_ 10# RFC2960's Association.Max.Retrans; Agent/SCTP set pathMaxRetrans_ 5 # RFC2960's Path.Max.Retrans; Agent/SCTP set maxInitRetransmits_ 8 # RFC2960's Max.Init.Retransmits; Agent/SCTP set oneHeartbeatTimer_ 1 # toggle HB timer for each dest vs one for all dests; Agent/SCTP set heartbeatInterval_ 30 # RFC2960's HB.interval in seconds; Agent/SCTP set mtu_ 1500 # MTU in bytes including IP header; Agent/SCTP set initialRwnd_ 65536 # initial receiver window in bytes (set on receiver side); Agent/SCTP set initialSsthresh_ 65536 # initial ssthresh value in bytes; Agent/SCTP set initialCwnd_ 2 # initial cwnd in multiple of (MTU - SCTP/IP headers); Agent/SCTP set numOutStreams_ 1 # number of outgoing streams; Agent/SCTP set numUnrelStreams_ 0 # number of partially reliable streams (all grouped starting at stream 0); Agent/SCTP set reliability_ 0 # k-rtx value of all partially reliable streams; Agent/SCTP set unordered_ 0 # toggle all chunks are ordered/unordered; Agent/SCTP set ipHeaderSize_ 20 # IP header size; Agent/SCTP set dataChunkSize_ 1468 # includes data chunk header and restricted to 4 byte boundaries; Agent/SCTP set useDelayedSacks_ 1 # toggle on/off delayed sack algorithm (set on receiver side); Agent/SCTP set useMaxBurst_ 1 # toggle on/off max burst; Agent/SCTP set rtxToAlt_ 1 # toggle rtxs to an alt dest vs same dest; Agent/SCTP set trace_all_ 0 # toggle on/off print all variables on a trace event;</PRE><P>The <TT>debugMask_</TT> parameter is a 32-bit mask to turn on/off debugging for particular functions. See <EM>sctp/sctpDebug.h</EM> for the mappings of the bitmask. A -1 may be used to clear all bits, and 0 is used to turn off all debugging. If <TT>debug_</TT> (the standard debug flag) is set to 1, then all the bits in <TT>debugMask_</TT> are set. Note: must be compiled with <TT>-DDEBUG</TT> for this option to work.<P>The <TT>debugFileIndex_</TT> parameter is an integer to specify the file used for debugging output by an SCTP agent. Each instance of an SCTP agent can independently output debugging info to a separate file. For example, the data sender can log debugging output to one file, while the receiver logs to another file. If <TT>debugFileIndex_</TT> is set to 0, the file used will be named <EM>debug.SctpAgent.0</EM>. If -1 is used, the debug output is sent to <EM>stderr</EM>. To avoid confusion, two SCTP agents should not send debug output to the same file. The default is -1. Note: must be compiled with <TT>-DDEBUG</TT> for this option to work.<P>The configuration parameters that deal with ordering and reliability options may be overridden by an SCTP-aware application (see Section <A HREF="node423.html#sec:sctpApps" tppabs="http://www.isi.edu/nsnam/ns/doc/node423.html#sec:sctpApps">32.4</A>).<P><HR><!--Navigation Panel--><A NAME="tex2html7666" HREF="node409.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node409.html"><IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="file:/usr/share/latex2html/icons/next.png"></A> <A NAME="tex2html7660" HREF="node403.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node403.html"><IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="file:/usr/share/latex2html/icons/up.png"></A> <A NAME="tex2html7654" HREF="node407.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node407.html"><IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="file:/usr/share/latex2html/icons/prev.png"></A> <A NAME="tex2html7662" 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="tex2html7664" 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="tex2html7667" HREF="node409.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node409.html">32.1.2 Commands</A><B> Up:</B> <A NAME="tex2html7661" HREF="node403.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node403.html">32.1 The Base SCTP</A><B> Previous:</B> <A NAME="tex2html7655" HREF="node407.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node407.html">32.1.0.0.4 Packet Number vs</A>   <B> <A NAME="tex2html7663" HREF="node1.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node1.html">Contents</A></B>   <B> <A NAME="tex2html7665" 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 + -