📄 node422.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.3 Tracing SCTP Dynamics</TITLE><META NAME="description" CONTENT="32.3 Tracing SCTP Dynamics"><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="node423.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node423.html"><LINK REL="previous" HREF="node417.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node417.html"><LINK REL="up" HREF="node402.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node402.html"><LINK REL="next" HREF="node423.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node423.html"></HEAD><BODY ><!--Navigation Panel--><A NAME="tex2html7867" HREF="node423.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node423.html"><IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="file:/usr/share/latex2html/icons/next.png"></A> <A NAME="tex2html7861" HREF="node402.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node402.html"><IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="file:/usr/share/latex2html/icons/up.png"></A> <A NAME="tex2html7855" HREF="node421.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node421.html"><IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="file:/usr/share/latex2html/icons/prev.png"></A> <A NAME="tex2html7863" 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="tex2html7865" 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="tex2html7868" HREF="node423.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node423.html">32.4 SCTP Applications</A><B> Up:</B> <A NAME="tex2html7862" HREF="node402.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node402.html">32. SCTP Agents</A><B> Previous:</B> <A NAME="tex2html7856" HREF="node421.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node421.html">32.2.4 Timestamp SCTP</A>   <B> <A NAME="tex2html7864" HREF="node1.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node1.html">Contents</A></B>   <B> <A NAME="tex2html7866" 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="SECTION06330000000000000000"></A> <A NAME="sec:sctpTracing"></A><BR>32.3 Tracing SCTP Dynamics</H1><P>SCTP packets generated by one of the SCTP agents and destined for a peer SCTP agent over a traced link (see section <A HREF="node265.html#chap:trace" tppabs="http://www.isi.edu/nsnam/ns/doc/node265.html#chap:trace">23</A>) will generate a trace file with lines of the form:<P><PRE> + 0.5 1 4 sctp 56 -------I 0 1.0 4.0 1 -1 4 65535 65535 - 0.5 1 4 sctp 56 -------I 0 1.0 4.0 1 -1 4 65535 65535 r 0.700896 1 4 sctp 56 -------I 0 1.0 4.0 1 -1 4 65535 65535 + 0.700896 4 1 sctp 56 -------I 0 4.0 1.0 1 -1 5 65535 65535 - 0.700896 4 1 sctp 56 -------I 0 4.0 1.0 1 -1 5 65535 65535 r 0.901792 4 1 sctp 56 -------I 0 4.0 1.0 1 -1 5 65535 65535 + 0.901792 1 4 sctp 36 -------I 0 1.0 4.0 1 -1 6 65535 65535 - 0.901792 1 4 sctp 36 -------I 0 1.0 4.0 1 -1 6 65535 65535 r 1.102368 1 4 sctp 36 -------I 0 1.0 4.0 1 -1 6 65535 65535 + 1.102368 4 1 sctp 36 -------I 0 4.0 1.0 1 -1 7 65535 65535 - 1.102368 4 1 sctp 36 -------I 0 4.0 1.0 1 -1 7 65535 65535 r 1.302944 4 1 sctp 36 -------I 0 4.0 1.0 1 -1 7 65535 65535 + 1.302944 1 4 sctp 1500 -------D 0 1.0 4.0 1 1 8 0 0 - 1.302944 1 4 sctp 1500 -------D 0 1.0 4.0 1 1 8 0 0 + 1.302944 1 4 sctp 1500 -------D 0 1.0 4.0 1 2 9 0 1 - 1.326624 1 4 sctp 1500 -------D 0 1.0 4.0 1 2 9 0 1 r 1.526624 1 4 sctp 1500 -------D 0 1.0 4.0 1 1 8 0 0 r 1.550304 1 4 sctp 1500 -------D 0 1.0 4.0 1 2 9 0 1 + 1.550304 4 1 sctp 48 -------S 0 4.0 1.0 1 2 11 65535 65535 - 1.550304 4 1 sctp 48 -------S 0 4.0 1.0 1 2 11 65535 65535 r 1.751072 4 1 sctp 48 -------S 0 4.0 1.0 1 2 11 65535 65535 ... + 19.302944 4 1 sctp 56 -------H 0 2.0 5.0 1 -1 336 65535 65535 - 19.302944 4 1 sctp 56 -------H 0 2.0 5.0 1 -1 336 65535 65535 r 19.303264 4 1 sctp 56 -------H 0 4.0 1.0 1 -1 322 65535 65535 + 19.303264 1 4 sctp 56 -------B 0 1.0 4.0 1 -1 337 65535 65535 - 19.327584 1 4 sctp 56 -------B 0 1.0 4.0 1 -1 337 65535 65535 r 19.52848 1 4 sctp 56 -------B 0 1.0 4.0 1 -1 337 65535 65535</PRE><P>When tracing SCTP, packets of type <I>sctp</I> are relevant. Their packet type, chunk type, packet size, TSN (CumAck point for SACK chunks), stream ID, SSN, and arrival/depart/drop time are given by field positions 5, 7 (flag position 8), 6, 12, 14, 15, and 2, respectively. If a packet has more than one chunk, a line is printed for each chunk. A future release should include a field to indicate which chunk of the packet a line refers to (e.g., 2:3 could identify the 2nd chunk of a packet which contains 3 chunks). Since control chunks do not use TSNs, stream IDs, or SSNs, the trace lines for these chunks use undefined numbers (-1 or 65535) for these fields. The <I>+</I> indicates a packet arrival, <I>d</I> a drop, and <I>-</I> a departure.<P>Flag position 8 of field 7 indicate the chunk type as follows. The <I>I</I> flag indicates an association initiation control chunk (INIT, INIT-ACK, COOKIE-ECHO, COOKIE-ACK). A future release should use <I>I</I> for the INIT and INIT-ACK chunks, and <I>C</I> for the COOKIE-ECHO and COOKIE-ACK chunks. The <I>D</I>, <I>S</I>, <I>H</I>, and <I>B</I> flags indicate a DATA chunk, a SACK, a HEARTBEAT chunk, and a HEARTBEAT-ACK chunk.<P>A number of scripts process this file to produce graphical output or statistical summaries (for example, see the <TT>finish</TT> procedure in <EM>tcl/test/test-suite-sctp.tcl</EM>).<P><HR><!--Navigation Panel--><A NAME="tex2html7867" HREF="node423.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node423.html"><IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="file:/usr/share/latex2html/icons/next.png"></A> <A NAME="tex2html7861" HREF="node402.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node402.html"><IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="file:/usr/share/latex2html/icons/up.png"></A> <A NAME="tex2html7855" HREF="node421.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node421.html"><IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="file:/usr/share/latex2html/icons/prev.png"></A> <A NAME="tex2html7863" 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="tex2html7865" 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="tex2html7868" HREF="node423.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node423.html">32.4 SCTP Applications</A><B> Up:</B> <A NAME="tex2html7862" HREF="node402.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node402.html">32. SCTP Agents</A><B> Previous:</B> <A NAME="tex2html7856" HREF="node421.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node421.html">32.2.4 Timestamp SCTP</A>   <B> <A NAME="tex2html7864" HREF="node1.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node1.html">Contents</A></B>   <B> <A NAME="tex2html7866" 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 + -