Renamed some variables and constants in network code, removed NET_set_default function, improved TCP timers
git-svn-id: svn://kolibrios.org@3600 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
@@ -420,8 +420,8 @@ TCP_set_persist:
|
||||
|
||||
; First, check if retransmit timer is not set, retransmit and persist are mutually exclusive
|
||||
|
||||
cmp [eax + TCP_SOCKET.timer_retransmission], 0
|
||||
ja @f
|
||||
test [eax + TCP_SOCKET.timer_flags], timer_flag_retransmission
|
||||
jnz .exit
|
||||
|
||||
; calculate RTO
|
||||
push ebx
|
||||
@@ -436,13 +436,14 @@ TCP_set_persist:
|
||||
; Start/restart persistance timer.
|
||||
|
||||
TCPT_RANGESET [eax + TCP_SOCKET.timer_persist], ebx, TCP_time_pers_min, TCP_time_pers_max
|
||||
|
||||
or [ebx + TCP_SOCKET.timer_flags], timer_flag_persist
|
||||
pop ebx
|
||||
|
||||
cmp [eax + TCP_SOCKET.t_rxtshift], TCP_max_rxtshift
|
||||
jae @f
|
||||
inc [eax + TCP_SOCKET.t_rxtshift]
|
||||
@@:
|
||||
.exit:
|
||||
|
||||
ret
|
||||
|
||||
|
Reference in New Issue
Block a user