Onenet

Dependents:   K64F_eCompass_OneNET_JW

Committer:
robert_jw
Date:
Mon Jun 20 01:40:20 2016 +0000
Revision:
0:b2805b6888dc
ADS

Who changed what in which revision?

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