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