Каково значение полей TSV и TSER в Эфирном дампе?

Каково значение полей TSV и TSER в Эфирном дампе? Я пытался гуглить, но не мог найти ответ.

11
задан ire_and_curses 26 March 2010 в 16:29
поделиться

1 ответ

TSV - это поле Значение отметки времени . Он используется вместе с порядковым номером для однозначной идентификации сегментов (поскольку порядковые номера могут переноситься).

TSER - это поле Timestamp Echo Reply . Это используется в сообщениях ACK. Он содержит копию последнего полученного значения TSV. Его можно использовать для оценки времени приема-передачи (RTT = текущее время - TSER).

Поля формально описаны в 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.
19
ответ дан 3 December 2019 в 06:20
поделиться
Другие вопросы по тегам:

Похожие вопросы: