Subversion Repositories Kolibri OS

Rev

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

Rev 5442 Rev 5522
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: 5442 $
17
$Revision: 5522 $
18
 
18
 
19
;-----------------------------------------------------------------
19
;-----------------------------------------------------------------
20
;
20
;
Line 520... Line 520...
520
        pop     ecx                     ; full TCP packet size
520
        pop     ecx                     ; full TCP packet size
Line 521... Line 521...
521
 
521
 
522
        pop     esi                     ; headersize
522
        pop     esi                     ; headersize
Line 523... Line -...
523
        add     esp, esi                ; remove it from stack
-
 
524
 
523
        add     esp, esi                ; remove it from stack
Line 525... Line 524...
525
        push    edx                     ; packet size for send proc
524
 
526
        push    eax                     ; packet ptr for send proc
525
        push    eax                     ; packet ptr for send proc
527
 
526
 
Line 535... Line 534...
535
 
534
 
536
; eax = ptr to ring struct
535
; eax = ptr to ring struct
537
; ecx = buffer size
536
; ecx = buffer size
Line 538... Line 537...
538
; edi = ptr to buffer
537
; edi = ptr to buffer
Line 539... Line 538...
539
 
538
 
540
        mov     eax, [esp + 16]                 ; get socket ptr
539
        mov     eax, [esp + 12]                 ; get socket ptr
541
 
540
 
542
        push    edx
541
        push    edx
Line 550... Line 549...
550
        call    SOCKET_ring_read
549
        call    SOCKET_ring_read
551
  .nodata:
550
  .nodata:
552
        pop     edi
551
        pop     edi
553
        pop     esi                             ; begin of data
552
        pop     esi                             ; begin of data
554
        pop     ecx                             ; full packet size
553
        pop     ecx                             ; full packet size
555
        mov     eax, [esp + 12]                 ; socket ptr
554
        mov     eax, [esp + 8]                  ; socket ptr
Line 556... Line 555...
556
 
555
 
557
;----------------------------------
556
;----------------------------------
Line 558... Line 557...
558
; initialize retransmit timer (400)
557
; initialize retransmit timer (400)