Added missing file

git-svn-id: svn://kolibrios.org@2947 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
hidnplayr 2012-08-28 09:33:50 +00:00
parent 688b249960
commit a033334ecb
2 changed files with 3 additions and 1 deletions

View File

@ -95,6 +95,8 @@ TCP_BIT_DROPSOCKET = 1 shl 2
TCP_BIT_SENDALOT = 1 shl 0
TCP_PAWS_IDLE = 24*24*60*60*100 ; 24 days, in 1/100 seconds
struct TCP_header
SourcePort dw ?

View File

@ -267,7 +267,7 @@ TCP_input:
mov eax, [esp+4+4] ; tcp_now
sub eax, [ebx + TCP_SOCKET.ts_recent_age]
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.
.no_paws: