ソースの整理中ですが、利用はできます。

Dependencies:   EthernetInterface HttpServer TextLCD mbed-rpc mbed-rtos mbed Socket lwip-eth lwip-sys lwip

Committer:
yueee_yt
Date:
Wed Mar 12 04:19:54 2014 +0000
Revision:
0:7766f6712673
???????????????

Who changed what in which revision?

UserRevisionLine numberNew contents of line
yueee_yt 0:7766f6712673 1 /*
yueee_yt 0:7766f6712673 2 * Copyright (c) 2001-2004 Swedish Institute of Computer Science.
yueee_yt 0:7766f6712673 3 * All rights reserved.
yueee_yt 0:7766f6712673 4 *
yueee_yt 0:7766f6712673 5 * Redistribution and use in source and binary forms, with or without modification,
yueee_yt 0:7766f6712673 6 * are permitted provided that the following conditions are met:
yueee_yt 0:7766f6712673 7 *
yueee_yt 0:7766f6712673 8 * 1. Redistributions of source code must retain the above copyright notice,
yueee_yt 0:7766f6712673 9 * this list of conditions and the following disclaimer.
yueee_yt 0:7766f6712673 10 * 2. Redistributions in binary form must reproduce the above copyright notice,
yueee_yt 0:7766f6712673 11 * this list of conditions and the following disclaimer in the documentation
yueee_yt 0:7766f6712673 12 * and/or other materials provided with the distribution.
yueee_yt 0:7766f6712673 13 * 3. The name of the author may not be used to endorse or promote products
yueee_yt 0:7766f6712673 14 * derived from this software without specific prior written permission.
yueee_yt 0:7766f6712673 15 *
yueee_yt 0:7766f6712673 16 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
yueee_yt 0:7766f6712673 17 * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
yueee_yt 0:7766f6712673 18 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT
yueee_yt 0:7766f6712673 19 * SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
yueee_yt 0:7766f6712673 20 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
yueee_yt 0:7766f6712673 21 * OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
yueee_yt 0:7766f6712673 22 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
yueee_yt 0:7766f6712673 23 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
yueee_yt 0:7766f6712673 24 * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
yueee_yt 0:7766f6712673 25 * OF SUCH DAMAGE.
yueee_yt 0:7766f6712673 26 *
yueee_yt 0:7766f6712673 27 * This file is part of the lwIP TCP/IP stack.
yueee_yt 0:7766f6712673 28 *
yueee_yt 0:7766f6712673 29 * Author: Adam Dunkels <adam@sics.se>
yueee_yt 0:7766f6712673 30 *
yueee_yt 0:7766f6712673 31 */
yueee_yt 0:7766f6712673 32 #ifndef __LWIP_INIT_H__
yueee_yt 0:7766f6712673 33 #define __LWIP_INIT_H__
yueee_yt 0:7766f6712673 34
yueee_yt 0:7766f6712673 35 #include "lwip/opt.h"
yueee_yt 0:7766f6712673 36
yueee_yt 0:7766f6712673 37 #ifdef __cplusplus
yueee_yt 0:7766f6712673 38 extern "C" {
yueee_yt 0:7766f6712673 39 #endif
yueee_yt 0:7766f6712673 40
yueee_yt 0:7766f6712673 41 /** X.x.x: Major version of the stack */
yueee_yt 0:7766f6712673 42 #define LWIP_VERSION_MAJOR 1U
yueee_yt 0:7766f6712673 43 /** x.X.x: Minor version of the stack */
yueee_yt 0:7766f6712673 44 #define LWIP_VERSION_MINOR 4U
yueee_yt 0:7766f6712673 45 /** x.x.X: Revision of the stack */
yueee_yt 0:7766f6712673 46 #define LWIP_VERSION_REVISION 0U
yueee_yt 0:7766f6712673 47 /** For release candidates, this is set to 1..254
yueee_yt 0:7766f6712673 48 * For official releases, this is set to 255 (LWIP_RC_RELEASE)
yueee_yt 0:7766f6712673 49 * For development versions (CVS), this is set to 0 (LWIP_RC_DEVELOPMENT) */
yueee_yt 0:7766f6712673 50 #define LWIP_VERSION_RC 255U
yueee_yt 0:7766f6712673 51
yueee_yt 0:7766f6712673 52 /** LWIP_VERSION_RC is set to LWIP_RC_RELEASE for official releases */
yueee_yt 0:7766f6712673 53 #define LWIP_RC_RELEASE 255U
yueee_yt 0:7766f6712673 54 /** LWIP_VERSION_RC is set to LWIP_RC_DEVELOPMENT for CVS versions */
yueee_yt 0:7766f6712673 55 #define LWIP_RC_DEVELOPMENT 0U
yueee_yt 0:7766f6712673 56
yueee_yt 0:7766f6712673 57 #define LWIP_VERSION_IS_RELEASE (LWIP_VERSION_RC == LWIP_RC_RELEASE)
yueee_yt 0:7766f6712673 58 #define LWIP_VERSION_IS_DEVELOPMENT (LWIP_VERSION_RC == LWIP_RC_DEVELOPMENT)
yueee_yt 0:7766f6712673 59 #define LWIP_VERSION_IS_RC ((LWIP_VERSION_RC != LWIP_RC_RELEASE) && (LWIP_VERSION_RC != LWIP_RC_DEVELOPMENT))
yueee_yt 0:7766f6712673 60
yueee_yt 0:7766f6712673 61 /** Provides the version of the stack */
yueee_yt 0:7766f6712673 62 #define LWIP_VERSION (LWIP_VERSION_MAJOR << 24 | LWIP_VERSION_MINOR << 16 | \
yueee_yt 0:7766f6712673 63 LWIP_VERSION_REVISION << 8 | LWIP_VERSION_RC)
yueee_yt 0:7766f6712673 64
yueee_yt 0:7766f6712673 65 /* Modules initialization */
yueee_yt 0:7766f6712673 66 void lwip_init(void);
yueee_yt 0:7766f6712673 67
yueee_yt 0:7766f6712673 68 #ifdef __cplusplus
yueee_yt 0:7766f6712673 69 }
yueee_yt 0:7766f6712673 70 #endif
yueee_yt 0:7766f6712673 71
yueee_yt 0:7766f6712673 72 #endif /* __LWIP_INIT_H__ */