* Would like know when the tcp sequence no is rollover
@ 2015-09-18 6:51 Ramana Reddy
2015-09-18 7:50 ` Bjørn Mork
0 siblings, 1 reply; 4+ messages in thread
From: Ramana Reddy @ 2015-09-18 6:51 UTC (permalink / raw)
To: kernelnewbies
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.
Thanks & Regards,
Ramana
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20150918/6cd9fc39/attachment.html
^ permalink raw reply [flat|nested] 4+ messages in thread
* Would like know when the tcp sequence no is rollover
2015-09-18 6:51 Would like know when the tcp sequence no is rollover Ramana Reddy
@ 2015-09-18 7:50 ` Bjørn Mork
[not found] ` <CAL2CrsNq3RKSKnJgtsz+RjhgVypjbawYADubjos+fNKTL6d4qg@mail.gmail.com>
0 siblings, 1 reply; 4+ messages in thread
From: Bjørn Mork @ 2015-09-18 7:50 UTC (permalink / raw)
To: kernelnewbies
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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-09-20 9:33 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-18 6:51 Would like know when the tcp sequence no is rollover Ramana Reddy
2015-09-18 7:50 ` Bjørn Mork
[not found] ` <CAL2CrsNq3RKSKnJgtsz+RjhgVypjbawYADubjos+fNKTL6d4qg@mail.gmail.com>
2015-09-20 9:19 ` Ramana Reddy
2015-09-20 9:33 ` Bjørn Mork
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).