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