Source Port # (16)Destination Port # (16) Sequence Number (32 bits) Acknowledgement Number (32 bits) Hdr Len (4) Flags (6)Window Size (16) Options (if any)PAD Bit 0Bit 31 Reserved (6) TCP Checksum (16)Urgent Pointer (16) TCP Data Field A: Acknowledgement S: Synchronization F: Final
Total Length in bytes (16) Time to Live (8) Options (if any) Bit 0Bit 31 Version (4) Hdr Len (4) TOS (8) Indication (16 bits)Flags (3)Fragment Offset (13) Source IP Address Destination IP Address Header Checksum (16)Protocol (8) PAD Data Field Packet IP Address Classes Class A: Class B: Class C:
… Ethernet Frame Preamble (7 octets) … Start of Frame Delimiter (1 octet) Destination Ethernet (MAC) Address (48 bits) Source Ethernet (MAC) Address (48 bits) Length (2 octets) Length of Data Field Data Field (variable length) PAD (added if data field < 46 octets) Frame Check Sequence (32 bits) LLC Subheader (usually 7 octets) Usually IP Packet Frame
Hex/Binary/Dec Conversion Table