42#ifndef LWIP_HDR_NETIF_ETHARP_H
43#define LWIP_HDR_NETIF_ETHARP_H
47#if LWIP_ARP || LWIP_ETHERNET
55#if LWIP_IPV4 && LWIP_ARP
64#define ARP_TMR_INTERVAL 1000
70struct etharp_q_entry {
71 struct etharp_q_entry *next;
78ssize_t etharp_find_addr(
struct netif *
netif,
const ip4_addr_t *ipaddr,
79 struct eth_addr **eth_ret,
const ip4_addr_t **ip_ret);
80int etharp_get_entry(
size_t i, ip4_addr_t **ipaddr,
struct netif **
netif,
struct eth_addr **eth_ret);
88#define etharp_gratuitous(netif) etharp_request((netif), netif_ip4_addr(netif))
91#if ETHARP_SUPPORT_STATIC_ENTRIES
92err_t etharp_add_static_entry(
const ip4_addr_t *ipaddr,
struct eth_addr *ethaddr);
93err_t etharp_remove_static_entry(
const ip4_addr_t *ipaddr);
s8_t err_t
Definition: err.h:96
Definition: ethernet.h:60