文章分类 | 推荐文章 | 最新文章 | 热点文章 | 最新软件 | 精品软件 | 下载排行 | 推荐下载 | 免费看大片 | WPS | 杀毒软件
清风网络
首 页 软件下载 网络学院 数码学院
QQ 电脑入门 游戏 操作系统 图形处理 办公软件 媒体动画 精文荟萃 工具软件 网络编程 程序开发 网络技术 认证考试 网站建设 文章专栏
当前位置:清风网络学院网络技术网络协议RFC791 - Internet Protocol
精品推荐
特别推荐
·ISIS路由协议
·Telnet入侵最完全手册
·网络协议基础知识 SMTP协议和UDP协议
·新的宽带认证方式——IEEE 802.1x协议
·ARP协议揭密
·网络沟通的桥梁-协议X档案
·TCP/IP协议简介
·NGN网络协议解析
·HTTP协议基础
·电子商务安全协议
热点TOP10
·Telnet高级入侵攻略
·IP PBX方案篇
·TCP/IP协议原理
·RIP协议
·初识HTTP协议
·SIP协议概述
·IP的概念及实质
·多协议标志交换基本原理
·通用多协议标记交换工作原理
·TCP/IP协议详解卷1学习笔记-IP校验和与ICMP协议

RFC791 - Internet Protocol

日期:2007年10月23日 作者: 查看:[大字体 中字体 小字体]


OTL - Old Total Length
NFB - Number of Fragment Blocks
MTU - Maximum Transmission Unit

Procedure:

IF TL =< MTU THEN Submit this datagram to the next step
in datagram processing ELSE IF DF = 1 THEN discard the
datagram ELSE
To produce the first fragment:
(1) Copy the original internet header;
(2) OIHL <- IHL; OTL <- TL; OFO <- FO; OMF <- MF;
(3) NFB <- (MTU-IHL*4)/8;
(4) Attach the first NFB*8 data octets;
(5) Correct the header:
MF <- 1; TL <- (IHL*4)+(NFB*8);
Recompute Checksum;
(6) Submit this fragment to the next step in
datagram processing;
To produce the second fragment:
(7) Selectively copy the internet header (some options
are not copied, see option definitions);
(8) Append the remaining data;
(9) Correct the header:
IHL <- (((OIHL*4)-(length of options not copied))+3)/4;

[Page 26]

September 1981
Internet Protocol
Specification

TL <- OTL - NFB*8 - (OIHL-IHL)*4);
FO <- OFO + NFB; MF <- OMF; Recompute Checksum;
(10) Submit this fragment to the fragmentation test; DONE.

In the above procedure each fragment (except the last) was made
the maximum allowable size. An alternative might produce less
than the maximum size datagrams. For example, one could implement
a fragmentation procedure that repeatly divided large datagrams in
half until the resulting fragments were less than the maximum
transmission unit size.

An Example Reassembly Procedure

For each datagram the buffer identifier is computed as the
concatenation of the source, destination, protocol, and
identification fields. If this is a whole datagram (that is both
the fragment offset and the more fragments fields are zero), then
any reassembly resources associated with this buffer identifier
are released and the datagram is forwarded to the next step in
datagram processing.

If no other fragment with this buffer identifier is on hand then
reassembly resources are allocated. The reassembly resources
consist of a data buffer, a header buffer, a fragment block bit
table, a total data length field, and a timer. The data from the
fragment is placed in the data buffer according to its fragment
offset and length, and bits are set in the fragment block bit
table corresponding to the fragment blocks received.

If this is the first fragment (that is the fragment offset is
zero) this header is placed in the header buffer. If this is the

上一页 [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15] [16] [17] [18] [19] [20] [21] [22] [23] [24] [25] [26] [27] [28] [29] [30] [31] 下一页 




上一篇:RFC742 - NAME/FINGER Protocol

下一篇:RFC790 - Assigned numbers

相关文章:
·Internet你应该知道的21个事实
·局域网接入Internet设置案例一则(下)
·推荐书籍:《协议分析(第7版) Protocol Analysis,WB77.0 》
·RFC4019-RObust Header Compression (ROHC): Profiles for User Datagram Protocol (UDP) Lite
·RFC3997-Internet Printing Protocol (IPP): Requirements for IPP Notifications
·RFC4058 - Protocol for Carrying Authentication for Network Access (PANA) Requirements
·RFC4094 - Analysis of Existing Quality-of-Service Signaling Protocols
·RFC3529 - Using Extensible Markup Language-Remote Procedure Calling (XML-RPC) in Blocks Extensible Exchange Protocol (BEEP)
·RFC3349 - A Transient Prefix for Identifying Profiles under Development by the Working Groups of the Internet Engineering Task Force
·RFC3043 - The Network Solutions Personal Internet Name (PIN): A URN Namespace for People and Organizations
相关软件:
·洪恩轻松教你学电脑_internet学习
·大智慧证券信息平台Internet版 V5.60
·Free Internet Window Washer V2.0 汉化版
·鸿森Internet浏览器V2.1
·CIW Internetworking Professional
·Kaspersky Internet Securityv7.0.1.325 简体中文版
·Kaspersky(卡巴斯基) Internet Security 安全套装 V6.0.2.621 中文版
·ASP与Internet建站技巧
·Internet Pictures Finder V5.1.1国外软件 / 共享版 / 下载工具
·诺顿网络安全特警(Norton Internet Security) V2007

特别声明:本站除部分特别声明禁止转载的专稿外的其他文章可以自由转载,但请务必注明出处和原始作者。文章版权归文章原始作者所有。对于被本站转载文章的个人和网站,我们表示深深的谢意。如果本站转载的文章有版权问题请联系编辑人员,我们尽快予以更正。
[打印本页] [关闭窗口] 转载请注明来源:http://www.vipcn.net
| 帮助(?) | 版权声明 | 友情连接 | 关于我们 | 信息发布
Copyright 2007 www.vipcn.net All Rights Reserved. 鄂ICP备05000083号Powered by:viphot