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

📄 network layer - packets.htm

📁 LINUX内核编程的一些程序例子
💻 HTM
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0065)http://www.geocities.com/marco_corvi/games/lkpe/socket/packet.htm -->
<HTML><HEAD><TITLE>The network layer</TITLE>
<META http-equiv=Content-Type content="text/html; charset=windows-1252"><LINK 
href="Network layer - packets_file/style.css" rel=stylesheet>
<META content="MSHTML 6.00.2800.1170" name=GENERATOR></HEAD>
<BODY>
<H2>Network layer - packets</H2>
<DIV>References:<BR>J. Postel, RFC 791 INTERNET PROTOCOL <BR>J. Postel, RFC 793 
TRANSMISSION CONTROL PROTOCOL<BR><BR></DIV><BR clear=all><BR clear=all><BR 
clear=all>Networking is structured in a layered architectures (the OSI model) in 
which the upper level relies on the lower level to send/receive data. 
<OL>
  <LI>The bottom level is the physical leyer, with network boards, switches, 
  cables, or radiowave, or whetever else; 
  <LI>Immediately above it is the data-link layer. This puts the datagrams in 
  packets and transmits them via the network interface. It adds start and end 
  flags and bit error checking (CRC or parity). 
  <LI>Above it is the network layer. This layer is responsible for routing the 
  packets so that they can reach their destination. It may split the segment in 
  fragments. It sends/receives datagrams. 
  <LI>Next there is the transport leyer. This layer breaks the data in 
  small-size chunks (segments) that can be send to the network. It also 
  reassembles incoming packets into a stream. It provides also error checking. 
  <LI>Above is the session leyer. This layer manages the logical control: source 
  and destination, startup and shutdown of a session. 
  <LI>Above is the presentation layer. This layer translates data from the 
  network in a format usable by the application, and viceversa from application 
  format into network format. Below this point bytes are a stream of octets. 
  <LI>At the top there is the application layer, which interacts with the user 
  and with other programs. </LI></OL>
<P><BR clear=all><IMG src="Network layer - packets_file/packet.gif"> <BR 
clear=all>The network implementation does not strictly follow this model. TCP 
provides initialization of a connection (three way handshake), finilazation 
(FIN-ACK), and control. TCP is session aware (logical ports). IP provides 
fragmentation of long segments, and machine to machine routing with the IP 
address system. Finally ethernet encapsulates packets with their physical (MAC) 
address. 
<P><BR clear=all><FONT size=-1>Marco Corvi - 2003</FONT> <!-- text below generated by server. PLEASE REMOVE --></OBJECT></LAYER>
<DIV></DIV></SPAN></STYLE></NOSCRIPT></TABLE></SCRIPT></APPLET>
<SCRIPT 
language=JavaScript>var PUpage="76001084"; var PUprop="geocities"; </SCRIPT>

<SCRIPT language=JavaScript 
src="Network layer - packets_file/pu5geo.js"></SCRIPT>

<SCRIPT language=JavaScript 
src="Network layer - packets_file/ygIELib9.js"></SCRIPT>

<SCRIPT language=JavaScript>var yviContents='http://us.toto.geo.yahoo.com/toto?s=76001084&l=NE&b=1&t=1057746987';yviR='us';yfiEA(0);</SCRIPT>

<SCRIPT language=JavaScript src="Network layer - packets_file/mc.js"></SCRIPT>

<SCRIPT language=JavaScript 
src="Network layer - packets_file/geov2.js"></SCRIPT>

<SCRIPT language=javascript>geovisit();</SCRIPT>
<NOSCRIPT><IMG height=1 alt=setstats 
src="Network layer - packets_file/visit.gif" width=1 border=0></NOSCRIPT> <IMG 
height=1 alt=1 src="Network layer - packets_file/serv.gif" width=1> <!-- w52.geo.scd.yahoo.com compressed/chunked Wed Jul  9 03:36:27 PDT 2003 --></BODY></HTML>

⌨️ 快捷键说明

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