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:
IPV6 :
The IPv6 header structure is as follows:
TCP Header Format : RFC 793
The TCP header structure is as follows:
The UDP header structure is shown as follows:
IP TCP UDP 结构
IP Header Format : RFC 791
The IP header structure is as follows:
4 | 8 | 16 | 32 bits |
Ver. | IHL | Type of service | Total length |
Identification | Flags | Fragment offset | |
Time to live | Protocol | Header checksum | |
Source address | |||
Destination address | |||
Option + Padding | |||
Data | |||
IP header structure |
The IPv6 header structure is as follows:
4 | 4 | 16 | 24 | 32 bits |
Ver. | Priority | Flow label | ||
Payload length | Next header | Hop limit | ||
Source address (128 Bits) | ||||
Destination address (128 bits) | ||||
IPv6 header structure |
The TCP header structure is as follows:
16 | 32 bits | |||||||
Source port | Destination port | |||||||
Sequence number | ||||||||
Acknowledgement number | ||||||||
Offset | Resrvd | U | A | P | R | S | F | Window |
Checksum | Urgent pointer | |||||||
Option + Padding | ||||||||
Data | ||||||||
TCP header structure |
16 | 32 bits |
Source port | Destination port |
Length | Checksum |
Data | |
UDP header structure |
相关文章推荐
- TCP/IP/UDP/ICMP/ARP/ethernet 各种协议头部结构体
- 以太网帧,IP,TCP,UDP首部结构
- 各类报头TCP/UDP/ICMP/IP结构
- IP TCP UDP 结构
- 以太网数据包、IP包、TCP/UDP 包的结构(转)
- 【网络编程】——IP、TCP、UDP、ARP、ICMP结构
- IP/TCP/UDP/RTP/RTCP 包结构图
- IP/TCP/UDP/RTP/RTCP数据包结构
- ip tcp udp mpeg4头结构的定义
- 以太网数据包、IP包、TCP/UDP 包结构
- TCP、UDP、IP、MAC帧结构对比
- IP/TCP/UDP/RTP/RTCP 包结构图
- 各类报头TCP/UDP/ICMP/IP结构
- 以太网帧,IP,TCP,UDP首部结构
- IP/TCP/UDP/RTP/RTCP 包结构图
- 解读TCP/UDP数据包(一):IP数据包结构
- linux网络编程之IP协议首部格式与其配套使用的四个协议(ARP,RARP,ICMP,IGMP)和TCP、UDP协议头结构总结
- TCP/IP结构对应OSI与TCP、UDP协议及两者的区别
- 各类报头TCP/UDP/ICMP/IP结构