📄 node469.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>34.4 Commands at a Glance</TITLE><META NAME="description" CONTENT="34.4 Commands at a Glance"><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="previous" HREF="node463.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node463.html"><LINK REL="up" HREF="node459.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node459.html"><LINK REL="next" HREF="node470.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node470.html"></HEAD><BODY ><!--Navigation Panel--><A NAME="tex2html8577" HREF="node470.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node470.html"><IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="file:/usr/share/latex2html/icons/next.png"></A> <A NAME="tex2html8571" HREF="node459.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node459.html"><IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="file:/usr/share/latex2html/icons/up.png"></A> <A NAME="tex2html8567" HREF="node468.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node468.html"><IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="file:/usr/share/latex2html/icons/prev.png"></A> <A NAME="tex2html8573" 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="tex2html8575" 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="tex2html8578" HREF="node470.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node470.html">6 Application</A><B> Up:</B> <A NAME="tex2html8572" HREF="node459.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node459.html">34. PLM</A><B> Previous:</B> <A NAME="tex2html8568" HREF="node468.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node468.html">34.3.5 Joining or Leaving</A>   <B> <A NAME="tex2html8574" HREF="node1.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node1.html">Contents</A></B>   <B> <A NAME="tex2html8576" 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="SECTION06540000000000000000">34.4 Commands at a Glance</A></H1>Note: This section is a copy paste of the end ofsection <A HREF="node460.html#sec:Configuration" tppabs="http://www.isi.edu/nsnam/ns/doc/node460.html#sec:Configuration">34.1</A>. We add this section to preserve homogeneity withthe ns manual.<P>All the simulations for PLM should be set using the PLMTopology environment (asin the example script where we define a PLMTopology superclass called Scenario0). Theuser interface is (all the instproc can be found in tcl/plm/plm-topo.tcl):<DL><DT><STRONG><TT>build_link a b d bw</TT></STRONG></DT><DD>creates a duplex link between node <TT>a</TT> and <TT>b</TT> with a delay <TT>d</TT> and a bandwidth <TT>bw</TT>. If either node does not exist, <TT>build_link</TT> creates it.</DD><DT><STRONG><TT>place_source n t</TT></STRONG></DT><DD>creates and places a PLM source at node <TT>n</TT> and starts it at time <TT>t</TT>. <TT>place_source</TT> returns <TT>addr</TT> which allows to attach receivers to this source.</DD><DT><STRONG><TT>place_receiver n addr C nb</TT></STRONG></DT><DD>creates and places a PLM receiver at node <TT>n</TT> and attached it to the source which return the address <TT>addr</TT>. The check value for this PLM receiver is <TT>C</TT>. An optional parameter <TT>nb</TT> allows to get an instance of the PLM receiver called <TT>PLMrcvr($nb)</TT>. This instance is only useful to get some specific statistics about this receiver (mainly the number of packets received or lost). </DD></DL><P><P><HR><!--Navigation Panel--><A NAME="tex2html8577" HREF="node470.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node470.html"><IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="file:/usr/share/latex2html/icons/next.png"></A> <A NAME="tex2html8571" HREF="node459.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node459.html"><IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="file:/usr/share/latex2html/icons/up.png"></A> <A NAME="tex2html8567" HREF="node468.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node468.html"><IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="file:/usr/share/latex2html/icons/prev.png"></A> <A NAME="tex2html8573" 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="tex2html8575" 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="tex2html8578" HREF="node470.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node470.html">6 Application</A><B> Up:</B> <A NAME="tex2html8572" HREF="node459.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node459.html">34. PLM</A><B> Previous:</B> <A NAME="tex2html8568" HREF="node468.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node468.html">34.3.5 Joining or Leaving</A>   <B> <A NAME="tex2html8574" HREF="node1.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node1.html">Contents</A></B>   <B> <A NAME="tex2html8576" 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 + -