Net stack with AutoIP enabled

Dependencies:   mbed

Committer:
darran
Date:
Fri Jul 02 17:21:58 2010 +0000
Revision:
0:ac21159e27f4

        

Who changed what in which revision?

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