sdk-core
v2026.11.05
PS2 SDK - core tier (build-critical EE/IOP modules)
Toggle main menu visibility
Loading...
Searching...
No Matches
ps2ip_internal.h
Go to the documentation of this file.
1
/*
2
# _____ ___ ____ ___ ____
3
# ____| | ____| | | |____|
4
# | ___| |____ ___| ____| | \ PS2DEV Open Source Project.
5
#-----------------------------------------------------------------------
6
# Copyright 2001-2004, ps2dev - http://www.ps2dev.org
7
# Licenced under Academic Free License version 2.0
8
# Review ps2sdk README & LICENSE files for further details.
9
*/
10
15
#ifndef __PS2IP_INTERNAL_H__
16
#define __PS2IP_INTERNAL_H__
17
18
#include <types.h>
19
#include "
lwip/sockets.h
"
20
21
#ifdef DEBUG
22
#define dbgprintf(args...) printf("PS2IP: "args)
23
#else
24
#define dbgprintf(args...)
25
#endif
26
27
//This structure is also found in common/tcpip.h, but that header file cannot be imported because it will conflict with the full LWIP header files.
28
typedef
struct
29
{
30
char
netif_name[4];
31
struct
in_addr
ipaddr;
32
struct
in_addr
netmask;
33
struct
in_addr
gw;
34
u32 dhcp_enabled;
35
u32 dhcp_status;
36
u8 hw_addr[8];
37
}
t_ip_info
;
38
39
#endif
/* __PS2IP_INTERNAL_H__ */
sockets.h
in_addr
Definition
tcpip.h:1511
t_ip_info
Definition
tcpip.h:1999
core
ps2ip-nm
include
ps2ip_internal.h
Generated by
1.18.0