forked from KolibriOS/kolibrios
TCP Fast ACK: Fix advertised window size
git-svn-id: svn://kolibrios.org@6913 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
e9dc6c5ab5
commit
c23792822f
@ -1,6 +1,6 @@
|
|||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
;; ;;
|
;; ;;
|
||||||
;; Copyright (C) KolibriOS team 2004-2015. All rights reserved. ;;
|
;; Copyright (C) KolibriOS team 2004-2017. All rights reserved. ;;
|
||||||
;; Distributed under terms of the GNU General Public License ;;
|
;; Distributed under terms of the GNU General Public License ;;
|
||||||
;; ;;
|
;; ;;
|
||||||
;; Part of the TCP/IP network stack for KolibriOS ;;
|
;; Part of the TCP/IP network stack for KolibriOS ;;
|
||||||
@ -303,9 +303,8 @@ tcp_respond:
|
|||||||
stosb
|
stosb
|
||||||
mov al, cl
|
mov al, cl
|
||||||
stosb
|
stosb
|
||||||
; mov ax, [esi + TCP_SOCKET.RCV_WND]
|
mov eax, [esi + TCP_SOCKET.RCV_WND]
|
||||||
; rol ax, 8
|
xchg al, ah
|
||||||
mov ax, 0x00a0 ;;;;;;; FIXME
|
|
||||||
stosw ; window
|
stosw ; window
|
||||||
xor eax, eax
|
xor eax, eax
|
||||||
stosd ; checksum + urgentpointer
|
stosd ; checksum + urgentpointer
|
||||||
|
Loading…
Reference in New Issue
Block a user