UbixOS  2.0
init.c File Reference
#include <sys/types.h>
#include <ubixos/sched.h>
#include <ubixos/endtask.h>
#include <ubixos/sem.h>
#include <net/sys.h>
#include <net/mem.h>
#include <net/memp.h>
#include <net/tcpip.h>
#include <net/ip_addr.h>
#include <netif/ethernet.h>
#include <netif/ethernetif.h>
#include <ubixos/exec.h>
#include <lib/kmalloc.h>
#include <lib/kprintf.h>
Include dependency graph for init.c:

Go to the source code of this file.

Functions

void lnc_thread ()
 
int net_init ()
 
void shell_thread (void *)
 

Variables

struct netif lnc_netif
 

Function Documentation

◆ lnc_thread()

void lnc_thread ( )

◆ net_init()

int net_init ( )

Definition at line 52 of file init.c.

References ethernetif_init(), lnc_netif, lnc_thread(), netif_add(), netif_set_default(), netif_set_link_up(), netif_set_up(), NULL, shell_thread(), sys_thread_new(), tcpip_init(), and tcpip_input().

Here is the call graph for this function:

◆ shell_thread()

void shell_thread ( void *  )

Definition at line 95 of file shell.c.

References buffer, and kmalloc().

Referenced by net_init().

Here is the call graph for this function:

Variable Documentation

◆ lnc_netif

struct netif lnc_netif

Definition at line 50 of file init.c.

Referenced by net_init().