Disabling auto-refresh of game list by default, as it is causing bugs sometimes
[open-ps2-loader.git] / modules / network / SMSTCPIP / include / ps2ip_internal.h
blob7441f736371b47b29412a52b37a4fbb6111e6cfb
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.
10 # $Id: ps2ip_internal.h 577 2004-09-14 14:41:46Z pixel $
13 #if !defined(IOP_PS2IP_INTERNAL_H)
14 #define IOP_PS2IP_INTERNAL_H
16 #include "types.h"
17 #include "lwip/sockets.h"
20 typedef struct
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;
31 int ps2ip_setconfig(t_ip_info* ip_info);
32 #define I_ps2ip_setconfig DECLARE_IMPORT(20, ps2ip_setconfig)
33 int ps2ip_getconfig(char* netif_name,t_ip_info* ip_info);
34 #define I_ps2ip_getconfig DECLARE_IMPORT(21, ps2ip_getconfig)
35 err_t ps2ip_input(struct pbuf* pBuf, struct netif* pNetIF);
36 #define I_ps2ip_input DECLARE_IMPORT(22, ps2ip_input)
38 #endif // !defined(IOP_PS2IP_INTERNAL_H)