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