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