Version of http://mbed.org/cookbook/NetServicesTribute with setting set the same for LPC2368

Dependents:   UDPSocketExample 24LCxx_I2CApp WeatherPlatform_pachube HvZServerLib ... more

Committer:
simon
Date:
Tue Nov 23 14:15:36 2010 +0000
Revision:
0:350011bf8be7
Experimental version for testing UDP

Who changed what in which revision?

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