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