Versions Compared

Key

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

...

  • One or more statically- configured IPv4 addresses (see function NetIPv4_CfgAddrAdd()) or
  • Exactly one dynamically-configured IPv4 address.

This function should only be called by appropriate network application function(s) [e.g., DHCP initialization functions]. However, if the application attempts to dynamically configure IPv4 address(es), it must call NetIPv4_CfgAddrAddDynamicStart() before calling NetIPv4_CfgAddrAddDynamic(). Note that on the default interface, the first IPv4 address added will be the default address used for all default communication. See also function NetIF_Add().

A host may be configured without a gateway address to allow communication only with other hosts on its local network. However, any configured gateway address must be on the same network as the configured host IPv4 address (i.e., the network portion of the configured IPv4 address and the configured gateway addresses must be identical).