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

Macros

#define MEM_SIZE   (64*1024)
 
#define PBUF_POOL_NUM   (HCI_HOST_MAX_NUM_ACL*MAX_NUM_CLIENTS)
 
#define PBUF_POOL_BUFSIZE   HCI_HOST_ACL_MAX_LEN
 
#define PBUF_ROM_NUM   45
 
#define STATISTICS
 
#define LOGGING
 
#define ERRORING   0
 
#define LL_HLEN
 
#define TCPIP_HLEN   40
 

Functions

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

Detailed Description

Macro Definition Documentation

◆ ERRORING

#define ERRORING   0

◆ LL_HLEN

#define 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.

◆ LOGGING

#define 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.

◆ MEM_SIZE

#define MEM_SIZE   (64*1024)

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.

◆ PBUF_POOL_BUFSIZE

#define PBUF_POOL_BUFSIZE   HCI_HOST_ACL_MAX_LEN

◆ PBUF_POOL_NUM

#define PBUF_POOL_NUM   (HCI_HOST_MAX_NUM_ACL*MAX_NUM_CLIENTS)

◆ PBUF_ROM_NUM

#define PBUF_ROM_NUM   45

◆ STATISTICS

#define STATISTICS

Determines if statistics support should be compiled in.

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

◆ TCPIP_HLEN

#define TCPIP_HLEN   40

Function Documentation

◆ bt_log()

void bt_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.