Embedded TCP/IP stack: fnet_netif_get_ip6_neighbor_cache

FNET

fnet_bool_t fnet_netif_get_ip6_neighbor_cache ( fnet_netif_desc_t  netif_desc,
fnet_index_t  n,
fnet_netif_ip6_neighbor_cache_t ip6_neighbor_cache 
)

Retrieves the n-th IPv6 neighbor cache entry of the specified network interface.

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

This function is used to retrieve the Ipv6 neighbor cache for the given interface.


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