Home
last modified time | relevance | path

Searched refs:arp_idx (Results 1 – 1 of 1) sorted by relevance

/third_party/lwip/src/core/ipv4/
Detharp.c748 etharp_output_to_arp_index(struct netif *netif, struct pbuf *q, netif_addr_idx_t arp_idx) argument
751 arp_table[arp_idx].state >= ETHARP_STATE_STABLE);
755 if (arp_table[arp_idx].state == ETHARP_STATE_STABLE) {
756 if (arp_table[arp_idx].ctime >= ARP_AGE_REREQUEST_USED_BROADCAST) {
758 if (etharp_request(netif, &arp_table[arp_idx].ipaddr) == ERR_OK) {
759 arp_table[arp_idx].state = ETHARP_STATE_STABLE_REREQUESTING_1;
761 } else if (arp_table[arp_idx].ctime >= ARP_AGE_REREQUEST_USED_UNICAST) {
763 …if (etharp_request_dst(netif, &arp_table[arp_idx].ipaddr, &arp_table[arp_idx].ethaddr) == ERR_OK) {
764 arp_table[arp_idx].state = ETHARP_STATE_STABLE_REREQUESTING_1;
769 …return ethernet_output(netif, q, (struct eth_addr *)(netif->hwaddr), &arp_table[arp_idx].ethaddr, …