Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: BufferedSerial FatFileSystemCpp mbed
EthernetInterface/lwip/include/netif/slipif.h@74:a1bf25282cb1, 2022-02-10 (annotated)
- Committer:
- JamieB
- Date:
- Thu Feb 10 10:43:50 2022 +0000
- Revision:
- 74:a1bf25282cb1
- Parent:
- 22:0dd9c1b5664a
Incremented version to 0.27 (forgot to on the last commit...)
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| AndyA | 22:0dd9c1b5664a | 1 | /* |
| AndyA | 22:0dd9c1b5664a | 2 | * Copyright (c) 2001, Swedish Institute of Computer Science. |
| AndyA | 22:0dd9c1b5664a | 3 | * All rights reserved. |
| AndyA | 22:0dd9c1b5664a | 4 | * |
| AndyA | 22:0dd9c1b5664a | 5 | * Redistribution and use in source and binary forms, with or without |
| AndyA | 22:0dd9c1b5664a | 6 | * modification, are permitted provided that the following conditions |
| AndyA | 22:0dd9c1b5664a | 7 | * are met: |
| AndyA | 22:0dd9c1b5664a | 8 | * 1. Redistributions of source code must retain the above copyright |
| AndyA | 22:0dd9c1b5664a | 9 | * notice, this list of conditions and the following disclaimer. |
| AndyA | 22:0dd9c1b5664a | 10 | * 2. Redistributions in binary form must reproduce the above copyright |
| AndyA | 22:0dd9c1b5664a | 11 | * notice, this list of conditions and the following disclaimer in the |
| AndyA | 22:0dd9c1b5664a | 12 | * documentation and/or other materials provided with the distribution. |
| AndyA | 22:0dd9c1b5664a | 13 | * 3. Neither the name of the Institute nor the names of its contributors |
| AndyA | 22:0dd9c1b5664a | 14 | * may be used to endorse or promote products derived from this software |
| AndyA | 22:0dd9c1b5664a | 15 | * without specific prior written permission. |
| AndyA | 22:0dd9c1b5664a | 16 | * |
| AndyA | 22:0dd9c1b5664a | 17 | * THIS SOFTWARE IS PROVIDED BY THE INSTITUTE AND CONTRIBUTORS ``AS IS'' AND |
| AndyA | 22:0dd9c1b5664a | 18 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
| AndyA | 22:0dd9c1b5664a | 19 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE |
| AndyA | 22:0dd9c1b5664a | 20 | * ARE DISCLAIMED. IN NO EVENT SHALL THE INSTITUTE OR CONTRIBUTORS BE LIABLE |
| AndyA | 22:0dd9c1b5664a | 21 | * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
| AndyA | 22:0dd9c1b5664a | 22 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS |
| AndyA | 22:0dd9c1b5664a | 23 | * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) |
| AndyA | 22:0dd9c1b5664a | 24 | * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT |
| AndyA | 22:0dd9c1b5664a | 25 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY |
| AndyA | 22:0dd9c1b5664a | 26 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
| AndyA | 22:0dd9c1b5664a | 27 | * SUCH DAMAGE. |
| AndyA | 22:0dd9c1b5664a | 28 | * |
| AndyA | 22:0dd9c1b5664a | 29 | * This file is part of the lwIP TCP/IP stack. |
| AndyA | 22:0dd9c1b5664a | 30 | * |
| AndyA | 22:0dd9c1b5664a | 31 | * Author: Adam Dunkels <adam@sics.se> |
| AndyA | 22:0dd9c1b5664a | 32 | * |
| AndyA | 22:0dd9c1b5664a | 33 | */ |
| AndyA | 22:0dd9c1b5664a | 34 | #ifndef __NETIF_SLIPIF_H__ |
| AndyA | 22:0dd9c1b5664a | 35 | #define __NETIF_SLIPIF_H__ |
| AndyA | 22:0dd9c1b5664a | 36 | |
| AndyA | 22:0dd9c1b5664a | 37 | #include "lwip/netif.h" |
| AndyA | 22:0dd9c1b5664a | 38 | |
| AndyA | 22:0dd9c1b5664a | 39 | #ifdef __cplusplus |
| AndyA | 22:0dd9c1b5664a | 40 | extern "C" { |
| AndyA | 22:0dd9c1b5664a | 41 | #endif |
| AndyA | 22:0dd9c1b5664a | 42 | |
| AndyA | 22:0dd9c1b5664a | 43 | err_t slipif_init(struct netif * netif); |
| AndyA | 22:0dd9c1b5664a | 44 | void slipif_poll(struct netif *netif); |
| AndyA | 22:0dd9c1b5664a | 45 | |
| AndyA | 22:0dd9c1b5664a | 46 | #ifdef __cplusplus |
| AndyA | 22:0dd9c1b5664a | 47 | } |
| AndyA | 22:0dd9c1b5664a | 48 | #endif |
| AndyA | 22:0dd9c1b5664a | 49 | |
| AndyA | 22:0dd9c1b5664a | 50 | #endif |
| AndyA | 22:0dd9c1b5664a | 51 |