Subversion Repositories Kolibri OS

Rev

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

Rev 3908 Rev 4265
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: 3908 $
24
$Revision: 4265 $
25
 
25
 
26
uglobal
26
uglobal
27
        net_10ms        dd ?
27
        net_10ms        dd ?
Line 113... Line 113...
113
SOCKET_MAXDATA          = 4096*32       ; must be 4096*(power of 2) where 'power of 2' is at least 8
113
SOCKET_MAXDATA          = 4096*32       ; must be 4096*(power of 2) where 'power of 2' is at least 8
114
MAX_backlog             = 20            ; maximum backlog for stream sockets
114
MAX_backlog             = 20            ; maximum backlog for stream sockets
Line 115... Line 115...
115
 
115
 
116
; Error Codes
116
; Error Codes
-
 
117
ENOBUFS                 = 1
117
ENOBUFS                 = 1
118
EINPROGRESS             = 2
118
EOPNOTSUPP              = 4
119
EOPNOTSUPP              = 4
119
EWOULDBLOCK             = 6
120
EWOULDBLOCK             = 6
120
ENOTCONN                = 9
121
ENOTCONN                = 9
121
EALREADY                = 10
122
EALREADY                = 10
122
EINVAL                  = 11
123
EINVAL                  = 11
123
EMSGSIZE                = 12
124
EMSGSIZE                = 12
124
ENOMEM                  = 18
125
ENOMEM                  = 18
125
EADDRINUSE              = 20
126
EADDRINUSE              = 20
126
ECONNREFUSED            = 61
127
ECONNREFUSED            = 61
-
 
128
ECONNRESET              = 52
127
ECONNRESET              = 52
129
EISCONN                 = 56
128
ETIMEDOUT               = 60
130
ETIMEDOUT               = 60
Line 129... Line 131...
129
ECONNABORTED            = 53
131
ECONNABORTED            = 53
130
 
132
 
Line 246... Line 248...
246
        xor     eax, eax
248
        xor     eax, eax
247
        mov     edi, NET_RUNNING
249
        mov     edi, NET_RUNNING
248
        mov     ecx, (NET_DEVICES_MAX + 2)
250
        mov     ecx, (NET_DEVICES_MAX + 2)
249
        rep stosd
251
        rep stosd
Line -... Line 252...
-
 
252
 
-
 
253
        ETH_init
250
 
254
 
Line 251... Line 255...
251
        PPPoE_init
255
        PPPoE_init
252
 
256
 
253
        IPv4_init
257
        IPv4_init