RetroArch
Classes | Macros | Functions
tcpip.h File Reference
#include "uIP/uip.h"
#include <sys/time.h>
#include <sys/types.h>
Include dependency graph for tcpip.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  sockaddr_in
 
struct  sockaddr
 

Macros

#define AF_UNSPEC   0
 
#define AF_INET   2
 
#define PF_INET   AF_INET
 
#define PF_UNSPEC   AF_UNSPEC
 
#define INADDR_ANY   0
 
#define INADDR_BROADCAST   0xffffffff
 
#define socklen_t   u32_t
 

Functions

struct dbginterfacetcpip_init (struct uip_ip_addr *localip, struct uip_ip_addr *netmask, struct uip_ip_addr *gateway, u16 port)
 
void tcpip_close (s32_t s)
 
void tcpip_starttimer (s32_t s)
 
void tcpip_stoptimer (s32_t s)
 
s32_t tcpip_socket ()
 
s32_t tcpip_listen (s32_t s, u32_t backlog)
 
s32_t tcpip_bind (s32_t s, struct sockaddr *name, socklen_t *namelen)
 
s32_t tcpip_accept (s32_t s)
 
s32_t tcpip_read (s32_t s, void *buffer, u32_t len)
 
s32_t tcpip_write (s32_t s, const void *buffer, u32_t len)
 

Macro Definition Documentation

◆ AF_INET

#define AF_INET   2

◆ AF_UNSPEC

#define AF_UNSPEC   0

◆ INADDR_ANY

#define INADDR_ANY   0

◆ INADDR_BROADCAST

#define INADDR_BROADCAST   0xffffffff

◆ PF_INET

#define PF_INET   AF_INET

◆ PF_UNSPEC

#define PF_UNSPEC   AF_UNSPEC

◆ socklen_t

#define socklen_t   u32_t

Function Documentation

◆ tcpip_accept()

s32_t tcpip_accept ( s32_t  s)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ tcpip_bind()

s32_t tcpip_bind ( s32_t  s,
struct sockaddr name,
socklen_t namelen 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ tcpip_close()

void tcpip_close ( s32_t  s)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ tcpip_init()

struct dbginterface* tcpip_init ( struct uip_ip_addr localip,
struct uip_ip_addr netmask,
struct uip_ip_addr gateway,
u16  port 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ tcpip_listen()

s32_t tcpip_listen ( s32_t  s,
u32_t  backlog 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ tcpip_read()

s32_t tcpip_read ( s32_t  s,
void buffer,
u32_t  len 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ tcpip_socket()

s32_t tcpip_socket ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ tcpip_starttimer()

void tcpip_starttimer ( s32_t  s)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ tcpip_stoptimer()

void tcpip_stoptimer ( s32_t  s)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ tcpip_write()

s32_t tcpip_write ( s32_t  s,
const void buffer,
u32_t  len 
)
Here is the call graph for this function:
Here is the caller graph for this function: