KEIS

Dependents:   EthernetInterface

Fork of lwip by mbed official

Committer:
bogdanm
Date:
Tue Sep 10 15:14:39 2013 +0300
Revision:
13:931deec14b08
Parent:
0:51ac1d130fd4
Sync with git revision 171dda705c947bf910926a0b73d6a4797802554d

Who changed what in which revision?

UserRevisionLine numberNew contents of line
mbed_official 0:51ac1d130fd4 1 /*****************************************************************************
mbed_official 0:51ac1d130fd4 2 * pppdebug.h - System debugging utilities.
mbed_official 0:51ac1d130fd4 3 *
mbed_official 0:51ac1d130fd4 4 * Copyright (c) 2003 by Marc Boucher, Services Informatiques (MBSI) inc.
mbed_official 0:51ac1d130fd4 5 * portions Copyright (c) 1998 Global Election Systems Inc.
mbed_official 0:51ac1d130fd4 6 * portions Copyright (c) 2001 by Cognizant Pty Ltd.
mbed_official 0:51ac1d130fd4 7 *
mbed_official 0:51ac1d130fd4 8 * The authors hereby grant permission to use, copy, modify, distribute,
mbed_official 0:51ac1d130fd4 9 * and license this software and its documentation for any purpose, provided
mbed_official 0:51ac1d130fd4 10 * that existing copyright notices are retained in all copies and that this
mbed_official 0:51ac1d130fd4 11 * notice and the following disclaimer are included verbatim in any
mbed_official 0:51ac1d130fd4 12 * distributions. No written agreement, license, or royalty fee is required
mbed_official 0:51ac1d130fd4 13 * for any of the authorized uses.
mbed_official 0:51ac1d130fd4 14 *
mbed_official 0:51ac1d130fd4 15 * THIS SOFTWARE IS PROVIDED BY THE CONTRIBUTORS *AS IS* AND ANY EXPRESS OR
mbed_official 0:51ac1d130fd4 16 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
mbed_official 0:51ac1d130fd4 17 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
mbed_official 0:51ac1d130fd4 18 * IN NO EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
mbed_official 0:51ac1d130fd4 19 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
mbed_official 0:51ac1d130fd4 20 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
mbed_official 0:51ac1d130fd4 21 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
mbed_official 0:51ac1d130fd4 22 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
mbed_official 0:51ac1d130fd4 23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
mbed_official 0:51ac1d130fd4 24 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
mbed_official 0:51ac1d130fd4 25 *
mbed_official 0:51ac1d130fd4 26 ******************************************************************************
mbed_official 0:51ac1d130fd4 27 * REVISION HISTORY (please don't use tabs!)
mbed_official 0:51ac1d130fd4 28 *
mbed_official 0:51ac1d130fd4 29 * 03-01-01 Marc Boucher <marc@mbsi.ca>
mbed_official 0:51ac1d130fd4 30 * Ported to lwIP.
mbed_official 0:51ac1d130fd4 31 * 98-07-29 Guy Lancaster <lancasterg@acm.org>, Global Election Systems Inc.
mbed_official 0:51ac1d130fd4 32 * Original.
mbed_official 0:51ac1d130fd4 33 *
mbed_official 0:51ac1d130fd4 34 *****************************************************************************
mbed_official 0:51ac1d130fd4 35 */
mbed_official 0:51ac1d130fd4 36 #ifndef PPPDEBUG_H
mbed_official 0:51ac1d130fd4 37 #define PPPDEBUG_H
mbed_official 0:51ac1d130fd4 38
mbed_official 0:51ac1d130fd4 39 /* Trace levels. */
mbed_official 0:51ac1d130fd4 40 #define LOG_CRITICAL (PPP_DEBUG | LWIP_DBG_LEVEL_SEVERE)
mbed_official 0:51ac1d130fd4 41 #define LOG_ERR (PPP_DEBUG | LWIP_DBG_LEVEL_SEVERE)
mbed_official 0:51ac1d130fd4 42 #define LOG_NOTICE (PPP_DEBUG | LWIP_DBG_LEVEL_WARNING)
mbed_official 0:51ac1d130fd4 43 #define LOG_WARNING (PPP_DEBUG | LWIP_DBG_LEVEL_WARNING)
mbed_official 0:51ac1d130fd4 44 #define LOG_INFO (PPP_DEBUG)
mbed_official 0:51ac1d130fd4 45 #define LOG_DETAIL (PPP_DEBUG)
mbed_official 0:51ac1d130fd4 46 #define LOG_DEBUG (PPP_DEBUG)
mbed_official 0:51ac1d130fd4 47
mbed_official 0:51ac1d130fd4 48
mbed_official 0:51ac1d130fd4 49 #define TRACELCP PPP_DEBUG
mbed_official 0:51ac1d130fd4 50
mbed_official 0:51ac1d130fd4 51 #if PPP_DEBUG
mbed_official 0:51ac1d130fd4 52
mbed_official 0:51ac1d130fd4 53 #define AUTHDEBUG(a, b) LWIP_DEBUGF(a, b)
mbed_official 0:51ac1d130fd4 54 #define IPCPDEBUG(a, b) LWIP_DEBUGF(a, b)
mbed_official 0:51ac1d130fd4 55 #define UPAPDEBUG(a, b) LWIP_DEBUGF(a, b)
mbed_official 0:51ac1d130fd4 56 #define LCPDEBUG(a, b) LWIP_DEBUGF(a, b)
mbed_official 0:51ac1d130fd4 57 #define FSMDEBUG(a, b) LWIP_DEBUGF(a, b)
mbed_official 0:51ac1d130fd4 58 #define CHAPDEBUG(a, b) LWIP_DEBUGF(a, b)
mbed_official 0:51ac1d130fd4 59 #define PPPDEBUG(a, b) LWIP_DEBUGF(a, b)
mbed_official 0:51ac1d130fd4 60
mbed_official 0:51ac1d130fd4 61 #else /* PPP_DEBUG */
mbed_official 0:51ac1d130fd4 62
mbed_official 0:51ac1d130fd4 63 #define AUTHDEBUG(a, b)
mbed_official 0:51ac1d130fd4 64 #define IPCPDEBUG(a, b)
mbed_official 0:51ac1d130fd4 65 #define UPAPDEBUG(a, b)
mbed_official 0:51ac1d130fd4 66 #define LCPDEBUG(a, b)
mbed_official 0:51ac1d130fd4 67 #define FSMDEBUG(a, b)
mbed_official 0:51ac1d130fd4 68 #define CHAPDEBUG(a, b)
mbed_official 0:51ac1d130fd4 69 #define PPPDEBUG(a, b)
mbed_official 0:51ac1d130fd4 70
mbed_official 0:51ac1d130fd4 71 #endif /* PPP_DEBUG */
mbed_official 0:51ac1d130fd4 72
mbed_official 0:51ac1d130fd4 73 #endif /* PPPDEBUG_H */