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