EthernetNetIf

Dependents:   XBee_WiFi_EA_LPC4088

Committer:
hmike
Date:
Wed Nov 19 12:00:42 2014 +0000
Revision:
0:62580107d20c
EthernetNetIf

Who changed what in which revision?

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