TCP/IP
应用层
应用层
表示层
会话层
传输层
传输层
网络层
网络层
数据链路层
数据链路层
物理层
物理层
TCP
SRC32
DEST32
Zeros8
protocol8
Tcp-Length16
SRC-Port16
DEST-Port16
SEQ-NO32
ACK-NO32
Data-Offset4
Reserved3
NS1
CWR1
ECE1
URG1
ACK1
PSH1
RST1
SYN1
FIN1
Window-Size16
Checksum16
Urgent-Pointer16
Options16
Data16
Connection Establishment
- ClientSYNSEQ=randomServer
- ClientSYN ACKACK=SEQ+1 SEQ=randomServer
- ClientACKACK=1Server
Data Transmition
- ClientPSH ACKSEQ ACKServer
- ClientACKACK=SEQServer
Connection Termination
- SideAFINSEQ=ACK ACK=ACKSideB
- SideAFINSEQ=ACK ACK=SEQ+1SideB
- SideAACKACK=SEQ+1SideB
SRC32
DEST32
Zeros8
protocol8
Tcp-Length16
SRC-Port16
DEST-Port16
SEQ-NO32
ACK-NO32
Data-Offset4
Reserved3
NS1
CWR1
ECE1
URG1
ACK1
PSH1
RST1
SYN1
FIN1
Window-Size16
Checksum16
Urgent-Pointer16
Options16
Data16
UDP