Subversion Repositories Kolibri OS

Rev

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

Rev 1763 Rev 1773
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: 1763 $
24
$Revision: 1773 $
25
 
25
 
Line 26... Line 26...
26
__DEBUG_LEVEL_OLD__	equ __DEBUG_LEVEL__	; use seperate debug level for network part of kernel
26
__DEBUG_LEVEL_OLD__	equ __DEBUG_LEVEL__	; use seperate debug level for network part of kernel
Line 60... Line 60...
60
SOCK_RAW	equ 3
60
SOCK_RAW	equ 3
Line 61... Line 61...
61
 
61
 
62
; Socket options
62
; Socket options
Line -... Line 63...
-
 
63
SO_ACCEPTCON	equ 1
-
 
64
 
-
 
65
; Socket States
-
 
66
SS_NOFDREF		equ 0x001   ; no file table ref any more
-
 
67
SS_ISCONNECTED		equ 0x002   ; socket connected to a peer
-
 
68
SS_ISCONNECTING 	equ 0x004   ; in process of connecting to peer
-
 
69
SS_ISDISCONNECTING	equ 0x008   ; in process of disconnecting
-
 
70
SS_CANTSENDMORE 	equ 0x010   ; can't send more data to peer
-
 
71
SS_CANTRCVMORE		equ 0x020   ; can't receive more data from peer
-
 
72
SS_RCVATMARK		equ 0x040   ; at mark on input
-
 
73
SS_ISABORTING		equ 0x080   ; aborting fd references - close()
-
 
74
SS_RESTARTSYS		equ 0x100   ; restart blocked system calls
-
 
75
SS_ISDISCONNECTED	equ 0x800   ; socket disconnected from peer
-
 
76
 
-
 
77
SS_ASYNC		equ 0x100   ; async i/o notify
-
 
78
SS_ISCONFIRMING 	equ 0x200   ; deciding to accept connection req
-
 
79
SS_MORETOCOME		equ 0x400   ;
63
SO_ACCEPTCON	equ 1
80
 
Line 64... Line 81...
64
 
81
 
65
SOCKET_MAXDATA	equ 4096*32	; must be 4096*(power of 2) where 'power of 2' is at least 8
82
SOCKET_MAXDATA	equ 4096*32	; must be 4096*(power of 2) where 'power of 2' is at least 8
66
 
83