Subversion Repositories Kolibri OS

Rev

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

Rev 4423 Rev 5201
Line 1... Line 1...
1
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2
;;                                                                 ;;
2
;;                                                                 ;;
3
;; Copyright (C) KolibriOS team 2004-2013. All rights reserved.    ;;
3
;; Copyright (C) KolibriOS team 2004-2014. All rights reserved.    ;;
4
;; Distributed under terms of the GNU General Public License       ;;
4
;; Distributed under terms of the GNU General Public License       ;;
5
;;                                                                 ;;
5
;;                                                                 ;;
6
;;  Part of the TCP/IP network stack for KolibriOS                 ;;
6
;;  Part of the TCP/IP network stack for KolibriOS                 ;;
7
;;                                                                 ;;
7
;;                                                                 ;;
8
;;   Written by hidnplayr@kolibrios.org                            ;;
8
;;   Written by hidnplayr@kolibrios.org                            ;;
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: 3514 $
17
$Revision: 5015 $
18
 
18
 
19
align 4
19
align 4
20
iglobal
20
iglobal
Line 141... Line 141...
141
;
141
;
142
;  OUT: eax = socket ptr
142
;  OUT: eax = socket ptr
143
;
143
;
144
;-------------------------
144
;-------------------------
145
align 4
145
align 4
146
TCP_drop:
146
TCP_drop:    ; FIXME CHECKME TODO
Line 147... Line 147...
147
 
147
 
Line 148... Line 148...
148
        DEBUGF  DEBUG_NETWORK_VERBOSE, "TCP_drop: %x\n", eax
148
        DEBUGF  DEBUG_NETWORK_VERBOSE, "TCP_drop: %x\n", eax
149
 
149
 
Line 288... Line 288...
288
        mov     eax, [ebx + IP_SOCKET.RemoteIP]
288
        mov     eax, [ebx + IP_SOCKET.RemoteIP]
289
        mov     edx, [ebx + IP_SOCKET.LocalIP]
289
        mov     edx, [ebx + IP_SOCKET.LocalIP]
290
        mov     ecx, sizeof.TCP_header
290
        mov     ecx, sizeof.TCP_header
291
        mov     di, IP_PROTO_TCP shl 8 + 128
291
        mov     di, IP_PROTO_TCP shl 8 + 128
292
        call    IPv4_output
292
        call    IPv4_output
293
        test    edi, edi
-
 
294
        jz      .error
293
        jz      .error
295
        pop     esi cx
294
        pop     esi cx
296
        push    edx eax
295
        push    edx eax
Line 297... Line 296...
297
 
296