Dependencies:   mbed

Dependents:   TCP

Committer:
slowness
Date:
Tue Sep 06 18:05:46 2011 +0000
Revision:
0:58c3d014a4e7

        

Who changed what in which revision?

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