Transmission Control Protocol - TCP Header (RFC 793)
Source Port Number (16-bit)
Destination Port Number (16-bit)
Acknowledgement Number (32-bit)
TCP Opitions (variable length…) (if any)
TCP Options Length = TCP Header Length in the current packet - 20 bytes (Minimum TCP Header Length)
data (variable length…)
Length of Packet Payload = IP Total Length - (IP Header Length + TCP Header Length)
32-bit number uniquely identifies initial byte of segment data.
Represents next byte of data receiving host expects: (last received sequence number + 1)
Number of 32-bit words in TCP header
minimum value 5 (5x4=20bytes)
maximum value 15 (5x15=60bytes)
Congestion Window Reduced (CWR)
Set to 0 unless ECN is used.
(1 = sender cuts congestion window in half)
Explicit Congestion Notification Echo (ECN)
Set to 0 unless ECN is used.
(1 = receiver cuts congestion window in half)
(Note: Push means don't buffer data but push it to be processes as soon as it comes in.)
Acts as flow control. Window size dynamically changes as data is received. A 0 window size tells src host to wait.
Covers psedo header (IP Header source and destinstation addresses, the protocol and the computed TCP length (the
TCP header length the and data length in octets)) and the TCP header
Points to the sequence number of the octet following the urgent data.