The TCP header length

The TCP header, shown in the TCP chapter of Computer Networking: Principles, Protocols and Practice contains a TCP Header Length or Data Offset field that indicates the start of the payload of a TCP segment.


TCP Header Length

The TCP segment was sent inside an IPv6 packet whose payload length is set to 34 bytes. Can you recompute its TCP Header Length ?

# Length Resumé Status
0 72 bytes <TCP: ACK, PSH, SEQ: 2810389304, ACK: 2100570799, TS>  

0000  600cb14c0022063d  200107ab00010000  
0010  000000000000000a  200107ab00030000  
0020  000000000000000c  d20004d2a7832338  
0030  7d342aaf??187080  4f9a00000101080a  
0040  000476b10004759d                    

0000  `.±L.".= ..«....
0010  ........ ..«....
0020  ........Ò..Ò§.#8
0030  }4*¯?.p.O.......
0040  ..v±..u.        
  • IPv6:
    • Version: 6
    • Traffic Class UB: 0
    • Traffic Class LB: 0
    • Flow Label UB: 12
    • Flow Label LB: 45388
    • Payload Length: 34
    • Next Header: 6
    • Hop Limit: 61
    • Source Address: 2001:7ab:1::a
    • Destination Address: 2001:7ab:3::c
    • Payload: TCP
      • Source Port: 53760
      • Destination Port: 1234
      • Sequence Number: 2810389304
      • Acknowledgment Number: 2100570799
      • Data Offset:
      • Reserved: 0
      • NS: 0
      • CWR: 0
      • ECE: 0
      • URG: 0
      • ACK: 1
      • PSH: 1
      • RST: 0
      • SYN: 0
      • FIN: 0
      • Window: 28800
      • Checksum: 20378
      • Urgent Pointer: 0
      • Options: No-Operation
        • Kind: 1
      • Options: No-Operation
        • Kind: 1
      • Options: Timestamps Option
        • Kind: 8
        • Length: 10
        • TS Value: 292529
        • TS Echo Reply: 292253

Information

Author(s) Olivier Bonaventure
Deadline No deadline
Submission limit No limitation
Category Tags TCP

Sign in