PS2SDK
PS2 Homebrew Libraries
Loading...
Searching...
No Matches
ps2ip.c File Reference
#include <types.h>
#include <stdio.h>
#include <intrman.h>
#include <loadcore.h>
#include <thbase.h>
#include <sysclib.h>
#include <thevent.h>
#include <sysmem.h>
#include <lwip/memp.h>
#include "lwip/sys.h"
#include "lwip/tcp.h"
#include "lwip/tcpip.h"
#include "lwip/prot/dhcp.h"
#include "lwip/netif.h"
#include "lwip/dhcp.h"
#include "lwip/inet.h"
#include "netif/etharp.h"
#include "ps2ip_internal.h"
+ Include dependency graph for ps2ip.c:

Go to the source code of this file.

Macros

#define MODNAME   "TCP/IP Stack"
 

Typedefs

typedef struct pbuf PBuf
 
typedef struct netif NetIF
 
typedef struct ip4_addr IPAddr
 

Functions

 IRX_ID (MODNAME, 2, 3)
 
int ps2ip_getconfig (char *pszName, t_ip_info *pInfo)
 
int ps2ip_setconfig (const t_ip_info *pInfo)
 
static void InitDone (void *pvArg)
 
err_t ps2ip_input (PBuf *pInput, NetIF *pNetIF)
 
int _exit (int argc, char *argv[])
 
int _start (int argc, char *argv[])
 

Variables

struct irx_export_table _exp_ps2ip
 

Detailed Description

PS2 TCP/IP STACK FOR IOP

Definition in file ps2ip.c.

Macro Definition Documentation

◆ MODNAME

#define MODNAME   "TCP/IP Stack"

Definition at line 41 of file ps2ip.c.

Typedef Documentation

◆ PBuf

typedef struct pbuf PBuf

Definition at line 37 of file ps2ip.c.

◆ NetIF

typedef struct netif NetIF

Definition at line 38 of file ps2ip.c.

◆ IPAddr

typedef struct ip4_addr IPAddr

Definition at line 39 of file ps2ip.c.

Function Documentation

◆ ps2ip_getconfig()

int ps2ip_getconfig ( char *  pszName,
t_ip_info pInfo 
)

Definition at line 55 of file ps2ip.c.

◆ ps2ip_setconfig()

int ps2ip_setconfig ( const t_ip_info pInfo)

Definition at line 99 of file ps2ip.c.

◆ InitDone()

static void InitDone ( void *  pvArg)
static

Definition at line 150 of file ps2ip.c.

◆ ps2ip_input()

err_t ps2ip_input ( PBuf pInput,
NetIF pNetIF 
)

Definition at line 209 of file ps2ip.c.

◆ _exit()

int _exit ( int  argc,
char *  argv[] 
)

Definition at line 219 of file ps2ip.c.

◆ _start()

int _start ( int  argc,
char *  argv[] 
)

Definition at line 227 of file ps2ip.c.