This API sets the IPv4 configuration of an interface for particular multihome index.
|[in] ||devIPv4CfgData ||DevIpv4IfaceCfg filled by the caller.|
Contains the device handle pointer, IPv4 configuration and the multihome index number.
|[out] ||error ||Error code on failure, 0 on success.|
- -1: Failed
- This functions provides the possibility to configure a device interface (e.g. the standard internal Ethernet interface) with multiple IP addresses. A multihome index is specified to designate which IP address is being configured.
DHCP configuration of a device is only possible at multihome index 0.
This function does not affect the IP settings in the CHIP.INI file.
Here is an example for adding an IP address to the Ethernet device at multihome index 1:
- SC2x3 V1.00 - CLIB V1.00