forked from KolibriOS/kolibrios
Added missing file
git-svn-id: svn://kolibrios.org@2947 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
688b249960
commit
a033334ecb
@ -95,6 +95,8 @@ TCP_BIT_DROPSOCKET = 1 shl 2
|
|||||||
|
|
||||||
TCP_BIT_SENDALOT = 1 shl 0
|
TCP_BIT_SENDALOT = 1 shl 0
|
||||||
|
|
||||||
|
TCP_PAWS_IDLE = 24*24*60*60*100 ; 24 days, in 1/100 seconds
|
||||||
|
|
||||||
struct TCP_header
|
struct TCP_header
|
||||||
|
|
||||||
SourcePort dw ?
|
SourcePort dw ?
|
||||||
|
@ -267,7 +267,7 @@ TCP_input:
|
|||||||
mov eax, [esp+4+4] ; tcp_now
|
mov eax, [esp+4+4] ; tcp_now
|
||||||
sub eax, [ebx + TCP_SOCKET.ts_recent_age]
|
sub eax, [ebx + TCP_SOCKET.ts_recent_age]
|
||||||
cmp eax, TCP_PAWS_IDLE
|
cmp eax, TCP_PAWS_IDLE
|
||||||
jle .dropafterack ; TODO: update stats
|
jle .drop_after_ack ; TODO: update stats
|
||||||
|
|
||||||
mov [ebx + TCP_SOCKET.ts_recent], 0 ; timestamp was invalid, fix it.
|
mov [ebx + TCP_SOCKET.ts_recent], 0 ; timestamp was invalid, fix it.
|
||||||
.no_paws:
|
.no_paws:
|
||||||
|
Loading…
Reference in New Issue
Block a user