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