Files | |
file | arp.c |
ARP implementation (license: GPLv2). | |
file | arp.h |
ARP header (license: GPLv2). | |
Modules | |
ARP configuration | |
Functions | |
void | arp_init () |
Initializes the ARP layer. | |
bool | arp_get_mac (const uint8_t *ip, uint8_t *mac) |
Retrieves the hardware address of a host by its IP address. |
bool arp_get_mac | ( | const uint8_t * | ip, | |
uint8_t * | mac | |||
) |
Retrieves the hardware address of a host by its IP address.
[in] | ip | A pointer to the IP address of the host. |
[out] | mac | A pointer to the buffer into which the host's hardware address is written. |
true
if the host was found, false
otherwise.