PS2SDK
PS2 Homebrew Libraries
Loading...
Searching...
No Matches
ps2ip_internal.h
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
11#ifndef IOP_PS2IP_INTERNAL_H
12#define IOP_PS2IP_INTERNAL_H
13
14#include "lwip/sockets.h"
15
16typedef struct
17{
18 char netif_name[4];
19 struct in_addr ipaddr;
20 struct in_addr netmask;
21 struct in_addr gw;
22 u32 dhcp_enabled;
23 u32 dhcp_status;
24 u8 hw_addr[8];
25} t_ip_info;
26
27#ifdef DEBUG
28#define dbgprintf(args...) printf(args)
29#else
30#define dbgprintf(args...)
31#endif
32
33err_t ps2ip_input(struct pbuf *p, struct netif *inp);
34
35#endif // !defined(IOP_PS2IP_INTERNAL_H)
Definition tcpip.h:200