Subversion Repositories Kolibri OS

Rev

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

Rev 5565 Rev 5594
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