Subversion Repositories Kolibri OS

Rev

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

Rev 2995 Rev 3143
Line 1... Line 1...
1
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2
;;                                                                 ;;
2
;;                                                                 ;;
3
;; Copyright (C) KolibriOS team 2004-2012. All rights reserved.    ;;
3
;; Copyright (C) KolibriOS team 2004-2012. All rights reserved.    ;;
4
;; Distributed under terms of the GNU General Public License       ;;
4
;; Distributed under terms of the GNU General Public License       ;;
5
;;                                                                 ;;
5
;;                                                                 ;;
6
;;  Part of the tcp/ip network stack for KolibriOS                 ;;
6
;;  Part of the TCP/IP network stack for KolibriOS                 ;;
7
;;                                                                 ;;
7
;;                                                                 ;;
8
;;   Written by hidnplayr@kolibrios.org                            ;;
8
;;   Written by hidnplayr@kolibrios.org                            ;;
9
;;                                                                 ;;
9
;;                                                                 ;;
10
;;    Based on the code of 4.4BSD                                  ;;
10
;;    Based on the code of 4.4BSD                                  ;;
11
;;                                                                 ;;
11
;;                                                                 ;;
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: 2995 $
17
$Revision: 3143 $
18
 
18
 
19
;-----------------------------------------------------------------
19
;-----------------------------------------------------------------
20
;
20
;
Line 189... Line 189...
189
 
189
 
190
;-------------------------------------
190
;-------------------------------------
Line 191... Line 191...
191
; Reset idle timer and keepalive timer
191
; Reset idle timer and keepalive timer
192
 
192
 
Line 193... Line 193...
193
        mov     [ebx + TCP_SOCKET.t_idle], 0
193
        mov     [ebx + TCP_SOCKET.t_idle], 0
194
        mov     [ebx + TCP_SOCKET.timer_keepalive], TCP_time_keep_interval
194
        mov     [ebx + TCP_SOCKET.timer_keepalive], TCP_time_keep_idle
Line 195... Line 195...
195
 
195
 
Line 1499... Line 1499...
1499
 
1499
 
1500
 
1500
 
1501
  .respond_ack:
1501
  .respond_ack:
1502
        push    ebx
1502
        push    ebx
1503
        mov     cl, TH_RST
1503
        mov     cl, TH_RST
1504
        call    TCP_respond_socket
1504
        call    TCP_respond
Line 1505... Line 1505...
1505
        pop     ebx
1505
        pop     ebx
1506
        jmp     .destroy_new_socket
1506
        jmp     .destroy_new_socket
1507
 
1507
 
1508
 
1508
 
1509
  .respond_syn:
1509
  .respond_syn:
1510
        push    ebx
1510
        push    ebx