Embedded TCP/IP stack: fnet_netif_get_ip6_prefix

FNET

fnet_bool_t fnet_netif_get_ip6_prefix ( fnet_netif_desc_t  netif_desc,
fnet_index_t  n,
fnet_netif_ip6_prefix_t ip6_prefix 
)

Retrieves the n-th IPv6 prefix of the specified network interface.

Parameters
netif_descNetwork interface descriptor.
nSequence number of IPv6 prefix to retrieve (from 0).
ip6_prefixPointer to prefix entry structure that will contain the result.
Returns
This function returns:
  • FNET_TRUE if no error occurs and ip6_prefix is filled.
  • FNET_FALSE in case of error or n-th prefix is not available.
See also
Ffnet_netif_ip6_prefix_t

This function is used to retrieve the IPv6 prefix list for the given interface.


© 2005-2018 by Andrey Butok. http://fnet.sourceforge.net