User guide
© 2010 Ingenieurbüro Für Ic-Technologie Page 79
Protocol Stack Fundamentals
Example: TCP for TCP/IP
− Transmission Control Protocol - TCP
Destination Address
6 Byte MAC ID
Start-Frame-Delimiter
Source Address
6 Byte MAC ID
IP Data
7 Byte Clocksynchronisation
4 Byte CRC
2 Byte Source Port
2 Byte Destination Port
4 Byte Sequence Number
4 Byte Acknowledgement Number
2 Byte Control
2 Byte Window
2 Byte TCP Checksum
X Byte Data
IP Header
2 Byte Length / Typ
You have to process all of your data to calculate the checksum