tcpiputils/networkaddressandporttranslation/inc/panic.h
changeset 0 af10295192d8
equal deleted inserted replaced
-1:000000000000 0:af10295192d8
       
     1 // Copyright (c) 2007-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 //
       
    15 
       
    16 /**
       
    17  @file 
       
    18  @internalComponent
       
    19  @prototype
       
    20 */
       
    21 
       
    22 #ifndef __NAPT_PANIC_H__
       
    23 #define __NAPT_PANIC_H__
       
    24 
       
    25 #include <in_sock.h>
       
    26 #include <ext_hdr.h>
       
    27 #include <es_prot.h>
       
    28 
       
    29 
       
    30 
       
    31 enum TNAPTPanic
       
    32 	{
       
    33 	ENAPTPanic_BadBind,
       
    34 	ENAPTPanic_BadHeader,
       
    35 	ENAPTPanic_BadCall,
       
    36 	ENAPTPanic_BadIndex,
       
    37 	ENAPTPanic_IoctlFailed,
       
    38 	ENAPTPanic_CorruptPacketIn,
       
    39 	ENAPTPanic_Ip6NotSupported
       
    40 	};
       
    41 
       
    42 GLREF_C void Panic(TNAPTPanic aPanic);
       
    43 
       
    44 
       
    45 
       
    46 
       
    47 #endif //__NAPT_PANIC_H__