Subversion Repositories Kolibri OS

Rev

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

Rev 5584 Rev 5842
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: 5584 $
17
$Revision: 5842 $
18
 
18
 
19
;-----------------------------------------------------------------
19
;-----------------------------------------------------------------
20
;
20
;
Line 501... Line 501...
501
 
501
 
502
;---------------------
502
;---------------------
Line 503... Line 503...
503
; Create the IP packet
503
; Create the IP packet
504
 
-
 
505
        mov     ecx, esi
504
 
-
 
505
        mov     ecx, esi
506
        mov     edx, [eax + IP_SOCKET.LocalIP]  ; source ip
506
        mov     ebx, [eax + IP_SOCKET.device]
-
 
507
        mov     edx, [eax + IP_SOCKET.LocalIP]  ; source ip
507
        mov     ebx, [eax + IP_SOCKET.device]
508
        mov     edi, [eax + IP_SOCKET.RemoteIP] ; dest ip
508
        mov     eax, [eax + IP_SOCKET.RemoteIP] ; dest ip
509
        mov     al, [eax + IP_SOCKET.ttl]
509
        mov     di, IP_PROTO_TCP shl 8 + 128
510
        mov     ah, IP_PROTO_TCP
Line 510... Line 511...
510
        call    IPv4_output
511
        call    IPv4_output
511
        jz      .ip_error
512
        jz      .ip_error