LibXenon
Bare-metal Xbox 360 homebrew library
Loading...
Searching...
No Matches
Macros | Functions | Variables
network.c File Reference
#include <stdio.h>
#include <ppc/timebase.h>
#include "lwipopts.h"
#include "lwip/debug.h"
#include "lwip/timers.h"
#include "lwip/mem.h"
#include "lwip/memp.h"
#include "lwip/sys.h"
#include "lwip/init.h"
#include "lwip/dhcp.h"
#include "lwip/stats.h"
#include "lwip/ip.h"
#include "lwip/udp.h"
#include "lwip/tcp.h"
#include "lwip/tcp_impl.h"
Include dependency graph for network.c:

Go to the source code of this file.

Macros

#define NTOA(ip)   (int)((ip.addr>>24)&0xff), (int)((ip.addr>>16)&0xff), (int)((ip.addr>>8)&0xff), (int)(ip.addr&0xff)
 

Functions

void enet_poll (struct netif *netif)
 
err_t enet_init (struct netif *netif)
 
void network_poll ()
 
void network_init ()
 
void network_print_config ()
 

Variables

struct netif netif
 
ip_addr_t ipaddr
 
ip_addr_t netmask
 
ip_addr_t gateway
 

Macro Definition Documentation

◆ NTOA

#define NTOA (   ip)    (int)((ip.addr>>24)&0xff), (int)((ip.addr>>16)&0xff), (int)((ip.addr>>8)&0xff), (int)(ip.addr&0xff)

Definition at line 26 of file network.c.

Function Documentation

◆ enet_init()

err_t enet_init ( struct netif netif)

Definition at line 158 of file enet.c.

◆ enet_poll()

void enet_poll ( struct netif netif)

Definition at line 412 of file enet.c.

◆ network_init()

void network_init ( )

Definition at line 34 of file network.c.

◆ network_poll()

void network_poll ( )

Definition at line 92 of file network.c.

◆ network_print_config()

void network_print_config ( )

Definition at line 119 of file network.c.

Variable Documentation

◆ gateway

ip_addr_t gateway

Definition at line 23 of file network.c.

◆ ipaddr

ip_addr_t ipaddr

Definition at line 23 of file network.c.

◆ netif

struct netif netif

Definition at line 21 of file network.c.

◆ netmask

ip_addr_t netmask

Definition at line 23 of file network.c.