Forum Discussion
Altera_Forum
Honored Contributor
11 years agoI believe you're looking for ni_set_config(). See net.h and iface.c in the iniche files.
/* FUNCTION: ni_set_config()
*
* set IP address and subnet for a particular device.
*
* PARAM1: NET ifp
* PARAM2: struct niconfig_0 * cfg
*
* RETURNS: 0
*/