Embedded TCP/IP stack: fnet_arp_get_entry

FNET

FNET_COMP_PACKED_END fnet_bool_t fnet_arp_get_entry ( fnet_netif_desc_t  netif_desc,
fnet_index_t  n,
fnet_arp_entry_info_t entry_info 
)

Retrieves ARP cache entry of the specified network interface.

Parameters
[in]netif_descNetwork interface descriptor.
[in]nSequence number of ARP cache entry to retrieve (from 0).
[out]entry_infoPointer to the ARP cache entry 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 entry is not available.

This function is used to retrieve ARP cache entries assigned the given interface.


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