📄 node568.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>41.1.5 Packets</TITLE><META NAME="description" CONTENT="41.1.5 Packets"><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="node569.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node569.html"><LINK REL="previous" HREF="node567.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node567.html"><LINK REL="up" HREF="node563.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node563.html"><LINK REL="next" HREF="node569.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node569.html"></HEAD><BODY ><!--Navigation Panel--><A NAME="tex2html10170" HREF="node569.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node569.html"><IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="file:/usr/share/latex2html/icons/next.png"></A> <A NAME="tex2html10164" HREF="node563.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node563.html"><IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="file:/usr/share/latex2html/icons/up.png"></A> <A NAME="tex2html10158" HREF="node567.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node567.html"><IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="file:/usr/share/latex2html/icons/prev.png"></A> <A NAME="tex2html10166" 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="tex2html10168" 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="tex2html10171" HREF="node569.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node569.html">41.1.6 Node Marking</A><B> Up:</B> <A NAME="tex2html10165" HREF="node563.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node563.html">41.1 Nam Trace Format</A><B> Previous:</B> <A NAME="tex2html10159" HREF="node567.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node567.html">41.1.4 Queues</A>   <B> <A NAME="tex2html10167" HREF="node1.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node1.html">Contents</A></B>   <B> <A NAME="tex2html10169" 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="SECTION010215000000000000000">41.1.5 Packets</A></H2><P>When a trace line describes a packet, the event type may be + (enqueue), - (dequeue), r (receive), d (drop), or h (hop). <P><TT>type -t time -e extent -s source id -d destination id -c conv -i id</TT><BR><P><TT>type</TT> is one of:<DL><DT><STRONG>h</STRONG></DT><DD>Hop: The packet started to be transmitted on the link from<source id> to <destination id> and is forwarded to the next hop.<P></DD><DT><STRONG>r</STRONG></DT><DD>Receive: The packet finished transmission and started to bereceived at the destination.<P></DD><DT><STRONG>d</STRONG></DT><DD>Drop: The packet was dropped from the queue or link from <source id> to <destination id>. Drop here doesn't distinguish between dropping from queue orlink. This is decided by the drop time. <P></DD><DT><STRONG>+</STRONG></DT><DD>Enter queue: The packet entered the queue from <source id> to<destination id>.<P></DD><DT><STRONG>-</STRONG></DT><DD>Leave queue: The packet left the queue from <source id> to<destination id>. </DD></DL><P>The other flags have the following meaning:<DL><DT><STRONG>-t <time></STRONG></DT><DD>is the time the event occurred.</DD><DT><STRONG>-s <source id></STRONG></DT><DD>is the originating node.</DD><DT><STRONG>-d <destination id></STRONG></DT><DD>is the destination node.</DD><DT><STRONG>-p <pkt-type></STRONG></DT><DD>is the descriptive name of the type of packet seen.See section <A HREF="node271.html#sec:traceptype" tppabs="http://www.isi.edu/nsnam/ns/doc/node271.html#sec:traceptype">23.5</A> for the different types of packets supported in .</DD><DT><STRONG>-e <extent></STRONG></DT><DD>is the size (in bytes) of the packet.</DD><DT><STRONG>-c <conv></STRONG></DT><DD>is the conversation id or flow-id of that session.</DD><DT><STRONG>-i <id></STRONG></DT><DD>is the packet id in the conversation.</DD><DT><STRONG>-a <attr></STRONG></DT><DD>is the packet attribute, which is currently used as colorid. </DD><DT><STRONG>-x <src-na.pa> <dst-sa.na> <seq> <flags> <sname></STRONG></DT><DD>is taken fromns-traces and it gives the source and destination node and portaddresses, sequence number, flags (if any) and the type of message.For example <TT>-x {0.1 -2147483648.0 -1 ---- SRM_SESS} </TT> denotes anSRM message being sent from node 0 (port 1).</DD></DL><P>Additional flags may be added for some protocols.<DL><DT><STRONG>-P <packet type></STRONG></DT><DD>gives an ASCII string specifying a comma separated list of packet types. Some values are: <DL><DT><STRONG>TCP</STRONG></DT><DD>A tcp data packet. </DD><DT><STRONG>ACK</STRONG></DT><DD>Generic acknowledgement. </DD><DT><STRONG>NACK</STRONG></DT><DD>Generic negative acknowledgement. </DD><DT><STRONG>SRM</STRONG></DT><DD>SRM data packet. </DD></DL><P></DD><DT><STRONG>-n <sequence number></STRONG></DT><DD>gives the packet sequence number.</DD></DL><P><HR><!--Navigation Panel--><A NAME="tex2html10170" HREF="node569.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node569.html"><IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="file:/usr/share/latex2html/icons/next.png"></A> <A NAME="tex2html10164" HREF="node563.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node563.html"><IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="file:/usr/share/latex2html/icons/up.png"></A> <A NAME="tex2html10158" HREF="node567.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node567.html"><IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="file:/usr/share/latex2html/icons/prev.png"></A> <A NAME="tex2html10166" 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="tex2html10168" 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="tex2html10171" HREF="node569.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node569.html">41.1.6 Node Marking</A><B> Up:</B> <A NAME="tex2html10165" HREF="node563.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node563.html">41.1 Nam Trace Format</A><B> Previous:</B> <A NAME="tex2html10159" HREF="node567.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node567.html">41.1.4 Queues</A>   <B> <A NAME="tex2html10167" HREF="node1.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node1.html">Contents</A></B>   <B> <A NAME="tex2html10169" 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 + -