![](/media/cache/profiles/3f4243a6f681f2920ac3e95a63517274.50x50_q85.jpg)
code that uses Watchdog to reset Mbed every 30seconds. After 30-60mins, the ethernet interface fails to setup() after WatchDog reset.
EthernetNetIf/LPC2368/lwip/netif/ppp/chpms.h@0:0ce833f21e63, 2012-06-07 (annotated)
- Committer:
- eqon
- Date:
- Thu Jun 07 05:44:29 2012 +0000
- Revision:
- 0:0ce833f21e63
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
eqon | 0:0ce833f21e63 | 1 | /***************************************************************************** |
eqon | 0:0ce833f21e63 | 2 | * chpms.h - Network Microsoft Challenge Handshake Protocol header file. |
eqon | 0:0ce833f21e63 | 3 | * |
eqon | 0:0ce833f21e63 | 4 | * Copyright (c) 2003 by Marc Boucher, Services Informatiques (MBSI) inc. |
eqon | 0:0ce833f21e63 | 5 | * portions Copyright (c) 1998 Global Election Systems Inc. |
eqon | 0:0ce833f21e63 | 6 | * |
eqon | 0:0ce833f21e63 | 7 | * The authors hereby grant permission to use, copy, modify, distribute, |
eqon | 0:0ce833f21e63 | 8 | * and license this software and its documentation for any purpose, provided |
eqon | 0:0ce833f21e63 | 9 | * that existing copyright notices are retained in all copies and that this |
eqon | 0:0ce833f21e63 | 10 | * notice and the following disclaimer are included verbatim in any |
eqon | 0:0ce833f21e63 | 11 | * distributions. No written agreement, license, or royalty fee is required |
eqon | 0:0ce833f21e63 | 12 | * for any of the authorized uses. |
eqon | 0:0ce833f21e63 | 13 | * |
eqon | 0:0ce833f21e63 | 14 | * THIS SOFTWARE IS PROVIDED BY THE CONTRIBUTORS *AS IS* AND ANY EXPRESS OR |
eqon | 0:0ce833f21e63 | 15 | * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES |
eqon | 0:0ce833f21e63 | 16 | * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. |
eqon | 0:0ce833f21e63 | 17 | * IN NO EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, |
eqon | 0:0ce833f21e63 | 18 | * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT |
eqon | 0:0ce833f21e63 | 19 | * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
eqon | 0:0ce833f21e63 | 20 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
eqon | 0:0ce833f21e63 | 21 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
eqon | 0:0ce833f21e63 | 22 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
eqon | 0:0ce833f21e63 | 23 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
eqon | 0:0ce833f21e63 | 24 | * |
eqon | 0:0ce833f21e63 | 25 | ****************************************************************************** |
eqon | 0:0ce833f21e63 | 26 | * REVISION HISTORY |
eqon | 0:0ce833f21e63 | 27 | * |
eqon | 0:0ce833f21e63 | 28 | * 03-01-01 Marc Boucher <marc@mbsi.ca> |
eqon | 0:0ce833f21e63 | 29 | * Ported to lwIP. |
eqon | 0:0ce833f21e63 | 30 | * 98-01-30 Guy Lancaster <lancasterg@acm.org>, Global Election Systems Inc. |
eqon | 0:0ce833f21e63 | 31 | * Original built from BSD network code. |
eqon | 0:0ce833f21e63 | 32 | ******************************************************************************/ |
eqon | 0:0ce833f21e63 | 33 | /* |
eqon | 0:0ce833f21e63 | 34 | * chap.h - Challenge Handshake Authentication Protocol definitions. |
eqon | 0:0ce833f21e63 | 35 | * |
eqon | 0:0ce833f21e63 | 36 | * Copyright (c) 1995 Eric Rosenquist, Strata Software Limited. |
eqon | 0:0ce833f21e63 | 37 | * http://www.strataware.com/ |
eqon | 0:0ce833f21e63 | 38 | * |
eqon | 0:0ce833f21e63 | 39 | * All rights reserved. |
eqon | 0:0ce833f21e63 | 40 | * |
eqon | 0:0ce833f21e63 | 41 | * Redistribution and use in source and binary forms are permitted |
eqon | 0:0ce833f21e63 | 42 | * provided that the above copyright notice and this paragraph are |
eqon | 0:0ce833f21e63 | 43 | * duplicated in all such forms and that any documentation, |
eqon | 0:0ce833f21e63 | 44 | * advertising materials, and other materials related to such |
eqon | 0:0ce833f21e63 | 45 | * distribution and use acknowledge that the software was developed |
eqon | 0:0ce833f21e63 | 46 | * by Eric Rosenquist. The name of the author may not be used to |
eqon | 0:0ce833f21e63 | 47 | * endorse or promote products derived from this software without |
eqon | 0:0ce833f21e63 | 48 | * specific prior written permission. |
eqon | 0:0ce833f21e63 | 49 | * |
eqon | 0:0ce833f21e63 | 50 | * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR |
eqon | 0:0ce833f21e63 | 51 | * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED |
eqon | 0:0ce833f21e63 | 52 | * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. |
eqon | 0:0ce833f21e63 | 53 | * |
eqon | 0:0ce833f21e63 | 54 | * $Id: chpms.h,v 1.5 2007/12/19 20:47:23 fbernon Exp $ |
eqon | 0:0ce833f21e63 | 55 | */ |
eqon | 0:0ce833f21e63 | 56 | |
eqon | 0:0ce833f21e63 | 57 | #ifndef CHPMS_H |
eqon | 0:0ce833f21e63 | 58 | #define CHPMS_H |
eqon | 0:0ce833f21e63 | 59 | |
eqon | 0:0ce833f21e63 | 60 | #define MAX_NT_PASSWORD 256 /* Maximum number of (Unicode) chars in an NT password */ |
eqon | 0:0ce833f21e63 | 61 | |
eqon | 0:0ce833f21e63 | 62 | void ChapMS (chap_state *, char *, int, char *, int); |
eqon | 0:0ce833f21e63 | 63 | |
eqon | 0:0ce833f21e63 | 64 | #endif /* CHPMS_H */ |