NetARP_CacheProbeAddrOnNet

Transmit an ARP request to probe the local network for a specific protocol address.

Files

net_arp.h/net_arp.c

Prototype

          void NetARP_CacheProbeAddrOnNet(NET_PROTOCOL_TYPE  protocol_type,
                                          CPU_INT08U        *p_addr_protocol_sender,
                                          CPU_INT08U        *p_addr_protocol_target
                                          NET_ARP_ADDR_LEN   addr_protocol_len,
                                          NET_ERR           *p_err);

Arguments

protocol_type

Address protocol type.

p_addr_protocol_sender

Pointer to protocol address to send probe from.

p_addr_protocol_target

Pointer to protocol address to probe local network.

addr_protocol_len

Length of protocol address (in bytes).

p_err

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

NET_ARP_ERR_NONE
NET_ERR_FAULT_NULL_PTR
NET_ARP_ERR_INVALID_PROTOCOL_ADDR_LEN
NET_INIT_ERR_NOT_COMPLETED
NET_MGR_ERR_INVALID_PROTOCOL

NET_MGR_ERR_INVALID_PROTOCOL_ADDR
NET_MGR_ERR_INVALID_PROTOCOL_ADDR_LEN
NET_ARP_ERR_CACHE_INVALID_TYPE
NET_ARP_ERR_CACHE_NONE_AVAIL
NET_TMR_ERR_NONE_AVAIL
NET_TMR_ERR_INVALID_TYPE
NET_ERR_FAULT_LOCK_ACQUIRE

Returned Value

None.

Required Configuration

Available only if IPv4 is enabled, see IPv4 Layer Configuration

Notes / Warnings

None.