Re: Would like know when the tcp sequence no is rollover

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ramana Reddy <gtvrreddy@xxxxxxxxx> 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

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies




[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux