More descriptive constant names, reduced socket buffer size.

git-svn-id: svn://kolibrios.org@6413 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
hidnplayr
2016-04-30 21:15:55 +00:00
parent 9bafc8aa7b
commit 6c4e2f8033
4 changed files with 18 additions and 18 deletions

View File

@@ -559,7 +559,7 @@ endl
; Calculate receive window size
push edx
mov eax, SOCKET_MAXDATA
mov eax, SOCKET_BUFFER_SIZE
sub eax, [ebx + STREAM_SOCKET.rcv.size]
DEBUGF DEBUG_NETWORK_VERBOSE, "Space in receive buffer=%d\n", eax
mov edx, [ebx + TCP_SOCKET.RCV_ADV]
@@ -1436,7 +1436,7 @@ align 4
movzx eax, [edx + TCP_header.UrgentPointer]
add eax, [ebx + STREAM_SOCKET.rcv.size]
cmp eax, SOCKET_MAXDATA
cmp eax, SOCKET_BUFFER_SIZE
jbe .not_urgent
mov [edx + TCP_header.UrgentPointer], 0