📄 node155.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>14.6 LL (link-layer) Class</TITLE><META NAME="description" CONTENT="14.6 LL (link-layer) Class"><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="node158.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node158.html"><LINK REL="previous" HREF="node150.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node150.html"><LINK REL="up" HREF="node142.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node142.html"><LINK REL="next" HREF="node156.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node156.html"></HEAD><BODY ><!--Navigation Panel--><A NAME="tex2html3662" HREF="node156.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node156.html"><IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="file:/usr/share/latex2html/icons/next.png"></A> <A NAME="tex2html3656" HREF="node142.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node142.html"><IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="file:/usr/share/latex2html/icons/up.png"></A> <A NAME="tex2html3650" HREF="node154.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node154.html"><IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="file:/usr/share/latex2html/icons/prev.png"></A> <A NAME="tex2html3658" 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="tex2html3660" 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="tex2html3663" HREF="node156.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node156.html">14.6.1 LL Class in</A><B> Up:</B> <A NAME="tex2html3657" HREF="node142.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node142.html">14. Local Area Networks</A><B> Previous:</B> <A NAME="tex2html3651" HREF="node154.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node154.html">14.5.4 CSMA-based MAC</A>   <B> <A NAME="tex2html3659" HREF="node1.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node1.html">Contents</A></B>   <B> <A NAME="tex2html3661" 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="SECTION031160000000000000000"></A><A NAME="sec:linklayer"></A><BR>14.6 LL (link-layer) Class</H1><P>The link-layer object is responsible for simulating the data linkprotocols. Many protocols can be implemented within this layer suchas packet fragmentation and reassembly, and reliable link protocol. <P>Another important function of the link layer is setting the MACdestination address in the MAC header of the packet. In the currentimplementation this task involves two separate issues: finding thenext-hop-node's IP address (routing) and resolving this IP addressinto the correct MAC address (ARP). For simplicity, the defaultmapping between MAC and IP addresses is one-to-one, which means thatIP addresses are re-used at the MAC layer.<P><BR><HR><!--Table of Child-Links--><A NAME="CHILD_LINKS"><STRONG>Subsections</STRONG></A><UL><LI><A NAME="tex2html3664" HREF="node156.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node156.html">14.6.1 LL Class in C++</A><LI><A NAME="tex2html3665" HREF="node157.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node157.html">14.6.2 Example: Link Layer configuration</A></UL><!--End of Table of Child-Links--><BR><HR><ADDRESS>2003-09-23</ADDRESS></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -