RetroArch
Macros | Functions
General configuration options
Collaboration diagram for General configuration options:

Macros

#define UIP_MEM_SIZE
 
#define UIP_PBUF_POOL_NUM   16
 
#define UIP_PBUF_POOL_BUFSIZE   1600
 
#define UIP_PBUF_ROM_NUM   128
 
#define UIP_STATISTICS
 
#define UIP_LOGGING
 
#define UIP_ERRORING   0
 
#define UIP_LL_HLEN
 
#define UIP_TCPIP_HLEN   40
 

Functions

void uip_log (const char *filename, int line_nb, char *msg)
 

Detailed Description

Macro Definition Documentation

◆ UIP_ERRORING

#define UIP_ERRORING   0

◆ UIP_LL_HLEN

#define UIP_LL_HLEN

The link level header length.

This is the offset into the uip_buf where the IP header can be found. For Ethernet, this should be set to 14. For SLIP, this should be set to 0.

◆ UIP_LOGGING

#define UIP_LOGGING

Determines if logging of certain events should be compiled in.

This is useful mostly for debugging. The function uip_log() must be implemented to suit the architecture of the project, if logging is turned on.

◆ UIP_MEM_SIZE

#define UIP_MEM_SIZE

The size of the uIP packet buffer.

The uIP packet buffer should not be smaller than 60 bytes, and does not need to be larger than 1500 bytes. Lower size results in lower TCP throughput, larger size results in higher TCP throughput.

◆ UIP_PBUF_POOL_BUFSIZE

#define UIP_PBUF_POOL_BUFSIZE   1600

◆ UIP_PBUF_POOL_NUM

#define UIP_PBUF_POOL_NUM   16

◆ UIP_PBUF_ROM_NUM

#define UIP_PBUF_ROM_NUM   128

◆ UIP_STATISTICS

#define UIP_STATISTICS

Determines if statistics support should be compiled in.

The statistics is useful for debugging and to show the user.

◆ UIP_TCPIP_HLEN

#define UIP_TCPIP_HLEN   40

Function Documentation

◆ uip_log()

void uip_log ( const char *  filename,
int  line_nb,
char *  msg 
)

Print out a uIP log message.

This function must be implemented by the module that uses uIP, and is called by uIP whenever a log message is generated.