LwIP with PPP & Ethernet integration

Dependents:   NetworkingCoreLib

This is the mbed port of the LwIP stack: http://savannah.nongnu.org/projects/lwip/

It includes contributed content from NXP's port for LPCxxxx devices: http://www.lpcware.com/content/project/lightweight-ip-lwip-networking-stack

Licence

LwIP is licenced under the BSD licence:

Copyright (c) 2001-2004 Swedish Institute of Computer Science. 
All rights reserved. 
Redistribution and use in source and binary forms, with or without modification, 
are permitted provided that the following conditions are met: 
1. Redistributions of source code must retain the above copyright notice, 
this list of conditions and the following disclaimer. 
2. Redistributions in binary form must reproduce the above copyright notice, 
this list of conditions and the following disclaimer in the documentation 
and/or other materials provided with the distribution. 
3. The name of the author may not be used to endorse or promote products 
derived from this software without specific prior written permission. 
THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED 
WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT 
SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT 
OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING 
IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY 
OF SUCH DAMAGE.
Committer:
donatien
Date:
Thu May 24 15:53:48 2012 +0000
Revision:
0:8e01dca41002
Merge with Emilio's LwIp

Who changed what in which revision?

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