Subversion Repositories Kolibri OS

Rev

Rev 6910 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 6910 Rev 6915
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: 6910 $
17
$Revision: 6915 $
18
 
18
 
19
TCP_BIT_NEEDOUTPUT      = 1 shl 0
19
TCP_BIT_NEEDOUTPUT      = 1 shl 0
20
TCP_BIT_TIMESTAMP       = 1 shl 1
20
TCP_BIT_TIMESTAMP       = 1 shl 1
Line 1692... Line 1692...
1692
        DEBUGF  DEBUG_NETWORK_VERBOSE,  "TCP data is out of order!\nSequencenumber is %u, we expected %u.\n", \
1692
        DEBUGF  DEBUG_NETWORK_VERBOSE,  "TCP data is out of order!\nSequencenumber is %u, we expected %u.\n", \
1693
        [edx + TCP_header.SequenceNumber], [ebx + TCP_SOCKET.RCV_NXT]
1693
        [edx + TCP_header.SequenceNumber], [ebx + TCP_SOCKET.RCV_NXT]
Line 1694... Line 1694...
1694
 
1694
 
Line 1695... Line 1695...
1695
; Uh-oh, some data is out of order, lets call TCP reassemble for help
1695
; Uh-oh, some data is out of order, lets call TCP reassemble for help
Line 1696... Line 1696...
1696
 
1696
 
1697
        call    tcp_reassemble
1697
        call    tcp_reassemble          ;;; TODO!
Line 1698... Line 1698...
1698
 
1698
 
-
 
1699
; Generate ACK immediately, to let the other end know that a segment was received out of order,
-
 
1700
; and to tell it what sequence number is expected. This aids the fast-retransmit algorithm.
1699
; Generate ACK immediately, to let the other end know that a segment was received out of order,
1701
 
Line 1700... Line 1702...
1700
; and to tell it what sequence number is expected. This aids the fast-retransmit algorithm.
1702
        or      [ebx + TCP_SOCKET.t_flags], TF_ACKNOW
1701
 
1703
 
1702
        or      [ebx + TCP_SOCKET.t_flags], TF_ACKNOW
1704
        jmp     .final_processing       ;;; HACK because of unimplemented reassembly queue!