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