Subversion Repositories Kolibri OS

Rev

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

Rev 3389 Rev 3459
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: 3389 $
24
$Revision: 3459 $
25
 
25
 
26
uglobal
26
uglobal
27
        net_10ms        dd ?
27
        net_10ms        dd ?
Line 81... Line 81...
81
SO_BINDTODEVICE         = 1 shl 9
81
SO_BINDTODEVICE         = 1 shl 9
Line 82... Line 82...
82
 
82
 
83
SO_BLOCK                = 1 shl 10    ; TO BE REMOVED
83
SO_BLOCK                = 1 shl 10    ; TO BE REMOVED
Line -... Line 84...
-
 
84
SO_NONBLOCK             = 1 shl 31
-
 
85
 
-
 
86
; Socket flags for user calls
-
 
87
MSG_PEEK                = 0x02
84
SO_NONBLOCK             = 1 shl 31
88
MSG_DONTWAIT            = 0x40
85
 
89
 
Line 86... Line 90...
86
; Socket level
90
; Socket level
Line 262... Line 266...
262
stack_handler:
266
stack_handler:
Line 263... Line 267...
263
 
267
 
264
        cmp     [NET_RUNNING], 0
268
        cmp     [NET_RUNNING], 0
Line -... Line 269...
-
 
269
        je      .exit
-
 
270
 
-
 
271
        cmp     [UDP_PACKETS_TX], 50
-
 
272
        jb      @f
-
 
273
        DEBUGF  1, "\n\nCRAP!\n\n"
-
 
274
        jmp     $
265
        je      .exit
275
      @@:
266
 
276
 
267
        ; Test for 10ms tick
277
        ; Test for 10ms tick
268
        mov     eax, [timer_ticks]
278
        mov     eax, [timer_ticks]
269
        cmp     eax, [net_10ms]
279
        cmp     eax, [net_10ms]