Subversion Repositories Kolibri OS

Rev

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

Rev 1318 Rev 1473
Line 14... Line 14...
14
;;             Version 2, June 1991                                ;;
14
;;             Version 2, June 1991                                ;;
15
;;                                                                 ;;
15
;;                                                                 ;;
16
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
16
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Line 17... Line 17...
17
 
17
 
Line 18... Line 18...
18
 
18
 
19
$Revision: 1318 $
19
$Revision: 1473 $
20
 
20
 
21
TCP_RETRIES		equ 5		; Number of times to resend a Packet
21
TCP_RETRIES		equ 5		; Number of times to resend a Packet
Line 137... Line 137...
137
align 4
137
align 4
138
TCP_decrease_socket_ttls:
138
TCP_decrease_socket_ttls:
139
; scan through all the sockets, decrementing active timers
139
; scan through all the sockets, decrementing active timers
Line 140... Line 140...
140
 
140
 
141
	mov	ebx, net_sockets
-
 
142
 
141
	mov	ebx, net_sockets
143
	cmp	[ebx + SOCKET_head.NextPtr], 0
142
	cmp	[ebx + SOCKET_head.NextPtr], 0
144
	je	.exit
-
 
145
 
143
	je	.exit
146
  .next_socket:
144
  .next_socket:
147
	mov	ebx, [ebx + SOCKET_head.NextPtr]
145
	mov	ebx, [ebx + SOCKET_head.NextPtr]
148
	or	ebx, ebx
146
	or	ebx, ebx