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

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -