node16.html

来自「用C++编写的GPRS协议栈源代码」· HTML 代码 · 共 42 行

HTML
42
字号
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"><!--Converted with LaTeX2HTML 96.1 (Feb 5, 1996) by Nikos Drakos (nikos@cbl.leeds.ac.uk), CBLU, University of Leeds --><HTML><HEAD><TITLE>Error model</TITLE><META NAME="description" CONTENT="Error model"><META NAME="keywords" CONTENT="gprs"><META NAME="resource-type" CONTENT="document"><META NAME="distribution" CONTENT="global"><LINK REL=STYLESHEET HREF="gprs.css"></HEAD><BODY LANG="EN"> <A NAME="tex2html276" HREF="node17.html"><IMG WIDTH=37 HEIGHT=24 ALIGN=BOTTOM ALT="next" SRC="http://cbl.leeds.ac.uk/nikos/figs/next_motif.gif"></A> <A NAME="tex2html274" HREF="node3.html"><IMG WIDTH=26 HEIGHT=24 ALIGN=BOTTOM ALT="up" SRC="http://cbl.leeds.ac.uk/nikos/figs/up_motif.gif"></A> <A NAME="tex2html268" HREF="node15.html"><IMG WIDTH=63 HEIGHT=24 ALIGN=BOTTOM ALT="previous" SRC="http://cbl.leeds.ac.uk/nikos/figs/previous_motif.gif"></A>   <BR><B> Next:</B> <A NAME="tex2html277" HREF="node17.html">Handling ARPs</A><B>Up:</B> <A NAME="tex2html275" HREF="node3.html">MAC Implementation Details</A><B> Previous:</B> <A NAME="tex2html269" HREF="node15.html">Dealing with Collisions</A><BR> <P><H2><A NAME="SECTION00127000000000000000">Error model</A></H2><P>The error model provided by <I>ns</I> can introduce errors into packetscreated by Agents like TCP or UDP. It cannot introduce errors at the lowerlayers. In order to test our acknowledgement mechanism, we introduce anerror model that produces random errors in (simulated) RLC PDUs ie forslot level transmissions.<P>This error model (in <EM>bs_recv()</EM>)  marks a randomly chosen RLCfragment (either going up or down) as erroneous. This causes the packet tobe dropped at its destination. At each drop, we use <EM>Random::integer(error_rate_)</EM> to decide the next drop.<P>The user may choose to include this error model through <EM>rlc_error_</EM>in the OTcl script. The <EM>error_rate_</EM> can also be set by the userfrom the OTcl script.<P><BR> <HR><P><ADDRESS><I>Richa Jain (96D07007) <BR>Tue Jul 24 22:29:53 IST 2001</I></ADDRESS></BODY></HTML>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?