ps2sdk
1.1
A collection of Open Source libraries used for developing applications on Sony's PlayStation 2® (PS2).
|
Go to the source code of this file.
#define CHECKSUM_CHECK_ICMP 0 |
CHECKSUM_CHECK_ICMP==1: Check checksums in software for incoming ICMP packets.
Definition at line 234 of file lwipopts.h.
#define CHECKSUM_CHECK_ICMP6 0 |
CHECKSUM_CHECK_ICMP6==1: Check checksums in software for incoming ICMPv6 packets
Definition at line 239 of file lwipopts.h.
#define CHECKSUM_CHECK_IP 0 |
CHECKSUM_CHECK_IP==1: Check checksums in software for incoming IP packets.
Definition at line 219 of file lwipopts.h.
#define CHECKSUM_CHECK_TCP 0 |
CHECKSUM_CHECK_TCP==1: Check checksums in software for incoming TCP packets.
Definition at line 229 of file lwipopts.h.
#define CHECKSUM_CHECK_UDP 0 |
CHECKSUM_CHECK_UDP==1: Check checksums in software for incoming UDP packets.
Definition at line 224 of file lwipopts.h.
#define DEFAULT_THREAD_PRIO 0x58 |
DEFAULT_THREAD_PRIO: The priority assigned to any other lwIP thread. The priority value itself is platform-dependent, but is passed to sys_thread_new() when the thread is created.
Definition at line 28 of file lwipopts.h.
#define DEFAULT_THREAD_STACKSIZE 0x1000 |
DEFAULT_THREAD_STACKSIZE: The stack size used by any other lwIP thread. The stack size value itself is platform-dependent, but is passed to sys_thread_new() when the thread is created.
Definition at line 21 of file lwipopts.h.
#define DHCP_DOES_ARP_CHECK 0 |
DHCP_DOES_ARP_CHECK==1: Do an ARP check on the offered address.
Definition at line 181 of file lwipopts.h.
#define LWIP_CHECKSUM_ON_COPY 1 |
LWIP_CHECKSUM_ON_COPY==1: Calculate checksum when copying data from application buffers to pbufs.
Definition at line 245 of file lwipopts.h.
#define LWIP_DHCP_CHECK_LINK_UP 1 |
LWIP_DHCP_CHECK_LINK_UP==1: dhcp_start() only really starts if the netif has NETIF_FLAG_LINK_UP set in its flags. As this is only an optimization and netif drivers might not set this flag, the default is off. If enabled, netif_set_link_up() must be called to continue dhcp starting.
Definition at line 189 of file lwipopts.h.
#define LWIP_DNS_SECURE 0 |
LWIP_DNS_SECURE: controls the security level of the DNS implementation Use all DNS security features by default. This is overridable but should only be needed by very small targets or when using against non standard DNS servers.
Definition at line 272 of file lwipopts.h.
#define LWIP_NETIF_TX_SINGLE_PBUF 1 |
LWIP_NETIF_TX_SINGLE_PBUF: if this is set to 1, lwIP tries to put all data to be sent into one single pbuf. This is for compatibility with DMA-enabled MACs that do not support scatter-gather. Beware that this might involve CPU-memcpy before transmitting that would not be needed without this flag! Use this only if you need to!
Definition at line 288 of file lwipopts.h.
#define LWIP_POSIX_SOCKETS_IO_NAMES 0 |
LWIP_POSIX_SOCKETS_IO_NAMES==1: Enable POSIX-style sockets functions names. Disable this option if you use a POSIX operating system that uses the same names (read, write & close). (only used if you use sockets.c)
Definition at line 261 of file lwipopts.h.
#define LWIP_SOCKET_SET_ERRNO 0 |
Definition at line 255 of file lwipopts.h.
#define LWIP_STATS 0 |
LWIP_DNS==1: Turn on DNS module. UDP must be available for DNS transport. LWIP_STATS==1: Enable statistics collection in lwip_stats.
Definition at line 208 of file lwipopts.h.
#define LWIP_TCPIP_CORE_LOCKING_INPUT 1 |
LWIP_TCPIP_CORE_LOCKING_INPUT: when LWIP_TCPIP_CORE_LOCKING is enabled, this lets tcpip_input() grab the mutex for input packets as well, instead of allocating a message and passing it to tcpip_thread.
ATTENTION: this does not work when tcpip_input() is called from interrupt context!
Definition at line 147 of file lwipopts.h.
#define LWIP_TIMEVAL_PRIVATE 0 |
Definition at line 13 of file lwipopts.h.
#define MEM_ALIGNMENT 64 |
Definition at line 87 of file lwipopts.h.
#define MEM_LIBC_MALLOC 1 |
MEM_LIBC_MALLOC==1: Use malloc/free/realloc provided by your C-library instead of the lwip internal allocator. Can save code size if you already use it.
Definition at line 82 of file lwipopts.h.
#define MEM_SIZE (TCP_SND_BUF * 2) |
MEM_SIZE: the size of the heap memory. If the application will send a lot of data that needs to be copied, this should be set high.
Definition at line 95 of file lwipopts.h.
#define MEMP_NUM_NETCONN (MEMP_NUM_TCP_PCB+MEMP_NUM_UDP_PCB) |
MEMP_NUM_NETCONN: the number of struct netconns. (only needed if you use the sequential API, like api_lib.c)
Definition at line 106 of file lwipopts.h.
#define MEMP_NUM_TCP_SEG TCP_SND_QUEUELEN |
MEMP_NUM_TCP_SEG: the number of simultaneously queued TCP segments. (requires the LWIP_TCP option)
Definition at line 137 of file lwipopts.h.
#define MEMP_NUM_TCPIP_MSG_API 50 |
MEMP_NUM_TCPIP_MSG_API: the number of struct tcpip_msg, which are used for callback/timeout API communication. (only needed if you use tcpip.c)
Definition at line 131 of file lwipopts.h.
#define MEMP_NUM_TCPIP_MSG_INPKT 50 |
MEMP_NUM_TCPIP_MSG_INPKT: the number of struct tcpip_msg, which are used for incoming packets. (only needed if you use tcpip.c)
Definition at line 122 of file lwipopts.h.
#define NO_SYS 0 |
NO_SYS==1: Provides VERY minimal functionality. Otherwise, use lwIP facilities.
Definition at line 11 of file lwipopts.h.
#define PBUF_POOL_SIZE 128 |
PBUF_POOL_SIZE: the number of buffers in the pbuf pool.
Definition at line 113 of file lwipopts.h.
#define PPP_THREAD_PRIO DEFAULT_THREAD_PRIO |
PPP_THREAD_PRIO: The priority assigned to the pppInputThread. The priority value itself is platform-dependent, but is passed to sys_thread_new() when the thread is created.
Definition at line 70 of file lwipopts.h.
#define PPP_THREAD_STACKSIZE DEFAULT_THREAD_STACKSIZE |
PPP_THREAD_STACKSIZE: The stack size used by the pppInputThread. The stack size value itself is platform-dependent, but is passed to sys_thread_new() when the thread is created.
Definition at line 63 of file lwipopts.h.
#define SLIPIF_THREAD_PRIO DEFAULT_THREAD_PRIO |
SLIPIF_THREAD_PRIO: The priority assigned to the slipif_loop thread. The priority value itself is platform-dependent, but is passed to sys_thread_new() when the thread is created.
Definition at line 56 of file lwipopts.h.
#define SLIPIF_THREAD_STACKSIZE DEFAULT_THREAD_STACKSIZE |
SLIP_THREAD_STACKSIZE: The stack size used by the slipif_loop thread. The stack size value itself is platform-dependent, but is passed to sys_thread_new() when the thread is created.
Definition at line 49 of file lwipopts.h.
#define SYS_LIGHTWEIGHT_PROT 1 |
SYS_LIGHTWEIGHT_PROT define SYS_LIGHTWEIGHT_PROT in lwipopts.h if you want inter-task protection for certain critical regions during buffer allocation, deallocation and memory allocation and deallocation.
Definition at line 154 of file lwipopts.h.
#define TCP_MSS 1460 |
Definition at line 162 of file lwipopts.h.
#define TCP_SND_BUF (TCP_MSS*32) |
Definition at line 165 of file lwipopts.h.
#define TCP_WND 65535 |
Definition at line 168 of file lwipopts.h.
#define TCPIP_THREAD_PRIO DEFAULT_THREAD_PRIO |
TCPIP_THREAD_PRIO: The priority assigned to the main tcpip thread. The priority value itself is platform-dependent, but is passed to sys_thread_new() when the thread is created.
Definition at line 42 of file lwipopts.h.
#define TCPIP_THREAD_STACKSIZE DEFAULT_THREAD_STACKSIZE |
TCPIP_THREAD_STACKSIZE: The stack size used by the main tcpip thread. The stack size value itself is platform-dependent, but is passed to sys_thread_new() when the thread is created.
Definition at line 35 of file lwipopts.h.