I am trying to get the interface information for the primary interface before I attach my second ethernet port (interface). Then I want to confirm the information for the second interface
For some reason I am not getting proper information back.
My NetX system is working and I can send and receive UDP packets.
I want to get the information after all the initialization is done.
Here is my code:
// ip interface info values ...
#define PRIMARY_INTERFACE 0
CHAR get_ip_name[100];
ULONG get_ip_address;
ULONG get_network_mask;
ULONG get_mtu_size;
ULONG get_physical_address_msw;
ULONG get_physical_address_lsw;
// after complete initialization ...
status = nx_ip_interface_info_get(&ip_0, PRIMARY_INTERFACE, &get_ip_name[0], &get_ip_address,
&get_network_mask,
&get_mtu_size, &get_physical_address_msw,
&get_physical_address_lsw);
Results:
Status returns NX_SUCCESS
get_mtu_size = 0, name is "<?", get_physical_address_msw = 0, get_physical_address_lsw = 0
Any help would be appreciated.
Thanks,
Steve D