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
;-----------------------------------------------------------------
19
;-----------------------------------------------------------------
20
;
20
;
Line 502... Line 502...
502
;---------------------
502
;---------------------
503
; Create the IP packet
503
; Create the IP packet
Line 504... Line 504...
504
 
504
 
505
        mov     ecx, esi
505
        mov     ecx, esi
-
 
506
        mov     edx, [eax + IP_SOCKET.LocalIP]  ; source ip
506
        mov     edx, [eax + IP_SOCKET.LocalIP]  ; source ip
507
        mov     ebx, [eax + IP_SOCKET.device]
507
        mov     eax, [eax + IP_SOCKET.RemoteIP] ; dest ip
508
        mov     eax, [eax + IP_SOCKET.RemoteIP] ; dest ip
508
        mov     di, IP_PROTO_TCP shl 8 + 128
509
        mov     di, IP_PROTO_TCP shl 8 + 128
509
        call    IPv4_output
510
        call    IPv4_output