1.1 --- a/epoc32/include/inet6err.h Tue Nov 24 13:55:44 2009 +0000
1.2 +++ b/epoc32/include/inet6err.h Tue Mar 16 16:12:26 2010 +0000
1.3 @@ -1,1 +1,78 @@
1.4 -inet6err.h
1.5 +// Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
1.6 +// All rights reserved.
1.7 +// This component and the accompanying materials are made available
1.8 +// 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
1.9 +// which accompanies this distribution, and is available
1.10 +// at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
1.11 +//
1.12 +// Initial Contributors:
1.13 +// Nokia Corporation - initial contribution.
1.14 +//
1.15 +// Contributors:
1.16 +//
1.17 +// Description:
1.18 +// inet6err.h - INET6 error codes
1.19 +// Define TCPIP6 specific error codes.
1.20 +// A range of unique error codes have been allocated for the IPSEC +
1.21 +// INET6 related uses (by Martin Amstrong 21.10.1999):
1.22 +// values: -5100 .. -5228
1.23 +// IPSEC will use about 30-50 values from -5228
1.24 +// INET6 (and other modules) should start allocating codes
1.25 +// in sequence from the other end of the range (-5100).
1.26 +//
1.27 +
1.28 +
1.29 +
1.30 +/**
1.31 + @file inet6err.h
1.32 + @publishedAll
1.33 + @released
1.34 +*/
1.35 +
1.36 +#ifndef __INET6ERR_H__
1.37 +#define __INET6ERR_H__
1.38 +
1.39 +#include <e32def.h> // for TInt
1.40 +
1.41 +/**
1.42 +* @name IPv6 error constants
1.43 +* @since v7.0 (unless indicated otherwise)
1.44 +*/
1.45 +///@{
1.46 +
1.47 +/** Flow has no destination address. */
1.48 +const TInt KErrInet6NoDestination = -5100;
1.49 +/** Misconfigured driver not giving proper MTU. */
1.50 +const TInt KErrInet6NoPathMtu = -5101;
1.51 +/** A truncated IP packet */
1.52 +const TInt KErrInet6ShortPacket = -5102;
1.53 +/** Duplicate Address Detected on a device (see RFC-2462). */
1.54 +const TInt KErrInet6DuplicateAddress = -5103;
1.55 +/** The Source Address used by the connection has expired. */
1.56 +const TInt KErrInet6AddressExpired = -5104;
1.57 +/** No route was available. */
1.58 +const TInt KErrInet6NoRoute = -5105;
1.59 +/** Selected interface is beyond source scope (or invalid). @since v7.0s */
1.60 +const TInt KErrInet6SourceAddress = -5106;
1.61 +
1.62 +// Importing/Exporting interfaces (MInetBase)
1.63 +
1.64 +/** Requested API not known @since v7.0s */
1.65 +const TInt KErrInetUnsupportedApi = -5107;
1.66 +/** API is of an incompatible version @since v7.0s */
1.67 +const TInt KErrInetUnsupportedApiVersion = -5108;
1.68 +
1.69 +/** DNS resolver server not available. @since v7.0s */
1.70 +const TInt KErrInetNoDnsResolver = -5109;
1.71 +
1.72 + // -5102
1.73 + // -5103
1.74 + // ...
1.75 + // etc.
1.76 +/** Start of IPv6 error code range */
1.77 +const TInt KErrInet6First = -5228;
1.78 +/** End of IPv6 error code range */
1.79 +const TInt KErrInet6Last = -5100;
1.80 +
1.81 +///@}
1.82 +#endif