Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from this space and version 3.03.00

...

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.

ARP caches the mapping of IPv4 addresses to physical (i.e., MAC) addresses. NET_ARP_CFG_NBR_CACHE configures the number of ARP cache entries. Each cache entry requires approximately 18 bytes of RAM, plus seven pointers, plus a hardware address and protocol address (10 bytes assuming Ethernet interfaces and IPv4 addresses).

...

NDP caches the mapping of IPv6 addresses to physical (i.e., MAC) addresses. NET_NDP_CFG_NBR_CACHE configures the number of NDP Neighbor cache entries. Each cache entry requires approximately 18 bytes of RAM, plus seven pointers, plus a hardware address and protocol address (22 bytes 22 bytes assuming Ethernet interfaces and IPv6 addresses).

NDP also caches recent IPv6 destination addresses by mapping next-hop address to final destination address. It allows the µC/TCP-IP stack not having to re-calculating the next-hop for each packet to send. NET_NDP_CFG_DEST_NBR configured the numver of NDP destination caches available for the TCPIP stack.

In IPv6, routers send router advertisement messages to inform hosts on different values like the IPv6 prefix considered on-link. Those on-link prefix are stored in a NDP prefix list. NET_NDP_CFG_PREFIX_NBR configured the the number of prefix entries available in the list.

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
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.

See Configuring window sizes for more information about how to configure receive and transmit queues buffer size.

...