OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [ecos-3.0/] [packages/] [net/] [lwip_tcpip/] [current/] [include/] [lwip.h] - Blame information for rev 786

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 786 skrzyp
#ifndef CYGONCE_LWIP_H
2
#define CYGONCE_LWIP_H
3
//=============================================================================
4
//
5
//      lwip.h
6
//
7
//      lwIP networking stack.
8
//
9
//=============================================================================
10
//####ECOSGPLCOPYRIGHTBEGIN####
11
// -------------------------------------------
12
// This file is part of eCos, the Embedded Configurable Operating System.
13
// Copyright (C) 2008, 2009 Free Software Foundation
14
//
15
// eCos is free software; you can redistribute it and/or modify it under
16
// the terms of the GNU General Public License as published by the Free
17
// Software Foundation; either version 2 or (at your option) any later version.
18
//
19
// eCos is distributed in the hope that it will be useful, but WITHOUT ANY
20
// WARRANTY; without even the implied warranty of MERCHANTABILITY or
21
// FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
22
// for more details.
23
//
24
// You should have received a copy of the GNU General Public License along
25
// with eCos; if not, write to the Free Software Foundation, Inc.,
26
// 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
27
//
28
// As a special exception, if other files instantiate templates or use macros
29
// or inline functions from this file, or you compile this file and link it
30
// with other works to produce a work based on this file, this file does not
31
// by itself cause the resulting work to be covered by the GNU General Public
32
// License. However the source code for this file must still be made available
33
// in accordance with section (3) of the GNU General Public License.
34
//
35
// This exception does not invalidate any other reasons why a work based on
36
// this file might be covered by the GNU General Public License.
37
//
38
// Alternative licenses for eCos may be arranged by contacting Red Hat, Inc.
39
// at http://sources.redhat.com/ecos/ecos-license/
40
// -------------------------------------------
41
//####ECOSGPLCOPYRIGHTEND####
42
//=============================================================================
43
//#####DESCRIPTIONBEGIN####
44
//
45
// Author(s):     Simon Kallweit
46
// Date:          2008-12-09
47
// Purpose:
48
// Description:
49
//
50
//####DESCRIPTIONEND####
51
//=============================================================================
52
 
53
#ifdef __cplusplus
54
extern "C" {
55
#endif
56
 
57
#include <lwip/opt.h>
58
#include <lwip/debug.h>
59
#include <lwip/stats.h>
60
#include <lwip/tcp.h>
61
#include "lwip/sys.h"
62
#include "lwip/api.h"
63
 
64
// Serial device id's
65
#define SIO_DEV_SLIPIF  0
66
#define SIO_DEV_PPPOS   1
67
 
68
#ifdef CYGFUN_LWIP_MODE_SIMPLE
69
 
70
externC void cyg_lwip_simple_init(void);
71
externC void cyg_lwip_simple_restart(void);
72
externC void cyg_lwip_simple_poll(void);
73
 
74
#endif // CYGFUN_LWIP_MODE_SIMPLE
75
 
76
 
77
#ifdef CYGFUN_LWIP_MODE_SEQUENTIAL
78
 
79
externC void cyg_lwip_sequential_init(void);
80
 
81
externC sys_thread_t cyg_lwip_thread_new(char *name,
82
                                         void (* thread)(void *arg), void *arg,
83
                                         void *stack, int stacksize, int prio);
84
 
85
#endif // CYGFUN_LWIP_MODE_SEQUENTIAL
86
 
87
 
88
#ifdef __cplusplus
89
}
90
#endif
91
 
92
//-----------------------------------------------------------------------------
93
#endif // CYGONCE_LWIP_H

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.