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