sdk-core v2026.11.05
PS2 SDK - core tier (build-critical EE/IOP modules)
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 IOP_PS2IP_INTERNAL_H
16#define IOP_PS2IP_INTERNAL_H
17
18#include "lwip/sockets.h"
19
20typedef struct
21{
22 char netif_name[4];
23 struct in_addr ipaddr;
24 struct in_addr netmask;
25 struct in_addr gw;
26 u32 dhcp_enabled;
27 u32 dhcp_status;
28 u8 hw_addr[8];
29} t_ip_info;
30
31#ifdef DEBUG
32#define dbgprintf(args...) printf(args)
33#else
34#define dbgprintf(args...)
35#endif
36
37extern err_t ps2ip_input(struct pbuf *p, struct netif *inp);
38
39#endif // !defined(IOP_PS2IP_INTERNAL_H)
Definition tcpip.h:234