int eth32cfg_plugin_interface_address(eth32cfgiflist handle, int index, eth32cfg_ip_t *ip, eth32cfg_ip_t *netmask);
This function retrieves IP address information about one of the interfaces in the network interface list that was previously obtained by calling eth32cfg_plugin_interface_list.
handle - The value returned by eth32cfg_plugin_interface_list
index - The index of the interface within the list
ip - Pointer to an eth32cfg_ip_t structure which will receive the IP address of the specified network interface
netmask - Pointer to an eth32cfg_ip_t structure which will receive the network mask of the specified network interface
This function returns zero on success and a negative error code on failure. Please see the Error Codes section for possible error codes.
The index is zero-based, which means it can range from zero up to one less than the number of available interfaces.