Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The sections in this chapter are organized following the order in µC/TCP-IP's template configuration file, net_cfg.h.

Anchor
Task Queue Configuration
Task Queue Configuration
Task Queue Configuration

The µC/TCP-IP stack has two queues that need to be configured. The first one is the Rx queue and is used to store the Rx buffer that have been filled and are ready to be process. The second queue is the Tx deallocation and is used to store the Tx buffers that are ready to be deallocate.

Anchor
Compile Features Configuration
Compile Features Configuration
Compile Features Configuration

Anchor
Debug Features Configuration
Debug Features Configuration
Debug Features Configuration

Anchor
Argument Check Configuration
Argument Check Configuration
Argument Check Configuration

Most functions in µC/TCP-IP include code to validate arguments that are passed to it. Specifically, µC/TCP-IP checks to see if passed pointers are NULL, if arguments are within valid ranges, etc. The following constants configure additional argument checking.

...

Anchor
Counters Configuration
Counters Configuration
Counters Configuration

µC/TCP-IP contains code that increments counters to keep track of statistics such as the number of packets received, the number of packets transmitted, etc. Also, µC/TCP-IP contains counters that are incremented when error conditions are detected.

Anchor
Timer Configuration
Timer

...

Configuration
Timer Configuration

µC/TCP-IP manages software timers used to keep track of timeouts and execute callback functions when needed.

Anchor
Network Interfaces Configuration
Network Interfaces Configuration
Network Interfaces Configuration

Anchor
Address Resolution Protocol (ARP) Configuration
Address Resolution Protocol (ARP) Configuration
Address Resolution Protocol (ARP) Configuration

ARP is only used when the IPv4 stack is enabled.

...

To test µC/TCP-IP with a smaller network, a default number of 3 ARP caches should be sufficient.

Anchor
Neighbor Discovery Protocol (NDP) Configuration
Neighbor Discovery Protocol (NDP) Configuration
Neighbor Discovery Protocol (NDP) Configuration

NDP is only used when the IPv6 stack is enabled.

...

IPv6 defines an algorithm to chose the adequate router on the network to transmit packet outside in case more than one IPv6 router is present. NET_NDP_CFG_ROUTER_NBR defines the number of router information that can be store by the µC/TCP-IP stack.

Anchor
IPv4 Layer Configuration
IPv4 Layer Configuration
IPv4 Layer Configuration

Anchor
IPv6 Layer Configuration
IPv6 Layer Configuration
IPv6 Layer Configuration

Anchor
Multicast Configuration
Multicast Configuration
Multicast Configuration (IGMP and MLDP)

...

The number of IGMP host groups required by the application depends on how many host groups are expected to be joined at a given time. Since each configured multicast address requires its own IGMP host group, it is recommended to configure at least one host group per multicast address used by the application, plus one additional host group. Thus for a single multicast address, it is recommended to setNET_IGMP_CFG_MAX_NBR_HOST_GRP with an initial value of 2.

Anchor
Socket Layer Configuration
Socket Layer Configuration
Socket Layer Configuration

µC/TCP-IP supports BSD 4.x sockets and basic socket API for the TCP/UDP/IP protocols.

Anchor
TCP Layer Configuration
TCP Layer Configuration
TCP Layer Configuration

Anchor
UDP Layer Configuration
UDP Layer Configuration
UDP Layer Configuration

Anchor
Transport Layer Security Configuration

...

Transport Layer Security Configuration
Transport Layer Security Configuration