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