...
Anchor
Files
...
net_arp.h/net_arp.c
Prototype
HTML Table | summary | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
class | Code_Listing | |||||||||||||||
Table Row (tr) | ||||||||||||||||
Table Cell (td) | ||||||||||||||||
| ||||||||||||||||
Anchor | 1122537 | 1122537 | ||||||||||||||
Code Block | ||||||||||||||||
NET_ARP_ADDR_LEN NetARP_CacheGetAddrHW (CPU_INT08U*paddr_hw Anchor | | 1122539 | 1122539 | |||||||||||||
Anchor | 1122541 | 1122541 | CPU_INT08U *paddr_protocol,||||||||||||||
Anchor | 1122543 | 1122543 | ||||||||||||||
Anchor | 1122545 | 1122545 | NET_ERR *perr);||||||||||||||
Table Row (tr) | ||||||||||||||||
Table Row (tr) | ||||||||||||||||
Table Row (tr) | ||||||||||||||||
Table Row (tr) |
...
NET_ERR *p_err); |
Arguments
p_addr_hw
Pointer to a memory buffer that will receive the hardware address:
...
Hardware address that corresponds to the desired protocol address, if no errors; hardware address cleared to all zeros, otherwise.
Anchor
addr_hw_len_buf
Size of hardware address memory buffer (in bytes).
Anchor
p_addr_protocol
anchorPointer to the specific protocol address.
Anchor
addr_protocol_len
anchorLength of protocol address (in bytes).
Anchor
p_err
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
Anchor
0
, otherwise.Required Configuration
...
Notes / Warnings
NetARP_CacheGetAddrHW()
may be used in conjunction with NetARP_ProbeAddrOnNet()
to determine if a specific protocol address is available on the local network.