Subversion Repositories Kolibri OS

Rev

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

Rev 3555 Rev 3589
Line 117... Line 117...
117
;---------------------------
117
;---------------------------
Line 118... Line 118...
118
 
118
 
119
align 4
119
align 4
Line 120... Line 120...
120
TCP_pull_out_of_band:
120
TCP_pull_out_of_band:
Line 121... Line 121...
121
 
121
 
Line 122... Line 122...
122
        DEBUGF  1,"TCP_pull_out_of_band\n"
122
        DEBUGF  DEBUG_NETWORK_VERBOSE, "TCP_pull_out_of_band\n"
Line 143... Line 143...
143
;
143
;
144
;-------------------------
144
;-------------------------
145
align 4
145
align 4
146
TCP_drop:
146
TCP_drop:
Line 147... Line 147...
147
 
147
 
Line 148... Line 148...
148
        DEBUGF  1,"TCP_drop: %x\n", eax
148
        DEBUGF  DEBUG_NETWORK_VERBOSE, "TCP_drop: %x\n", eax
149
 
149
 
Line 150... Line 150...
150
        cmp     [eax + TCP_SOCKET.t_state], TCPS_SYN_RECEIVED
150
        cmp     [eax + TCP_SOCKET.t_state], TCPS_SYN_RECEIVED
Line 182... Line 182...
182
;
182
;
183
;-------------------------
183
;-------------------------
184
align 4
184
align 4
185
TCP_close:
185
TCP_close:
Line 186... Line 186...
186
 
186
 
Line 187... Line 187...
187
        DEBUGF  1,"TCP_close: %x\n", eax
187
        DEBUGF  DEBUG_NETWORK_VERBOSE, "TCP_close: %x\n", eax
188
 
188
 
Line 189... Line 189...
189
;;; TODO: update RTT and mean deviation
189
;;; TODO: update RTT and mean deviation
Line 210... Line 210...
210
TCP_outflags:
210
TCP_outflags:
Line 211... Line 211...
211
 
211
 
212
        mov     edx, [eax + TCP_SOCKET.t_state]
212
        mov     edx, [eax + TCP_SOCKET.t_state]
Line 213... Line 213...
213
        movzx   edx, byte [edx + .flaglist]
213
        movzx   edx, byte [edx + .flaglist]
Line 214... Line 214...
214
 
214
 
Line 215... Line 215...
215
        DEBUGF  1,"TCP_outflags: socket=%x flags=%x\n", eax, dl
215
        DEBUGF  DEBUG_NETWORK_VERBOSE, "TCP_outflags: socket=%x flags=%x\n", eax, dl
Line 246... Line 246...
246
;
246
;
247
;--------------------------------------
247
;--------------------------------------
248
align 4
248
align 4
249
TCP_respond:
249
TCP_respond:
Line 250... Line 250...
250
 
250
 
Line 251... Line 251...
251
        DEBUGF  1,"TCP_respond_socket: socket=%x flags=%x\n", ebx, cl
251
        DEBUGF  DEBUG_NETWORK_VERBOSE, "TCP_respond_socket: socket=%x flags=%x\n", ebx, cl
252
 
252
 
Line 253... Line 253...
253
;---------------------
253
;---------------------
Line 303... Line 303...
303
 
303
 
304
        call    [ebx + NET_DEVICE.transmit]
304
        call    [ebx + NET_DEVICE.transmit]
Line 305... Line 305...
305
        ret
305
        ret
306
 
306
 
307
  .error:
307
  .error:
Line 308... Line 308...
308
        DEBUGF  1,"TCP_respond_socket: failed\n"
308
        DEBUGF  DEBUG_NETWORK_VERBOSE, "TCP_respond_socket: failed\n"
Line 325... Line 325...
325
;        cl = flags
325
;        cl = flags
Line 326... Line 326...
326
 
326
 
327
align 4
327
align 4
Line 328... Line 328...
328
TCP_respond_segment:
328
TCP_respond_segment:
Line 329... Line 329...
329
 
329
 
330
        DEBUGF  1,"TCP_respond_segment: frame=%x flags=%x\n", edx, cl
330
        DEBUGF  DEBUG_NETWORK_VERBOSE,"TCP_respond_segment: frame=%x flags=%x\n", edx, cl
Line 331... Line 331...
331
 
331
 
Line 379... Line 379...
379
 
379
 
380
        call    [ebx + NET_DEVICE.transmit]
380
        call    [ebx + NET_DEVICE.transmit]
Line 381... Line 381...
381
        ret
381
        ret
382
 
382
 
383
  .error:
383
  .error:
Line 384... Line 384...
384
        DEBUGF  1,"TCP_respond_segment: failed\n"
384
        DEBUGF  DEBUG_NETWORK_VERBOSE, "TCP_respond_segment: failed\n"
Line 414... Line 414...
414
 
414
 
415
 
415
 
Line 416... Line 416...
416
align 4
416
align 4
Line 417... Line 417...
417
TCP_set_persist:
417
TCP_set_persist:
Line 418... Line 418...
418
 
418
 
419
        DEBUGF  1,"TCP_set_persist\n"
419
        DEBUGF  DEBUG_NETWORK_VERBOSE, "TCP_set_persist\n"
Line 452... Line 452...
452
; ebx = socket ptr
452
; ebx = socket ptr
Line 453... Line 453...
453
 
453
 
454
align 4
454
align 4
Line 455... Line 455...
455
TCP_xmit_timer:
455
TCP_xmit_timer:
Line 456... Line 456...
456
 
456
 
Line 457... Line 457...
457
        DEBUGF  1,"TCP_xmit_timer: socket=%x rtt=%d0ms\n", ebx, eax
457
        DEBUGF  DEBUG_NETWORK_VERBOSE, "TCP_xmit_timer: socket=%x rtt=%d0ms\n", ebx, eax
458
 
458