📄 node331.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>27.2.2.0.4 Class Multicast Classifier</TITLE><META NAME="description" CONTENT="27.2.2.0.4 Class Multicast Classifier"><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="node332.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node332.html"><LINK REL="previous" HREF="node330.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node330.html"><LINK REL="up" HREF="node327.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node327.html"><LINK REL="next" HREF="node332.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node332.html"></HEAD><BODY ><!--Navigation Panel--><A NAME="tex2html6418" HREF="node332.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node332.html"><IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="file:/usr/share/latex2html/icons/next.png"></A> <A NAME="tex2html6412" HREF="node327.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node327.html"><IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="file:/usr/share/latex2html/icons/up.png"></A> <A NAME="tex2html6406" HREF="node330.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node330.html"><IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="file:/usr/share/latex2html/icons/prev.png"></A> <A NAME="tex2html6414" 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="tex2html6416" 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="tex2html6419" HREF="node332.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node332.html">27.2.2.0.5 Class Replicator</A><B> Up:</B> <A NAME="tex2html6413" HREF="node327.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node327.html">27.2.2 Extensions to other</A><B> Previous:</B> <A NAME="tex2html6407" HREF="node330.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node330.html">27.2.2.0.3 Class NetworkInterface</A>   <B> <A NAME="tex2html6415" HREF="node1.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node1.html">Contents</A></B>   <B> <A NAME="tex2html6417" HREF="node590.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node590.html">Index</A></B> <BR><BR><!--End of Navigation Panel--><H4><A NAME="SECTION05222040000000000000">27.2.2.0.4 Class Multicast Classifier</A></H4><TT>Classifier/Multicast</TT> maintains a <I>multicast forwardingcache</I>. There is one multicast classifier per node. The node stores areference to this classifier in its instance variable<TT>multiclassifier<BR>_</TT>. When this classifier receives a packet, itlooks at the source, group information in the packet headers,and the interface that the packet arrived from (the incoming interfaceor iif); does a lookup in the MFC and identifies the slot that shouldbe used to forward that packet. The slot will point to theappropriate replicator.<P>However, if the classifier does not have an entry for thissource, group, or the iif for this entry is different, it willinvoke an upcall []new-group for the classifier, with one oftwo codes to identify the problem:<P><UL><LI><TT>cache-miss</TT> indicates that the classifier did not find any source, group entries;<P></LI><LI><TT>wrong-iif</TT> indicates that the classifier found source, group entries, but none matching the interface that this packet arrived on.</LI></UL>These upcalls to TCL give it a chance to correct the situation:install an appropriate MFC-entry (for <TT>cache-miss</TT>) or changethe incoming interface for the existing MFC-entry (for<TT>wrong-iif</TT>). The <I>return value</I> of the upcall determineswhat classifier will do with the packet. If the return value is``1'', it will assume that TCL upcall has appropriately modified MFCwill try to classify packet (lookup MFC) for the second time. If thereturn value is ``0'', no further lookups will be done, and the packetwill be thus dropped.<P>[]add-rep creates a slot in the classifierand adds a replicator for source, group, iif to that slot.<P><HR><!--Navigation Panel--><A NAME="tex2html6418" HREF="node332.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node332.html"><IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="file:/usr/share/latex2html/icons/next.png"></A> <A NAME="tex2html6412" HREF="node327.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node327.html"><IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="file:/usr/share/latex2html/icons/up.png"></A> <A NAME="tex2html6406" HREF="node330.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node330.html"><IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="file:/usr/share/latex2html/icons/prev.png"></A> <A NAME="tex2html6414" 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="tex2html6416" 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="tex2html6419" HREF="node332.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node332.html">27.2.2.0.5 Class Replicator</A><B> Up:</B> <A NAME="tex2html6413" HREF="node327.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node327.html">27.2.2 Extensions to other</A><B> Previous:</B> <A NAME="tex2html6407" HREF="node330.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node330.html">27.2.2.0.3 Class NetworkInterface</A>   <B> <A NAME="tex2html6415" HREF="node1.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node1.html">Contents</A></B>   <B> <A NAME="tex2html6417" 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 + -