0

Given Linux is used and packet timestamping is enabled with SO_TIMESTAMPING for a TCP socket and we read now some data, what timestamp will be reported if the byte-stream which we read was merged out of multiple TCP packets (which each have different timestamps)?

I assume the newest one, but maybe there is some more magic involved in this?

Thanks a lot

3
  • 1
    I would say the answer is in paragraph 1.4 of kernel.org/doc/Documentation/networking/timestamping.txt Commented Sep 28, 2023 at 16:47
  • Thanks a lot. The answer was indeed there and it seems to be the case that the timestamp describes the moment when all the data was in the kernel buffer. Commented Sep 28, 2023 at 20:35
  • There is additional context (including the multiple flags to pass to this socket option) that you would know (and that I don't). Maybe you could answer your own question so it won't stay "unsolved"? Commented Sep 28, 2023 at 21:15

0

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.