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 the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
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).
32 #ifndef __INET6ERR_H__
33 #define __INET6ERR_H__
35 #include <e32def.h> // for TInt
38 * @name IPv6 error constants
39 * @since v7.0 (unless indicated otherwise)
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;
58 // Importing/Exporting interfaces (MInetBase)
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;
65 /** DNS resolver server not available. @since v7.0s */
66 const TInt KErrInetNoDnsResolver = -5109;
72 /** Start of IPv6 error code range */
73 const TInt KErrInet6First = -5228;
74 /** End of IPv6 error code range */
75 const TInt KErrInet6Last = -5100;