hattori&ide

Dependencies:   mbed

Committer:
hattori_atsushi
Date:
Sun Dec 18 08:16:01 2022 +0000
Revision:
0:f77369cabd75
hattori

Who changed what in which revision?

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