|
Contiki-Inga 3.x
|
Configuration options for uIP. More...
#include "contiki-conf.h"Go to the source code of this file.
Macros | |
| #define | UIP_FIXEDADDR |
| Determines if uIP should use a fixed IP address or not. More... | |
| #define | UIP_PINGADDRCONF |
| Ping IP address assignment. More... | |
| #define | UIP_FIXEDETHADDR |
| Specifies if the uIP ARP module should be compiled with a fixed Ethernet MAC address or not. More... | |
| #define | UIP_LLH_LEN |
| The link level header length. More... | |
| #define | UIP_BUFSIZE |
| The size of the uIP packet buffer. More... | |
| #define | UIP_STATISTICS 0 |
| Determines if statistics support should be compiled in. More... | |
| #define | UIP_LOGGING |
| Determines if logging of certain events should be compiled in. More... | |
| #define | UIP_BROADCAST |
| Broadcast support. More... | |
| #define | UIP_TTL 64 |
| The IP TTL (time to live) of IP packets sent by uIP. More... | |
| #define | UIP_REASS_MAXAGE 60 /*60s*/ |
| The maximum time an IP fragment should wait in the reassembly buffer before it is dropped. | |
| #define | UIP_REASSEMBLY |
| Turn on support for IP packet reassembly. More... | |
| #define | UIP_LINK_MTU 1280 |
| The maximum transmission unit at the IP Layer. | |
| #define | UIP_CONF_IPV6_QUEUE_PKT 0 |
| Do we do per neighbor queuing during address resolution (default: no) | |
| #define | UIP_CONF_IPV6_CHECKS 1 |
| Do we do IPv6 consistency checks (highly recommended, default: yes) | |
| #define | UIP_CONF_IPV6_REASSEMBLY 0 |
| Do we do IPv6 fragmentation (default: no) | |
| #define | UIP_CONF_NETIF_MAX_ADDRESSES 3 |
| Default number of IPv6 addresses associated to the node's interface. | |
| #define | UIP_CONF_DS6_PREFIX_NBU 2 |
| Default number of IPv6 prefixes associated to the node's interface. | |
| #define | UIP_CONF_DS6_DEFRT_NBU 2 |
| Minimum number of default routers. | |
| #define | UIP_UDP |
| Toggles whether UDP support should be compiled in or not. | |
| #define | UIP_UDP_CHECKSUMS |
| Toggles if UDP checksums should be used or not. More... | |
| #define | UIP_UDP_CONNS |
| The maximum amount of concurrent UDP connections. | |
| #define | UIP_TCP |
| Toggles whether TCP support should be compiled in or not. | |
| #define | UIP_ACTIVE_OPEN |
| Determines if support for opening connections from uIP should be compiled in. More... | |
| #define | UIP_CONNS |
| The maximum number of simultaneously open TCP connections. More... | |
| #define | UIP_LISTENPORTS |
| The maximum number of simultaneously listening TCP ports. More... | |
| #define | UIP_URGDATA |
| Determines if support for TCP urgent data notification should be compiled in. More... | |
| #define | UIP_RTO 3 |
| The initial retransmission timeout counted in timer pulses. More... | |
| #define | UIP_MAXRTX 8 |
| The maximum number of times a segment should be retransmitted before the connection should be aborted. More... | |
| #define | UIP_MAXSYNRTX 5 |
| The maximum number of times a SYN segment should be retransmitted before a connection request should be deemed to have been unsuccessful. More... | |
| #define | UIP_TCP_MSS (UIP_BUFSIZE - UIP_LLH_LEN - UIP_TCPIP_HLEN) |
| The TCP maximum segment size. More... | |
| #define | UIP_RECEIVE_WINDOW |
| The size of the advertised receiver's window. More... | |
| #define | UIP_TIME_WAIT_TIMEOUT 120 |
| How long a connection should stay in the TIME_WAIT state. More... | |
| #define | UIP_ARPTAB_SIZE |
| The size of the ARP table. More... | |
| #define | UIP_ARP_MAXAGE 120 |
| The maximum age of ARP table entries measured in 10ths of seconds. More... | |
| #define | SICSLOWPAN_REASS_MAXAGE 20 |
| Timeout for packet reassembly at the 6lowpan layer (should be < 60s) | |
| #define | SICSLOWPAN_CONF_COMPRESSION 0 |
| Do we compress the IP header or not (default: no) | |
| #define | SICSLOWPAN_CONF_MAX_ADDR_CONTEXTS 1 |
| If we use IPHC compression, how many address contexts do we support. | |
| #define | SICSLOWPAN_CONF_FRAG 0 |
| Do we support 6lowpan fragmentation. | |
| #define | UIP_BYTE_ORDER |
| The byte order of the CPU architecture on which uIP is to be run. More... | |
Functions | |
| void | uip_log (char *msg) |
| Print out a uIP log message. More... | |
Configuration options for uIP.
This file is used for tweaking various configuration options for uIP. You should make a copy of this file into one of your project's directories instead of editing this example "uipopt.h" file that comes with the uIP distribution.
Definition in file uipopt.h.
1.8.3.1