Rev 3249 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3249 | Rev 3251 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
1 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
2 | ;; ;; |
2 | ;; ;; |
3 | ;; Copyright (C) KolibriOS team 2004-2012. All rights reserved. ;; |
3 | ;; Copyright (C) KolibriOS team 2004-2013. 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 | ;; STACK.INC ;; |
6 | ;; STACK.INC ;; |
7 | ;; ;; |
7 | ;; ;; |
8 | ;; TCP/IP stack for KolibriOS ;; |
8 | ;; TCP/IP stack for KolibriOS ;; |
Line 19... | Line 19... | ||
19 | ;; GNU GENERAL PUBLIC LICENSE ;; |
19 | ;; GNU GENERAL PUBLIC LICENSE ;; |
20 | ;; Version 2, June 1991 ;; |
20 | ;; Version 2, June 1991 ;; |
21 | ;; ;; |
21 | ;; ;; |
22 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
22 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
Line 23... | Line 23... | ||
23 | 23 | ||
Line 24... | Line 24... | ||
24 | $Revision: 3249 $ |
24 | $Revision: 3251 $ |
25 | 25 | ||
26 | uglobal |
26 | uglobal |
27 | net_10ms dd ? |
27 | net_10ms dd ? |
Line 46... | Line 46... | ||
46 | PPP_IPv4 = 0x2100 |
46 | PPP_IPv4 = 0x2100 |
47 | PPP_IPV6 = 0x5780 |
47 | PPP_IPV6 = 0x5780 |
Line 48... | Line 48... | ||
48 | 48 | ||
49 | ;Protocol family |
49 | ;Protocol family |
50 | AF_UNSPEC = 0 |
50 | AF_UNSPEC = 0 |
51 | AF_UNIX = 1 |
51 | AF_LOCAL = 1 |
52 | AF_INET4 = 2 |
52 | AF_INET4 = 2 |
53 | AF_INET6 = 10 |
53 | AF_INET6 = 10 |
Line 54... | Line 54... | ||
54 | AF_PPP = 777 |
54 | AF_PPP = 777 |
Line 257... | Line 257... | ||
257 | stack_handler: |
257 | stack_handler: |
Line 258... | Line 258... | ||
258 | 258 | ||
259 | cmp [NET_RUNNING], 0 |
259 | cmp [NET_RUNNING], 0 |
Line -... | Line 260... | ||
- | 260 | je .exit |
|
- | 261 | ||
260 | je .exit |
262 | call TCP_process_input ; de-queue TCP ragments and process them |
261 | 263 | ||
262 | ; Test for 10ms tick |
264 | ; Test for 10ms tick |
263 | mov eax, [timer_ticks] |
265 | mov eax, [timer_ticks] |
264 | cmp eax, [net_10ms] |
266 | cmp eax, [net_10ms] |