您的位置:首页 > 理论基础 > 计算机网络

IP TCP UDP 结构

2011-04-18 17:49 363 查看
[come from: http://www.cnblogs.com/davidlili/archive/2006/08/29/489918.html]

IP TCP UDP 结构
IP Header Format : RFC 791

The IP header structure is as follows:



4
8
16
32 bits
Ver.IHLType of serviceTotal length
IdentificationFlagsFragment offset
Time to liveProtocolHeader checksum
Source address
Destination address
Option + Padding
Data
IP header structure
IPV6 :



The IPv6 header structure is as follows:

4
4
16
24
32 bits
Ver.PriorityFlow label
Payload lengthNext headerHop limit
Source address
(128 Bits)
Destination address
(128 bits)
IPv6 header structure
TCP Header Format : RFC 793

The TCP header structure is as follows:

16
32 bits
Source portDestination port
Sequence number
Acknowledgement number
OffsetResrvdUAPRSFWindow
ChecksumUrgent pointer
Option + Padding
Data
TCP header structure
The UDP header structure is shown as follows:

16
32 bits
Source portDestination port
LengthChecksum
Data
UDP header structure
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: