Back to home page

Quest Cross Reference

 
 

    


Warning, cross-references for /kernel/include/netif/slipif.h need to be fixed.

0001 /*
0002  * Copyright (c) 2001, Swedish Institute of Computer Science.
0003  * All rights reserved. 
0004  *
0005  * Redistribution and use in source and binary forms, with or without 
0006  * modification, are permitted provided that the following conditions 
0007  * are met: 
0008  * 1. Redistributions of source code must retain the above copyright 
0009  *    notice, this list of conditions and the following disclaimer. 
0010  * 2. Redistributions in binary form must reproduce the above copyright 
0011  *    notice, this list of conditions and the following disclaimer in the 
0012  *    documentation and/or other materials provided with the distribution. 
0013  * 3. Neither the name of the Institute nor the names of its contributors 
0014  *    may be used to endorse or promote products derived from this software 
0015  *    without specific prior written permission. 
0016  *
0017  * THIS SOFTWARE IS PROVIDED BY THE INSTITUTE AND CONTRIBUTORS ``AS IS'' AND 
0018  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
0019  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
0020  * ARE DISCLAIMED.  IN NO EVENT SHALL THE INSTITUTE OR CONTRIBUTORS BE LIABLE 
0021  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 
0022  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 
0023  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 
0024  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 
0025  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 
0026  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 
0027  * SUCH DAMAGE. 
0028  *
0029  * This file is part of the lwIP TCP/IP stack.
0030  * 
0031  * Author: Adam Dunkels <adam@sics.se>
0032  *
0033  */
0034 #ifndef __NETIF_SLIPIF_H__
0035 #define __NETIF_SLIPIF_H__
0036 
0037 #include "lwip/netif.h"
0038 
0039 #ifdef __cplusplus
0040 extern "C" {
0041 #endif
0042 
0043 err_t slipif_init(struct netif * netif);
0044 void slipif_poll(struct netif *netif);
0045 
0046 #ifdef __cplusplus
0047 }
0048 #endif
0049  
0050 #endif 
0051