Subversion Repositories Kolibri OS

Rev

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

Rev 5522 Rev 5584
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: 5522 $
17
$Revision: 5584 $
18
 
18
 
19
align 4
19
align 4
20
iglobal
20
iglobal
Line 285... Line 285...
285
; Create the IP packet
285
; Create the IP packet
Line 286... Line 286...
286
 
286
 
287
        push    cx ebx
287
        push    cx ebx
288
        mov     eax, [ebx + IP_SOCKET.RemoteIP]
288
        mov     eax, [ebx + IP_SOCKET.RemoteIP]
-
 
289
        mov     edx, [ebx + IP_SOCKET.LocalIP]
289
        mov     edx, [ebx + IP_SOCKET.LocalIP]
290
        mov     ebx, [ebx + IP_SOCKET.device]
290
        mov     ecx, sizeof.TCP_header
291
        mov     ecx, sizeof.TCP_header
291
        mov     di, IP_PROTO_TCP shl 8 + 128
292
        mov     di, IP_PROTO_TCP shl 8 + 128
292
        call    IPv4_output
293
        call    IPv4_output
293
        jz      .error
294
        jz      .error
Line 370... Line 371...
370
        push    cx edx
371
        push    cx edx
371
        mov     edx, [edi + 4]
372
        mov     edx, [edi + 4]
372
        mov     eax, [edi]
373
        mov     eax, [edi]
373
        mov     ecx, sizeof.TCP_header
374
        mov     ecx, sizeof.TCP_header
374
        mov     di, IP_PROTO_TCP shl 8 + 128
375
        mov     di, IP_PROTO_TCP shl 8 + 128
-
 
376
        xor     ebx, ebx                        ;;; fixme
375
        call    IPv4_output
377
        call    IPv4_output
376
        jz      .error
378
        jz      .error
377
        pop     esi cx
379
        pop     esi cx
Line 378... Line 380...
378
 
380