2010-03-26 7 views

risposta

17

TSV è il campo Timestamp Value. Viene utilizzato insieme al numero di sequenza per identificare in modo univoco i segmenti (poiché i numeri di sequenza possono essere avvolti).

TSER è il campo Timestamp Echo Reply. Questo è usato nei messaggi ACK. Contiene una copia dell'ultimo valore TSV ricevuto. Può essere utilizzato per la stima del tempo di andata e ritorno (RTT = ora corrente - TSER).

I campi sono formalmente descritte in RFC 1323 (TCP Extensions for High Performance):

TCP Timestamps Option (TSopt): 

    Kind: 8 

    Length: 10 bytes 

     +-------+-------+---------------------+---------------------+ 
     |Kind=8 | 10 | TS Value (TSval) |TS Echo Reply (TSecr)| 
     +-------+-------+---------------------+---------------------+ 
      1  1    4      4 

    The Timestamps option carries two four-byte timestamp fields. 
    The Timestamp Value field (TSval) contains the current value of 
    the timestamp clock of the TCP sending the option. 

    The Timestamp Echo Reply field (TSecr) is only valid if the ACK 
    bit is set in the TCP header; if it is valid, it echos a times- 
    tamp value that was sent by the remote TCP in the TSval field 
    of a Timestamps option. When TSecr is not valid, its value 
    must be zero. The TSecr value will generally be from the most 
    recent Timestamp option that was received; however, there are 
    exceptions that are explained below. 
Problemi correlati