Quantcast
Channel: Forum - Recent Threads
Viewing all articles
Browse latest Browse all 5781

NetX "nx_ip_interface_info_get()" Need Help

$
0
0

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


Viewing all articles
Browse latest Browse all 5781

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>