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