Sept. 18, 2015
7:50 a.m.
Ramana Reddy <gtvrreddy@gmail.com> writes:
Hi all,
I would like to know, when the TCP sequence no is rollover. Who will do it. Is it happens in tcp code or through the hardware. If is it is in the tcp code, can some one please point the code in the linux kernel where it happens.
Why this interest in TCP sequence numbers? I believe RFC793 is a better source for understanding how this works: It is essential to remember that the actual sequence number space is finite, though very large. This space ranges from 0 to 2**32 - 1. Since the space is finite, all arithmetic dealing with sequence numbers must be performed modulo 2**32. Do you still think you'll find an explicit rollover code path? Why would you write code like that? Bjørn