PS2SDK
PS2 Homebrew Libraries
|
Go to the source code of this file.
Macros | |
#define | LIBCGLUE_SYS_SOCKET_ALIASES 1 |
Functions | |
int | ps2ipInit (struct ip4_addr *ip_address, struct ip4_addr *subnet_mask, struct ip4_addr *gateway) |
void | ps2ipDeinit (void) |
void | ps2ipSetHsyncTicksPerMSec (unsigned char ticks) |
err_t | ps2ip_input (struct pbuf *p, struct netif *inp) |
err_t | etharp_output (struct netif *netif, struct pbuf *q, const ip_addr_t *ipaddr) |
err_t | tcpip_input (struct pbuf *p, struct netif *inp) |
struct netif * | netif_add (struct netif *netif, void *state, netif_init_fn init, netif_input_fn input) |
struct netif * | netif_find (const char *name) |
void | netif_set_default (struct netif *netif) |
void | netif_set_ipaddr (struct netif *netif, const ip4_addr_t *ipaddr) |
void | netif_set_netmask (struct netif *netif, const ip4_addr_t *netmask) |
void | netif_set_gw (struct netif *netif, const ip4_addr_t *gw) |
void | netif_set_up (struct netif *netif) |
void | netif_set_down (struct netif *netif) |
struct pbuf * | pbuf_alloc (pbuf_layer l, u16 size, pbuf_type type) |
void | pbuf_realloc (struct pbuf *p, u16 size) |
u8 | pbuf_header (struct pbuf *p, s16 header_size) |
void | pbuf_ref (struct pbuf *p) |
u8 | pbuf_free (struct pbuf *p) |
u8 | pbuf_clen (struct pbuf *p) |
void | pbuf_chain (struct pbuf *h, struct pbuf *t) |
struct pbuf * | pbuf_dechain (struct pbuf *p) |
struct pbuf * | pbuf_take (struct pbuf *f) |
struct pbuf * | pbuf_coalesce (struct pbuf *p, pbuf_layer layer) |
Imports and definitions for ps2ip.
Definition in file ps2ip.h.
int ps2ipInit | ( | struct ip4_addr * | ip_address, |
struct ip4_addr * | subnet_mask, | ||
struct ip4_addr * | gateway | ||
) |
Initializes PS2IP. Specify a dummy address like "169.254.0.1" if DHCP is to be used, before enabling DHCP via ps2ip_setconfig().
Definition at line 323 of file ps2ip.c.
References SMapIFInit().
void ps2ipSetHsyncTicksPerMSec | ( | unsigned char | ticks | ) |
Use to specify the number of H-sync ticks per milisecond (Default: 16). Use this function to keep timings accurate, if a mode like 480P (~31KHz H-sync) is used instead of NTSC/PAL (~16KHz H-sync).
This function is obsolete, so it is stubbed for compatibility purposes.
struct netif * netif_find | ( | const char * | name | ) |
Returns a network interface given its name. The name is of the form "et0", where the first two letters are the "name" field in the netif structure, and the digit is in the num field in the same structure.