Changed some debug output messages (and their levels) in new stack.

Implemented a queue for incoming TCP segments.

git-svn-id: svn://kolibrios.org@3251 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
hidnplayr
2013-02-17 17:58:53 +00:00
parent 8fc51dbddb
commit 72f758c218
8 changed files with 145 additions and 84 deletions

View File

@@ -1,6 +1,6 @@
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; ;;
;; Copyright (C) KolibriOS team 2004-2012. All rights reserved. ;;
;; Copyright (C) KolibriOS team 2004-2013. All rights reserved. ;;
;; Distributed under terms of the GNU General Public License ;;
;; ;;
;; STACK.INC ;;
@@ -48,7 +48,7 @@ PPP_IPV6 = 0x5780
;Protocol family
AF_UNSPEC = 0
AF_UNIX = 1
AF_LOCAL = 1
AF_INET4 = 2
AF_INET6 = 10
AF_PPP = 777
@@ -259,6 +259,8 @@ stack_handler:
cmp [NET_RUNNING], 0
je .exit
call TCP_process_input ; de-queue TCP ragments and process them
; Test for 10ms tick
mov eax, [timer_ticks]
cmp eax, [net_10ms]
@@ -587,7 +589,7 @@ checksum_2:
.not_zero:
xchg dl, dh
DEBUGF 1,"Checksum: %x\n", dx
DEBUGF 1,"Checksum: %x\n", dx
ret