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