⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 node39.html

📁 相关搜索: ns2仿真结果分析 all-awk ns2 ns2 无限网络中awk文件 ... [2.tcl.rar] - 在ns2平台上实现对AODV协议的模拟
💻 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>5. Nodes and Packet Forwarding</TITLE><META NAME="description" CONTENT="5. Nodes and Packet Forwarding"><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="node57.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node57.html"><LINK REL="previous" HREF="node30.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node30.html"><LINK REL="up" HREF="node29.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node29.html"><LINK REL="next" HREF="node40.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node40.html"></HEAD><BODY ><!--Navigation Panel--><A NAME="tex2html1909"  HREF="node40.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node40.html"><IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="file:/usr/share/latex2html/icons/next.png"></A> <A NAME="tex2html1903"  HREF="node29.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node29.html"><IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="file:/usr/share/latex2html/icons/up.png"></A> <A NAME="tex2html1897"  HREF="node38.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node38.html"><IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="file:/usr/share/latex2html/icons/prev.png"></A> <A NAME="tex2html1905"  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="tex2html1907"  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="tex2html1910"  HREF="node40.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node40.html">5.1 Node Basics</A><B> Up:</B> <A NAME="tex2html1904"  HREF="node29.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node29.html">2 Simulator Basics</A><B> Previous:</B> <A NAME="tex2html1898"  HREF="node38.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node38.html">4.3 Other Methods</A> &nbsp <B>  <A NAME="tex2html1906"  HREF="node1.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node1.html">Contents</A></B>  &nbsp <B>  <A NAME="tex2html1908"  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="SECTION03200000000000000000"></A><A NAME="chap:nodes"></A><BR>5. Nodes and Packet Forwarding</H1><P>This chapter describes one aspect of creating a topology in ,, creating the nodes.In the next chapterChapterchap:links,we will describe second aspect of creating the topology,, connecting the nodes to form links.<P>Recall that each simulation requires a single instance of theSimulator../ns-2/tcl/lib/ns-lib.tcl to control and operatethat simulation. The class provides instance procedures to create and manage the topology,and internally stores references to each element of the topology.We begin by describing the procedures in the class SimulatorSectionsec:node:simulator.We thendescribe the instance procedures in the class NodeSectionsec:node:nodeto access and operate on individual nodes.We concludewith detailed descriptions of the ClassifierSectionsec:node:classifiersfrom which the more complex node objects are formed.<P>The procedures and functions described in this chapter can be found intcl/lib/ns-lib.tcl, tcl/lib/ns-node.tcl, <BR>tcl/lib/ns-rtmodule.tcl, rtmodule.{cc,h}, classifier.{cc, h}, classifier-addr.cc,classifier-mcast.cc, classifier-mpath.cc, and, replicator.cc.<P><BR><HR><!--Table of Child-Links--><A NAME="CHILD_LINKS"><STRONG>Subsections</STRONG></A><UL><LI><A NAME="tex2html1911"  HREF="node40.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node40.html">5.1 Node Basics</A><LI><A NAME="tex2html1912"  HREF="node41.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node41.html">5.2 Node Methods: Configuring the Node</A><UL><LI><A NAME="tex2html1913"  HREF="node42.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node42.html">5.2.0.0.1 Control functions</A><LI><A NAME="tex2html1914"  HREF="node43.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node43.html">5.2.0.0.2 Address and Port number management</A><LI><A NAME="tex2html1915"  HREF="node44.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node44.html">5.2.0.0.3 Agent management</A><LI><A NAME="tex2html1916"  HREF="node45.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node45.html">5.2.0.0.4 Tracking Neighbors</A></UL><BR><LI><A NAME="tex2html1917"  HREF="node46.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node46.html">5.3 Node Configuration Interface</A><LI><A NAME="tex2html1918"  HREF="node47.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node47.html">5.4 The Classifier</A><UL><LI><A NAME="tex2html1919"  HREF="node48.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node48.html">5.4.1 Address Classifiers</A><LI><A NAME="tex2html1920"  HREF="node49.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node49.html">5.4.2 Multicast Classifiers</A><LI><A NAME="tex2html1921"  HREF="node50.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node50.html">5.4.3 MultiPath Classifier</A><LI><A NAME="tex2html1922"  HREF="node51.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node51.html">5.4.4 Hash Classifier</A><LI><A NAME="tex2html1923"  HREF="node52.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node52.html">5.4.5 Replicator</A></UL><BR><LI><A NAME="tex2html1924"  HREF="node53.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node53.html">5.5 Routing Module and Classifier Organization</A><UL><LI><A NAME="tex2html1925"  HREF="node54.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node54.html">5.5.1 Routing Module</A><LI><A NAME="tex2html1926"  HREF="node55.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node55.html">5.5.2 Node Interface</A></UL><BR><LI><A NAME="tex2html1927"  HREF="node56.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node56.html">5.6 Commands at a glance</A></UL><!--End of Table of Child-Links--><HR><!--Navigation Panel--><A NAME="tex2html1909"  HREF="node40.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node40.html"><IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="file:/usr/share/latex2html/icons/next.png"></A> <A NAME="tex2html1903"  HREF="node29.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node29.html"><IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="file:/usr/share/latex2html/icons/up.png"></A> <A NAME="tex2html1897"  HREF="node38.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node38.html"><IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="file:/usr/share/latex2html/icons/prev.png"></A> <A NAME="tex2html1905"  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="tex2html1907"  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="tex2html1910"  HREF="node40.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node40.html">5.1 Node Basics</A><B> Up:</B> <A NAME="tex2html1904"  HREF="node29.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node29.html">2 Simulator Basics</A><B> Previous:</B> <A NAME="tex2html1898"  HREF="node38.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node38.html">4.3 Other Methods</A> &nbsp <B>  <A NAME="tex2html1906"  HREF="node1.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node1.html">Contents</A></B>  &nbsp <B>  <A NAME="tex2html1908"  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 + -