williamr@2: // Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies). williamr@2: // All rights reserved. williamr@2: // This component and the accompanying materials are made available williamr@4: // under the terms of "Eclipse Public License v1.0" williamr@2: // which accompanies this distribution, and is available williamr@4: // at the URL "http://www.eclipse.org/legal/epl-v10.html". williamr@2: // williamr@2: // Initial Contributors: williamr@2: // Nokia Corporation - initial contribution. williamr@2: // williamr@2: // Contributors: williamr@2: // williamr@2: // Description: williamr@2: // inet6err.h - INET6 error codes williamr@2: // Define TCPIP6 specific error codes. williamr@2: // A range of unique error codes have been allocated for the IPSEC + williamr@2: // INET6 related uses (by Martin Amstrong 21.10.1999): williamr@2: // values: -5100 .. -5228 williamr@2: // IPSEC will use about 30-50 values from -5228 williamr@2: // INET6 (and other modules) should start allocating codes williamr@2: // in sequence from the other end of the range (-5100). williamr@2: // williamr@2: williamr@2: williamr@2: williamr@2: /** williamr@2: @file inet6err.h williamr@2: @publishedAll williamr@2: @released williamr@2: */ williamr@2: williamr@2: #ifndef __INET6ERR_H__ williamr@2: #define __INET6ERR_H__ williamr@2: williamr@2: #include // for TInt williamr@2: williamr@2: /** williamr@2: * @name IPv6 error constants williamr@2: * @since v7.0 (unless indicated otherwise) williamr@2: */ williamr@4: //@{ williamr@2: williamr@2: /** Flow has no destination address. */ williamr@2: const TInt KErrInet6NoDestination = -5100; williamr@2: /** Misconfigured driver not giving proper MTU. */ williamr@2: const TInt KErrInet6NoPathMtu = -5101; williamr@2: /** A truncated IP packet */ williamr@2: const TInt KErrInet6ShortPacket = -5102; williamr@2: /** Duplicate Address Detected on a device (see RFC-2462). */ williamr@2: const TInt KErrInet6DuplicateAddress = -5103; williamr@2: /** The Source Address used by the connection has expired. */ williamr@2: const TInt KErrInet6AddressExpired = -5104; williamr@2: /** No route was available. */ williamr@2: const TInt KErrInet6NoRoute = -5105; williamr@2: /** Selected interface is beyond source scope (or invalid). @since v7.0s */ williamr@2: const TInt KErrInet6SourceAddress = -5106; williamr@2: williamr@2: // Importing/Exporting interfaces (MInetBase) williamr@2: williamr@2: /** Requested API not known @since v7.0s */ williamr@2: const TInt KErrInetUnsupportedApi = -5107; williamr@2: /** API is of an incompatible version @since v7.0s */ williamr@2: const TInt KErrInetUnsupportedApiVersion = -5108; williamr@2: williamr@2: /** DNS resolver server not available. @since v7.0s */ williamr@2: const TInt KErrInetNoDnsResolver = -5109; williamr@2: williamr@2: // -5102 williamr@2: // -5103 williamr@2: // ... williamr@2: // etc. williamr@2: /** Start of IPv6 error code range */ williamr@2: const TInt KErrInet6First = -5228; williamr@2: /** End of IPv6 error code range */ williamr@2: const TInt KErrInet6Last = -5100; williamr@2: williamr@4: //@} williamr@2: #endif