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