UbixOS V2  2.0
net.h
Go to the documentation of this file.
1 /**************************************************************************************
2  Copyright (c) 2002 The UbixOS Project
3  All rights reserved.
4 
5 Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
6 
7 Redistributions of source code must retain the above copyright notice, this list of conditions, the following disclaimer and the list of authors.
8 Redistributions in binary form must reproduce the above copyright notice, this list of conditions, the following disclaimer and the list of authors
9 in the documentation and/or other materials provided with the distribution. Neither the name of the UbixOS Project nor the names of its
10 contributors may be used to endorse or promote products derived from this software without specific prior written permission.
11 
12 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED
13 WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
14 PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
15 INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
16 GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
17 OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
18 OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
19 
20  $Id: net.h 79 2016-01-11 16:21:27Z reddawg $
21 
22 **************************************************************************************/
23 
24 #ifndef _NET_H
25 #define _NET_H
26 
27 #include <sys/types.h>
28 #include <net/netif.h>
29 
30 extern struct netif lnc_netif;
31 
32 int net_init();
33 
34 #endif
types.h
netif.h
netif
Definition: netif.h:233
net_init
int net_init()
Definition: init.c:52
lnc_netif
struct netif lnc_netif
Definition: init.c:50