Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

NetARP_CacheGetAddrHW()

Get the hardware address corresponding to a specific ARP cache’s protocol address.

...

net_arp.h/net_arp.c

Prototype

...

Arguments

paddr_hw

Pointer to a memory buffer that will receive the hardware address:

...

Pointer to variable that will receive the error code from this function:

NET_ARP_ERR_NONE
NET_ARP_ERR_NULL_PTR
NET_ARP_ERR_INVALID_HW_ADDR_LEN
NET_ARP_ERR_INVALID_PROTOCOL_ADDR_LEN
NET_ARP_ERR_CACHE_NOT_FOUND
NET_ARP_ERR_CACHE_PEND

Returned Value

Length of returned hardware address, if available;

...