Subversion Repositories Kolibri OS

Rev

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

Rev 4850 Rev 5013
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: 4850 $
17
$Revision: 5013 $
18
 
18
 
19
; Socket states
19
; Socket states
20
TCPS_CLOSED             = 0
20
TCPS_CLOSED             = 0
Line 139... Line 139...
139
;        TCP_bytes_rx            rq NET_DEVICES_MAX
139
;        TCP_bytes_rx            rq NET_DEVICES_MAX
140
;        TCP_bytes_tx            rq NET_DEVICES_MAX
140
;        TCP_bytes_tx            rq NET_DEVICES_MAX
141
        TCP_sequence_num        dd ?
141
        TCP_sequence_num        dd ?
142
        TCP_queue               rd (TCP_QUEUE_SIZE*sizeof.TCP_queue_entry + sizeof.queue)/4
142
        TCP_queue               rd (TCP_QUEUE_SIZE*sizeof.TCP_queue_entry + sizeof.queue)/4
143
        TCP_input_event         dd ?
143
        TCP_input_event         dd ?
-
 
144
        TCP_timer1_event        dd ?
144
endg
145
endg
Line 145... Line 146...
145
 
146
 
146
uglobal
147
uglobal
Line 222... Line 223...
222
        movi    ebx, 1
223
        movi    ebx, 1
223
        mov     ecx, TCP_process_input
224
        mov     ecx, TCP_process_input
224
        call    new_sys_threads
225
        call    new_sys_threads
225
        test    eax, eax
226
        test    eax, eax
226
        jns     @f
227
        jns     @f
227
        DEBUGF  DEBUG_NETWORK_ERROR,'K : cannot create kernel thread for TCP, error %d\n', eax
228
        DEBUGF  DEBUG_NETWORK_ERROR,'K : cannot create kernel thread for TCP input, error %d\n', eax
-
 
229
  @@:
-
 
230
 
-
 
231
        movi    ebx, 1
-
 
232
        mov     ecx, TCP_timer_640ms
-
 
233
        call    new_sys_threads
-
 
234
        test    eax, eax
-
 
235
        jns     @f
-
 
236
        DEBUGF  DEBUG_NETWORK_ERROR,'K : cannot create kernel thread for TCP timer, error %d\n', eax
228
  @@:
237
  @@:
Line 229... Line 238...
229
 
238