Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 11 Next »

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

Files

net_arp.h/net_arp.c

Prototype

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

NetARP_CacheProbeAddrOnNet() may be used in conjunction with NetARP_CacheGetAddrHW() to determine if a specific protocol address is available on the local network. Refer to section TODO for a how-to guide on IPv4 address duplication check.

  • No labels