|
1 // Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // inet6err.h - INET6 error codes |
|
15 // Define TCPIP6 specific error codes. |
|
16 // A range of unique error codes have been allocated for the IPSEC + |
|
17 // INET6 related uses (by Martin Amstrong 21.10.1999): |
|
18 // values: -5100 .. -5228 |
|
19 // IPSEC will use about 30-50 values from -5228 |
|
20 // INET6 (and other modules) should start allocating codes |
|
21 // in sequence from the other end of the range (-5100). |
|
22 // |
|
23 |
|
24 |
|
25 |
|
26 /** |
|
27 @file inet6err.h |
|
28 @publishedAll |
|
29 @released |
|
30 */ |
|
31 |
|
32 #ifndef __INET6ERR_H__ |
|
33 #define __INET6ERR_H__ |
|
34 |
|
35 #include <e32def.h> // for TInt |
|
36 |
|
37 /** |
|
38 * @name IPv6 error constants |
|
39 * @since v7.0 (unless indicated otherwise) |
|
40 */ |
|
41 //@{ |
|
42 |
|
43 /** Flow has no destination address. */ |
|
44 const TInt KErrInet6NoDestination = -5100; |
|
45 /** Misconfigured driver not giving proper MTU. */ |
|
46 const TInt KErrInet6NoPathMtu = -5101; |
|
47 /** A truncated IP packet */ |
|
48 const TInt KErrInet6ShortPacket = -5102; |
|
49 /** Duplicate Address Detected on a device (see RFC-2462). */ |
|
50 const TInt KErrInet6DuplicateAddress = -5103; |
|
51 /** The Source Address used by the connection has expired. */ |
|
52 const TInt KErrInet6AddressExpired = -5104; |
|
53 /** No route was available. */ |
|
54 const TInt KErrInet6NoRoute = -5105; |
|
55 /** Selected interface is beyond source scope (or invalid). @since v7.0s */ |
|
56 const TInt KErrInet6SourceAddress = -5106; |
|
57 |
|
58 // Importing/Exporting interfaces (MInetBase) |
|
59 |
|
60 /** Requested API not known @since v7.0s */ |
|
61 const TInt KErrInetUnsupportedApi = -5107; |
|
62 /** API is of an incompatible version @since v7.0s */ |
|
63 const TInt KErrInetUnsupportedApiVersion = -5108; |
|
64 |
|
65 /** DNS resolver server not available. @since v7.0s */ |
|
66 const TInt KErrInetNoDnsResolver = -5109; |
|
67 |
|
68 // -5102 |
|
69 // -5103 |
|
70 // ... |
|
71 // etc. |
|
72 /** Start of IPv6 error code range */ |
|
73 const TInt KErrInet6First = -5228; |
|
74 /** End of IPv6 error code range */ |
|
75 const TInt KErrInet6Last = -5100; |
|
76 |
|
77 //@} |
|
78 #endif |