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