Rev 6011 | Rev 6476 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 6011 | Rev 6413 | ||
---|---|---|---|
Line 12... | Line 12... | ||
12 | ;; GNU GENERAL PUBLIC LICENSE ;; |
12 | ;; GNU GENERAL PUBLIC LICENSE ;; |
13 | ;; Version 2, June 1991 ;; |
13 | ;; Version 2, June 1991 ;; |
14 | ;; ;; |
14 | ;; ;; |
15 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
15 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
Line 16... | Line 16... | ||
16 | 16 | ||
Line 17... | Line 17... | ||
17 | $Revision: 6011 $ |
17 | $Revision: 6413 $ |
18 | 18 | ||
19 | ;-----------------------------------------------------------------; |
19 | ;-----------------------------------------------------------------; |
20 | ; ; |
20 | ; ; |
Line 557... | Line 557... | ||
557 | 557 | ||
Line 558... | Line 558... | ||
558 | DEBUGF DEBUG_NETWORK_VERBOSE, "TCP_input: Header prediction failed\n" |
558 | DEBUGF DEBUG_NETWORK_VERBOSE, "TCP_input: Header prediction failed\n" |
559 | 559 | ||
560 | ; Calculate receive window size |
560 | ; Calculate receive window size |
561 | push edx |
561 | push edx |
562 | mov eax, SOCKET_MAXDATA |
562 | mov eax, SOCKET_BUFFER_SIZE |
563 | sub eax, [ebx + STREAM_SOCKET.rcv.size] |
563 | sub eax, [ebx + STREAM_SOCKET.rcv.size] |
564 | DEBUGF DEBUG_NETWORK_VERBOSE, "Space in receive buffer=%d\n", eax |
564 | DEBUGF DEBUG_NETWORK_VERBOSE, "Space in receive buffer=%d\n", eax |
565 | mov edx, [ebx + TCP_SOCKET.RCV_ADV] |
565 | mov edx, [ebx + TCP_SOCKET.RCV_ADV] |
Line 1434... | Line 1434... | ||
1434 | 1434 | ||
Line 1435... | Line 1435... | ||
1435 | ; Ignore bogus urgent offsets |
1435 | ; Ignore bogus urgent offsets |
1436 | 1436 | ||
1437 | movzx eax, [edx + TCP_header.UrgentPointer] |
1437 | movzx eax, [edx + TCP_header.UrgentPointer] |
1438 | add eax, [ebx + STREAM_SOCKET.rcv.size] |
1438 | add eax, [ebx + STREAM_SOCKET.rcv.size] |
Line 1439... | Line 1439... | ||
1439 | cmp eax, SOCKET_MAXDATA |
1439 | cmp eax, SOCKET_BUFFER_SIZE |
1440 | jbe .not_urgent |
1440 | jbe .not_urgent |
1441 | 1441 |