Ethernet test for ECE 4180 and others to find your IP address and do a simple HTTP GET request over port 80.

Dependencies:   mbed Socket lwip-eth lwip-sys lwip

Committer:
mkersh3
Date:
Thu Apr 04 05:26:09 2013 +0000
Revision:
0:e7ca326e76ee
Ethernet Test for ECE4180 and others to find their IP Address and do a simple HTTP GET request over port 80.

Who changed what in which revision?

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