How is the window scale set/calculated in the TCP/IP implementation of the Linux kernel? -
can point out exact location in kernel source tree , exact algorithm of how window scale of tcp packet calculated/set in linux kernel?
most other tcp options ttl , window buffer size seem directly hardcoded in kernel.
the window scale of tcp packet isn't calculated @ all. tcp packets don't have window scales. connections have window scales, , fixed when connection completed, based on size of socket receive buffer , possibly system defaults, in such way 16 bit value shifted scale can encompass entire socket receive buffer.
Comments
Post a Comment