Embedded TCP/IP stack  4.7.0

◆ fnet_netif_get_ip6_addr()

fnet_bool_t fnet_netif_get_ip6_addr ( fnet_netif_desc_t  netif_desc,
fnet_index_t  n,
fnet_netif_ip6_addr_info_t addr_info 
)

Retrieves an IPv6 address of the specified network interface.

Parameters
netif_descNetwork interface descriptor.
nSequence number of IPv6 address to retrieve (from 0).
addr_infoPointer to address information structure will contain the result.
Returns
This function returns:
  • FNET_TRUE if no error occurs and data structure is filled.
  • FNET_FALSE in case of error or n-th address is not available.

This function is used to retrieve all IPv6 addresses registered with the given interface.


© 2005-2020 by Andrej Butok. http://fnet.sourceforge.net