Rev 3556 | Rev 3644 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3556 | Rev 3600 | ||
---|---|---|---|
Line 418... | Line 418... | ||
418 | 418 | ||
Line 419... | Line 419... | ||
419 | DEBUGF DEBUG_NETWORK_VERBOSE, "TCP_set_persist\n" |
419 | DEBUGF DEBUG_NETWORK_VERBOSE, "TCP_set_persist\n" |
Line 420... | Line 420... | ||
420 | 420 | ||
421 | ; First, check if retransmit timer is not set, retransmit and persist are mutually exclusive |
421 | ; First, check if retransmit timer is not set, retransmit and persist are mutually exclusive |
Line 422... | Line 422... | ||
422 | 422 | ||
423 | cmp [eax + TCP_SOCKET.timer_retransmission], 0 |
423 | test [eax + TCP_SOCKET.timer_flags], timer_flag_retransmission |
424 | ja @f |
424 | jnz .exit |
425 | 425 | ||
Line 434... | Line 434... | ||
434 | shl ebx, cl |
434 | shl ebx, cl |
Line 435... | Line 435... | ||
435 | 435 | ||
Line 436... | Line 436... | ||
436 | ; Start/restart persistance timer. |
436 | ; Start/restart persistance timer. |
437 | - | ||
- | 437 | ||
438 | TCPT_RANGESET [eax + TCP_SOCKET.timer_persist], ebx, TCP_time_pers_min, TCP_time_pers_max |
438 | TCPT_RANGESET [eax + TCP_SOCKET.timer_persist], ebx, TCP_time_pers_min, TCP_time_pers_max |
Line 439... | Line 439... | ||
439 | 439 | or [ebx + TCP_SOCKET.timer_flags], timer_flag_persist |
|
440 | pop ebx |
440 | pop ebx |
441 | 441 | ||
442 | cmp [eax + TCP_SOCKET.t_rxtshift], TCP_max_rxtshift |
442 | cmp [eax + TCP_SOCKET.t_rxtshift], TCP_max_rxtshift |
- | 443 | jae @f |
|
Line 443... | Line 444... | ||
443 | jae @f |
444 | inc [eax + TCP_SOCKET.t_rxtshift] |