aboutgitcodebugslistschat
path: root/pcap.c
diff options
context:
space:
mode:
authorStefano Brivio <sbrivio@redhat.com>2021-06-05 14:54:12 +0200
committerStefano Brivio <sbrivio@redhat.com>2021-06-05 14:54:12 +0200
commit8b39b0b47f86e5bab88634cba1a8e9932e275f77 (patch)
tree40d43aa35b3fb6f81077890c5603ef008b7080b5 /pcap.c
parent46b799c0771bb80e7b2b4b9031bbb306f67ec17e (diff)
downloadpasst-8b39b0b47f86e5bab88634cba1a8e9932e275f77.tar
passt-8b39b0b47f86e5bab88634cba1a8e9932e275f77.tar.gz
passt-8b39b0b47f86e5bab88634cba1a8e9932e275f77.tar.bz2
passt-8b39b0b47f86e5bab88634cba1a8e9932e275f77.tar.lz
passt-8b39b0b47f86e5bab88634cba1a8e9932e275f77.tar.xz
passt-8b39b0b47f86e5bab88634cba1a8e9932e275f77.tar.zst
passt-8b39b0b47f86e5bab88634cba1a8e9932e275f77.zip
tcp: Fix window size in initial SYN, ACK segment to guest
During handshake, the initial SYN, ACK segment to the guest, send as a response to the SYN segment, needs to report the unscaled value for the window, given that the handshake hasn't completed yet. While at it, fix the endianness for the window value in case TCP parameters can't be queried via TCP_INFO and we need to use the default value. Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'pcap.c')
0 files changed, 0 insertions, 0 deletions