Subversion Repositories Kolibri OS

Rev

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

Rev 5536 Rev 5842
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: 5536 $
24
$Revision: 5842 $
25
 
25
 
26
uglobal
26
uglobal
27
        net_10ms        dd ?
27
        net_10ms        dd ?
Line 51... Line 51...
51
; Internet protocol numbers
51
; Internet protocol numbers
52
IP_PROTO_IP             = 0
52
IP_PROTO_IP             = 0
53
IP_PROTO_ICMP           = 1
53
IP_PROTO_ICMP           = 1
54
IP_PROTO_TCP            = 6
54
IP_PROTO_TCP            = 6
55
IP_PROTO_UDP            = 17
55
IP_PROTO_UDP            = 17
-
 
56
IP_PROTO_RAW            = 255
-
 
57
 
-
 
58
; IP options
-
 
59
IP_TOS                  = 1
-
 
60
IP_TTL                  = 2
-
 
61
IP_HDRINCL              = 3
Line 56... Line 62...
56
 
62
 
57
; PPP protocol numbers
63
; PPP protocol numbers
58
PPP_PROTO_IPv4          = 0x2100
64
PPP_PROTO_IPv4          = 0x2100
59
PPP_PROTO_IPV6          = 0x5780
65
PPP_PROTO_IPV6          = 0x5780
Line 69... Line 75...
69
; Socket types
75
; Socket types
70
SOCK_STREAM             = 1
76
SOCK_STREAM             = 1
71
SOCK_DGRAM              = 2
77
SOCK_DGRAM              = 2
72
SOCK_RAW                = 3
78
SOCK_RAW                = 3
Line -... Line 79...
-
 
79
 
-
 
80
; Socket level
-
 
81
SOL_SOCKET              = 0xffff
73
 
82
 
74
; Socket options
83
; Socket options
75
SO_ACCEPTCON            = 1 shl 0
84
SO_ACCEPTCON            = 1 shl 0
76
SO_BROADCAST            = 1 shl 1
85
SO_BROADCAST            = 1 shl 1
77
SO_DEBUG                = 1 shl 2
86
SO_DEBUG                = 1 shl 2
Line 87... Line 96...
87
 
96
 
88
; Socket flags for user calls
97
; Socket flags for user calls
89
MSG_PEEK                = 0x02
98
MSG_PEEK                = 0x02
Line 90... Line -...
90
MSG_DONTWAIT            = 0x40
-
 
91
 
-
 
92
; Socket level
-
 
93
SOL_SOCKET              = 0
-
 
94
 
99
MSG_DONTWAIT            = 0x40
95
 
100
 
96
; Socket States
101
; Socket States
97
SS_NOFDREF              = 0x0001        ; no file table ref any more
102
SS_NOFDREF              = 0x0001        ; no file table ref any more
98
SS_ISCONNECTED          = 0x0002        ; socket connected to a peer
103
SS_ISCONNECTED          = 0x0002        ; socket connected to a peer