1 /******************************************************************************
4 Copyright 1993, 1998 The Open Group
6 Permission to use, copy, modify, distribute, and sell this software and its
7 documentation for any purpose is hereby granted without fee, provided that
8 the above copyright notice appear in all copies and that both that
9 copyright notice and this permission notice appear in supporting
12 The above copyright notice and this permission notice shall be included in
13 all copies or substantial portions of the Software.
15 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
19 AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
20 CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22 Except as contained in this notice, the name of The Open Group shall not be
23 used in advertising or otherwise to promote the sale, use or other dealings
24 in this Software without prior written authorization from The Open Group.
26 Author: Ralph Mor, X Consortium
28 ******************************************************************************/
37 #define IceProtoMajor 1
38 #define IceProtoMinor 0
54 #define ICE_ByteOrder 1
55 #define ICE_ConnectionSetup 2
56 #define ICE_AuthRequired 3
57 #define ICE_AuthReply 4
58 #define ICE_AuthNextPhase 5
59 #define ICE_ConnectionReply 6
60 #define ICE_ProtocolSetup 7
61 #define ICE_ProtocolReply 8
63 #define ICE_PingReply 10
64 #define ICE_WantToClose 11
65 #define ICE_NoClose 12
72 #define IceCanContinue 0
73 #define IceFatalToProtocol 1
74 #define IceFatalToConnection 2
78 * ICE error classes that are common to all protocols
81 #define IceBadMinor 0x8000
82 #define IceBadState 0x8001
83 #define IceBadLength 0x8002
84 #define IceBadValue 0x8003
88 * ICE error classes that are specific to the ICE protocol
93 #define IceNoVersion 2
94 #define IceSetupFailed 3
95 #define IceAuthRejected 4
96 #define IceAuthFailed 5
97 #define IceProtocolDuplicate 6
98 #define IceMajorOpcodeDuplicate 7
99 #define IceUnknownProtocol 8