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, 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
damir 0:a7a6a692162f 6 * modification, are permitted provided that the following conditions
damir 0:a7a6a692162f 7 * are met:
damir 0:a7a6a692162f 8 * 1. Redistributions of source code must retain the above copyright
damir 0:a7a6a692162f 9 * notice, this list of conditions and the following disclaimer.
damir 0:a7a6a692162f 10 * 2. Redistributions in binary form must reproduce the above copyright
damir 0:a7a6a692162f 11 * notice, this list of conditions and the following disclaimer in the
damir 0:a7a6a692162f 12 * documentation and/or other materials provided with the distribution.
damir 0:a7a6a692162f 13 * 3. Neither the name of the Institute nor the names of its contributors
damir 0:a7a6a692162f 14 * may be used to endorse or promote products derived from this software
damir 0:a7a6a692162f 15 * without specific prior written permission.
damir 0:a7a6a692162f 16 *
damir 0:a7a6a692162f 17 * THIS SOFTWARE IS PROVIDED BY THE INSTITUTE AND CONTRIBUTORS ``AS IS'' AND
damir 0:a7a6a692162f 18 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
damir 0:a7a6a692162f 19 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
damir 0:a7a6a692162f 20 * ARE DISCLAIMED. IN NO EVENT SHALL THE INSTITUTE OR CONTRIBUTORS BE LIABLE
damir 0:a7a6a692162f 21 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
damir 0:a7a6a692162f 22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
damir 0:a7a6a692162f 23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
damir 0:a7a6a692162f 24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
damir 0:a7a6a692162f 25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
damir 0:a7a6a692162f 26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
damir 0:a7a6a692162f 27 * SUCH DAMAGE.
damir 0:a7a6a692162f 28 *
damir 0:a7a6a692162f 29 * This file is part of the lwIP TCP/IP stack.
damir 0:a7a6a692162f 30 *
damir 0:a7a6a692162f 31 * Author: Adam Dunkels <adam@sics.se>
damir 0:a7a6a692162f 32 *
damir 0:a7a6a692162f 33 */
damir 0:a7a6a692162f 34 #ifndef __NETIF_SLIPIF_H__
damir 0:a7a6a692162f 35 #define __NETIF_SLIPIF_H__
damir 0:a7a6a692162f 36
damir 0:a7a6a692162f 37 #include "lwip/netif.h"
damir 0:a7a6a692162f 38
damir 0:a7a6a692162f 39 #ifdef __cplusplus
damir 0:a7a6a692162f 40 extern "C" {
damir 0:a7a6a692162f 41 #endif
damir 0:a7a6a692162f 42
damir 0:a7a6a692162f 43 err_t slipif_init(struct netif * netif);
damir 0:a7a6a692162f 44 void slipif_poll(struct netif *netif);
damir 0:a7a6a692162f 45
damir 0:a7a6a692162f 46 #ifdef __cplusplus
damir 0:a7a6a692162f 47 }
damir 0:a7a6a692162f 48 #endif
damir 0:a7a6a692162f 49
damir 0:a7a6a692162f 50 #endif
damir 0:a7a6a692162f 51