Rev 6512 | Rev 7098 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 6512 | Rev 6913 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
1 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
2 | ;; ;; |
2 | ;; ;; |
3 | ;; Copyright (C) KolibriOS team 2004-2015. 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: 6512 $ |
17 | $Revision: 6913 $ |
18 | 18 | ||
19 | align 4 |
19 | align 4 |
20 | iglobal |
20 | iglobal |
Line 301... | Line 301... | ||
301 | stosd |
301 | stosd |
302 | mov al, 0x50 ; Dataoffset: 20 bytes (TCP_header.DataOffset) |
302 | mov al, 0x50 ; Dataoffset: 20 bytes (TCP_header.DataOffset) |
303 | stosb |
303 | stosb |
304 | mov al, cl |
304 | mov al, cl |
305 | stosb |
305 | stosb |
306 | ; mov ax, [esi + TCP_SOCKET.RCV_WND] |
306 | mov eax, [esi + TCP_SOCKET.RCV_WND] |
307 | ; rol ax, 8 |
307 | xchg al, ah |
308 | mov ax, 0x00a0 ;;;;;;; FIXME |
- | |
309 | stosw ; window |
308 | stosw ; window |
310 | xor eax, eax |
309 | xor eax, eax |
311 | stosd ; checksum + urgentpointer |
310 | stosd ; checksum + urgentpointer |
Line 312... | Line 311... | ||
312 | 311 |