Rev 6476 | Rev 6914 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 6476 | Rev 6909 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
1 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
2 | ;; ;; |
2 | ;; ;; |
3 | ;; Copyright (C) KolibriOS team 2004-2016. All rights reserved. ;; |
3 | ;; Copyright (C) KolibriOS team 2004-2017. All rights reserved. ;; |
4 | ;; Distributed under terms of the GNU General Public License ;; |
4 | ;; Distributed under terms of the GNU General Public License ;; |
5 | ;; ;; |
5 | ;; ;; |
6 | ;; Part of the TCP/IP network stack for KolibriOS ;; |
6 | ;; Part of the TCP/IP network stack for KolibriOS ;; |
7 | ;; ;; |
7 | ;; ;; |
8 | ;; Written by hidnplayr@kolibrios.org ;; |
8 | ;; Written by hidnplayr@kolibrios.org ;; |
Line 12... | Line 12... | ||
12 | ;; GNU GENERAL PUBLIC LICENSE ;; |
12 | ;; GNU GENERAL PUBLIC LICENSE ;; |
13 | ;; Version 2, June 1991 ;; |
13 | ;; Version 2, June 1991 ;; |
14 | ;; ;; |
14 | ;; ;; |
15 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
15 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
Line 16... | Line 16... | ||
16 | 16 | ||
Line 17... | Line 17... | ||
17 | $Revision: 6476 $ |
17 | $Revision: 6909 $ |
Line 18... | Line 18... | ||
18 | 18 | ||
19 | TCP_BIT_SENDALOT = 1 shl 0 |
19 | TCP_BIT_SENDALOT = 1 shl 0 |
Line 485... | Line 485... | ||
485 | @@: |
485 | @@: |
Line 486... | Line 486... | ||
486 | 486 | ||
487 | mov ecx, [eax + TCP_SOCKET.RCV_ADV] |
487 | mov ecx, [eax + TCP_SOCKET.RCV_ADV] |
488 | sub ecx, [eax + TCP_SOCKET.RCV_NXT] |
488 | sub ecx, [eax + TCP_SOCKET.RCV_NXT] |
489 | cmp ebx, ecx |
489 | cmp ebx, ecx |
490 | ja @f |
490 | jg @f |
491 | mov ebx, ecx |
491 | mov ebx, ecx |
Line 492... | Line 492... | ||
492 | @@: |
492 | @@: |
493 | 493 |