Defines | |
| #define | UIP_CONF_MAX_CONNECTIONS 40 |
| The maximum number of TCP connections. | |
| #define | UIP_CONF_MAX_LISTENPORTS 40 |
| The maximum number of listening TCP ports. | |
| #define | UIP_CONF_BUFFER_SIZE 400 |
| The size of the uIP packet buffer. | |
| #define | UIP_CONF_BYTE_ORDER LITTLE_ENDIAN |
| The host byte order. | |
| #define | UIP_CONF_PINGADDRCONF 0 |
| IP address configuration through ping. | |
|
|
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. |
|
|
The host byte order. Used for telling uIP if the architecture has LITTLE_ENDIAN or BIG_ENDIAN byte order. x86 CPUs have LITTLE_ENDIAN byte order, whereas Motorola CPUs have BIG_ENDIAN. Check the documentation of the CPU to find out the byte order. |
|
|
The maximum number of TCP connections. Since the TCP connections are statically allocated, turning this configuration knob down results in less RAM used. Each TCP connection requires approximatly 30 bytes of memory. |
|
|
The maximum number of listening TCP ports. Each listening TCP port requires 2 bytes of memory. |
|
|
IP address configuration through ping. uIP features IP address configuration using an ICMP echo (ping) packet. In this mode, the destination IP address of the first ICMP echo packet that is received is used to set the host IP address. |
1.3.6