...
The sections in this chapter are organized following the order in µC/TCP-IP's template configuration file, net_cfg.h
.
Task Queue Configuration
Compile Features
...
Select portions of µC/TCP-IP code may call optimized assembly functions by configuring NET_CFG_OPTIMIZE_ASM_EN
to DEF_ENABLED.
...
Set to DEF_DISABLED
otherwise.
...
Debug Features
...
Argument Check
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.
...
.
...
Counter Management
...
µ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.
...
.
...
Timer Management
µC/TCP-IP manages software timers used to keep track of timeouts and execute callback functions when needed.
...
...
Typically set to 10 Hz
Interfaces
...
...
Address Resolution Protocol (ARP)
...
ARP is only used when the IPv4 stack is enabled.
...
.
...
Neighbor Discovery Protocol (NDP)
NDP is only used when the IPv6 stack is enabled.
...
...
IPv4 Layer
...
...
IPv6 Layer
Constant | Description | Possible Values |
---|---|---|
NET_IPv6_CFG_EN | Enables the IPv6 module. | |
NET_IPv6_CFG_IF_MAX_NBR_ADDR | Determines the maximum number of IPv6 addresses that may be configured per network interface at run-time. | At least 2 |
Internet Group Management Protocol (IGMP)
...
Socket Layer
...
TCP Layer
...
...
UDP Layer
Constant | Description | Possible Values |
---|---|---|
NET_UDP_CFG_RX_CHK_SUM_DISCARD_EN | ||
NET_UDP_CFG_TX_CHK_SUM_EN |
Security Manager
...