Rev 3737 | Rev 4366 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3737 | Rev 3752 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
1 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
2 | ;; ;; |
2 | ;; ;; |
3 | ;; Copyright (C) KolibriOS team 2004-2012. All rights reserved. ;; |
3 | ;; Copyright (C) KolibriOS team 2004-2013. 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 336... | Line 336... | ||
336 | 336 | ||
337 | ;--------------------- |
337 | ;--------------------- |
Line 338... | Line 338... | ||
338 | ; Create the IP packet |
338 | ; Create the IP packet |
339 | 339 | ||
340 | push cx edx |
340 | push cx edx |
341 | mov ebx, [edi + 4] |
341 | mov edx, [edi + 4] |
342 | mov eax, [edi] |
342 | mov eax, [edi] |
343 | mov ecx, sizeof.TCP_header |
343 | mov ecx, sizeof.TCP_header |
344 | mov di, IP_PROTO_TCP shl 8 + 128 |
344 | mov di, IP_PROTO_TCP shl 8 + 128 |