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.c780 etharp_output_to_arp_index(struct netif *netif, struct pbuf *q, netif_addr_idx_t arp_idx) argument
783 arp_table[arp_idx].state >= ETHARP_STATE_STABLE);
787 if (arp_table[arp_idx].state == ETHARP_STATE_STABLE) {
788 if (arp_table[arp_idx].ctime >= ARP_AGE_REREQUEST_USED_BROADCAST) {
790 if (etharp_request(netif, &arp_table[arp_idx].ipaddr) == ERR_OK) {
791 arp_table[arp_idx].state = ETHARP_STATE_STABLE_REREQUESTING_1;
793 } else if (arp_table[arp_idx].ctime >= ARP_AGE_REREQUEST_USED_UNICAST) {
795 …if (etharp_request_dst(netif, &arp_table[arp_idx].ipaddr, &arp_table[arp_idx].ethaddr) == ERR_OK) {
796 arp_table[arp_idx].state = ETHARP_STATE_STABLE_REREQUESTING_1;
801 …return ethernet_output(netif, q, (struct eth_addr *)(netif->hwaddr), &arp_table[arp_idx].ethaddr, …