This is our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

What is the difference between Calculated Window Size (tcp_window_size) and Window Size Value(tcp_window_size_value) on Wireshark?

asked 02 Mar '17, 07:57

armodes's gravatar image

armodes
16181923
accept rate: 0%

edited 02 Mar '17, 08:41


The tcp.window_size_value is the raw window size value as read directly from the TCP header, whereas tcp.window_size is the calculated window size, which is based on whether window scaling is applicable or not. If window scaling is not used or the scaling factor is 1 or if it's unknown whether window scaling is applicable or not because the TCP 3-way handshake was not captured, then the two values will be the same. You can tell by the tcp.window_size_scalefactor which of these conditions is applicable - if its value is -1, then it's unknown, if its value is -2, then window scaling is not used, and all other values represent an actual window scaling size factor.

For more information on the TCP window scale option, refer to RFC 1323 and/or RFC 7323, which obsoletes RFC 1323.

permanent link

answered 02 Mar '17, 10:01

cmaynard's gravatar image

cmaynard ♦♦
9.3k1038142
accept rate: 20%

Which one has an impact on the congestion window (cwnd)?

(21 Mar '17, 16:36) armodes
1

the calculated window size, because that's how big the window really is.

(21 Mar '17, 16:51) Jasper ♦♦

As the cwnd is a stack internal value wihich says how much data can be sent the size can only be guessed. The value which helps you here Ivan be in some cases the "bytes in flight".

In fact the limitations for the session are the minimum value of the cwnd or the calculated window size, depends on which value is smaller.

(21 Mar '17, 23:31) Christian_R
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×1,620
×752
×28

question asked: 02 Mar '17, 07:57

question was seen: 13,531 times

last updated: 21 Mar '17, 23:31

p​o​w​e​r​e​d by O​S​Q​A