- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
* * 本字段以四个字节为单位规定了报头部分的总长度。如果没有“option”字段,本字段的值是5,即5×4=20字节。 如果“option”字段达到最大长度,本字段的值是15,即15×4=60字节。 HLEN(Header length, 4 bits) Defines the total length of the datagram header in four-byte words. When there are no options, the header length is 20 bytes, and the value of this field is 5 (5×4=20). When the option field is at its maximum size, the value of this field is 15 (15×4=60). * Service type (8 bits) Defines how the datagram should be handled by the routers. This field is divided into two subfields: precedence (three bits) and service type (four bits). The remaining bit is unused. * Total length(16 bits) Defines the total length (header plus data) of the IP datagram in bytes. Since the field length is 16 bits, the total length of the IP datagram is limited to 65536 (216-1) bytes, of which 20 to 60 bytes are the header and the rest is data from the upper layer. * 源主机赋予各数据报的唯一标识,当数据报分片通过子网传输时使用之。 Identification(16 bits) Identifies a datagram originating from the source host. When a datagram is fragmented, the value in the identification field is copied into all fragments. The identification number helps the destination in reassembling the datagram. All fragments having the same identification value should be assembled into one datagram. * 第1位不用,第2位为1表示不得分片,为0表示可以分片,第3位为1表示非最后的报片(后面还有) ,为0表示是最后一片或只有一片。 Flags (3 bits) The first bit is reserved. The second bit is called the do not fragment bit. If its value is 1, the machine must not fragment the datagram. If it cannot pass the datagram through any available physical network, it discards the datagram and sends an ICMP error message to the souce host. The third bit is called the more fragment bit. If its value is 1, it means the datagram is not the last fragment; If its value is 0, it means this is the last or only fragment. * 本片数据在初始数据报区中的偏移量(以8个字节为一个单位)。 Fragmentation offset (13 bits) Shows the relative positiion of this fragment with respect to the whole datagram. It is the offset of the data i
文档评论(0)