Subversion Repositories Kolibri OS

Rev

Rev 2869 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2869 Rev 2877
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: 2869 $
17
$Revision: 2877 $
Line 18... Line 18...
18
 
18
 
19
macro   TCP_checksum IP1, IP2 {
19
macro   TCP_checksum IP1, IP2 {
Line 328... Line 328...
328
;---------------------
328
;---------------------
329
; Create the IP packet
329
; Create the IP packet
Line 330... Line 330...
330
 
330
 
331
        push    cx ebx
331
        push    cx ebx
332
        mov     eax, [ebx + IP_SOCKET.RemoteIP]
332
        mov     eax, [ebx + IP_SOCKET.RemoteIP]
333
        mov     ebx, [ebx + IP_SOCKET.LocalIP]
333
        mov     edx, [ebx + IP_SOCKET.LocalIP]
334
        mov     ecx, sizeof.TCP_header
334
        mov     ecx, sizeof.TCP_header
335
        mov     di , IP_PROTO_TCP shl 8 + 128
335
        mov     di, IP_PROTO_TCP shl 8 + 128
336
        call    IPv4_output
336
        call    IPv4_output
337
        test    edi, edi
337
        test    edi, edi