testing of combination of LCS and LAN

Dependencies:   mbed

Committer:
damir
Date:
Wed Jan 14 13:29:55 2015 +0000
Revision:
0:a7a6a692162f
Test of LAN

Who changed what in which revision?

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