Subversion Repositories Kolibri OS

Rev

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

Rev 6914 Rev 6916
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: 6914 $
17
$Revision: 6916 $
Line 18... Line 18...
18
 
18
 
19
TCP_BIT_SENDALOT        = 1 shl 0
19
TCP_BIT_SENDALOT        = 1 shl 0
Line 88... Line 88...
88
 
88
 
89
; If in persist timeout with window of 0, send 1 byte.
89
; If in persist timeout with window of 0, send 1 byte.
90
; Otherwise, if window is small but nonzero, and timer expired,
90
; Otherwise, if window is small but nonzero, and timer expired,
Line 91... Line 91...
91
; we will send what we can and go to transmit state
91
; we will send what we can and go to transmit state
92
 
92
 
Line 93... Line 93...
93
        cmp     [eax + TCP_SOCKET.t_force], 0
93
        test    [eax + TCP_SOCKET.t_flags], TF_FORCE
Line 94... Line 94...
94
        je      .no_force
94
        jz      .no_force
95
 
95
 
Line 198... Line 198...
198
        mov     ebx, [eax + TCP_SOCKET.SND_MAX]
198
        mov     ebx, [eax + TCP_SOCKET.SND_MAX]
199
        cmp     ebx, [eax + TCP_SOCKET.SND_UNA]
199
        cmp     ebx, [eax + TCP_SOCKET.SND_UNA]
200
        je      .send
200
        je      .send
201
       @@:
201
       @@:
Line 202... Line 202...
202
 
202
 
203
        test    [eax + TCP_SOCKET.t_force], -1  ;;;
203
        test    [eax + TCP_SOCKET.t_flags], TF_FORCE
Line 204... Line 204...
204
        jnz     .send
204
        jnz     .send
205
 
205
 
206
        mov     ebx, [eax + TCP_SOCKET.max_sndwnd]
206
        mov     ebx, [eax + TCP_SOCKET.max_sndwnd]
Line 422... Line 422...
422
; Update stats
422
; Update stats
Line 423... Line 423...
423
 
423
 
424
        test    esi, esi
424
        test    esi, esi
Line 425... Line 425...
425
        jz      .zero_data
425
        jz      .zero_data
426
 
426
 
427
        cmp     [eax + TCP_SOCKET.t_force], 1
427
        test    [eax + TCP_SOCKET.t_flags], TF_FORCE
428
        jne     @f
428
        jz      @f
429
        cmp     esi, 1
429
        cmp     esi, 1
430
        jne     @f
430
        jne     @f
431
        inc     [TCPS_sndprobe]
431
        inc     [TCPS_sndprobe]