📄 node442.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>33.3.0.0.2 Request Packets</TITLE><META NAME="description" CONTENT="33.3.0.0.2 Request 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="node443.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node443.html"><LINK REL="previous" HREF="node441.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node441.html"><LINK REL="up" HREF="node440.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node440.html"><LINK REL="next" HREF="node443.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node443.html"></HEAD><BODY ><!--Navigation Panel--><A NAME="tex2html8190" HREF="node443.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node443.html"><IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="file:/usr/share/latex2html/icons/next.png"></A> <A NAME="tex2html8184" HREF="node440.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node440.html"><IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="file:/usr/share/latex2html/icons/up.png"></A> <A NAME="tex2html8178" HREF="node441.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node441.html"><IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="file:/usr/share/latex2html/icons/prev.png"></A> <A NAME="tex2html8186" 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="tex2html8188" 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="tex2html8191" HREF="node443.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node443.html">33.3.0.0.3 Repair Packets</A><B> Up:</B> <A NAME="tex2html8185" HREF="node440.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node440.html">33.3 Packet Handling: Processing</A><B> Previous:</B> <A NAME="tex2html8179" HREF="node441.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node441.html">33.3.0.0.1 Data Packets</A>   <B> <A NAME="tex2html8187" HREF="node1.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node1.html">Contents</A></B>   <B> <A NAME="tex2html8189" 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="SECTION06430020000000000000">33.3.0.0.2 Request Packets</A></H4>On receiving a request, [sender, msgid]recv_rqst../ns-2/srm.ccSRMAgent::recv_rqstwill check whether it needs to schedule requests for other missing data.If it has received this requestbefore it was aware that the source had generated this data message(, the sequence number of the request is higher than the last known sequence number of data from this source),then the agent can infer that it is missing this, as well as datafrom the last known sequence number onwards;it schedules requests for all of the missing data and returns.On the other hand, if the sequence number of the request is lessthan the last known sequence number from the source,then the agent can be in one of three states:(1) it does not have this data, and has a request pending for it,(2) it has the data, and has seen an earlier request, upon which it has a repair pending for it, or(3) it has the data, and it should instantiate a repair.All of these error recovery mechanisms are done in OTcl;[]recv_rqst invokes the instance procedure[sender, msgid, requester]recv-rqst../ns-2/srm.tclAgent/SRM::recv-rqstfor further processing.<P><HR><!--Navigation Panel--><A NAME="tex2html8190" HREF="node443.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node443.html"><IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="file:/usr/share/latex2html/icons/next.png"></A> <A NAME="tex2html8184" HREF="node440.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node440.html"><IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="file:/usr/share/latex2html/icons/up.png"></A> <A NAME="tex2html8178" HREF="node441.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node441.html"><IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="file:/usr/share/latex2html/icons/prev.png"></A> <A NAME="tex2html8186" 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="tex2html8188" 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="tex2html8191" HREF="node443.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node443.html">33.3.0.0.3 Repair Packets</A><B> Up:</B> <A NAME="tex2html8185" HREF="node440.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node440.html">33.3 Packet Handling: Processing</A><B> Previous:</B> <A NAME="tex2html8179" HREF="node441.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node441.html">33.3.0.0.1 Data Packets</A>   <B> <A NAME="tex2html8187" HREF="node1.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node1.html">Contents</A></B>   <B> <A NAME="tex2html8189" 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 + -