Home
last modified time | relevance | path

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

/third_party/lwip/test/unit/etharp/
Dtest_etharp.c157 ip4_addr_t adrs[ARP_TABLE_SIZE + 2]; in START_TEST()
159 for(i = 0; i < ARP_TABLE_SIZE + 2; i++) { in START_TEST()
163 for(i = 0; i < ARP_TABLE_SIZE; i++) { in START_TEST()
189 err = etharp_add_static_entry(&adrs[ARP_TABLE_SIZE], &test_ethaddr3); in START_TEST()
191 idx = etharp_find_addr(NULL, &adrs[ARP_TABLE_SIZE], &unused_ethaddr, &unused_ipaddr); in START_TEST()
198 for(i = 0; i < ARP_TABLE_SIZE; i++) { in START_TEST()
217 if (i < ARP_TABLE_SIZE - 1) { in START_TEST()
228 err = etharp_add_static_entry(&adrs[ARP_TABLE_SIZE+1], &test_ethaddr4); in START_TEST()
230 idx = etharp_find_addr(NULL, &adrs[ARP_TABLE_SIZE], &unused_ethaddr, &unused_ipaddr); in START_TEST()
232 idx = etharp_find_addr(NULL, &adrs[ARP_TABLE_SIZE+1], &unused_ethaddr, &unused_ipaddr); in START_TEST()
[all …]
/third_party/lwip/src/core/ipv4/
Detharp.c105 static struct etharp_entry arp_table[ARP_TABLE_SIZE];
128 #if (ARP_TABLE_SIZE > NETIF_ADDR_IDX_MAX)
203 for (i = 0; i < ARP_TABLE_SIZE; ++i) { in etharp_tmr()
258 s16_t old_pending = ARP_TABLE_SIZE, old_stable = ARP_TABLE_SIZE; in etharp_find_entry()
259 s16_t empty = ARP_TABLE_SIZE; in etharp_find_entry()
262 s16_t old_queue = ARP_TABLE_SIZE; in etharp_find_entry()
283 for (i = 0; i < ARP_TABLE_SIZE; ++i) { in etharp_find_entry()
286 if ((empty == ARP_TABLE_SIZE) && (state == ETHARP_STATE_EMPTY)) { in etharp_find_entry()
340 ((empty == ARP_TABLE_SIZE) && ((flags & ETHARP_FLAG_TRY_HARD) == 0))) { in etharp_find_entry()
355 if (empty < ARP_TABLE_SIZE) { in etharp_find_entry()
[all …]
/third_party/lwip/src/apps/snmp/
Dsnmp_mib2_ip.c532 for (i = 0; i < ARP_TABLE_SIZE; i++) { in ip_NetToMediaTable_get_cell_value()
560 for (i = 0; i < ARP_TABLE_SIZE; i++) { in ip_NetToMediaTable_get_next_cell_instance_and_value()
/third_party/lwip/src/include/lwip/
Dopt.h635 #if !defined ARP_TABLE_SIZE || defined __DOXYGEN__
636 #define ARP_TABLE_SIZE 10 macro
Dnetif.h240 #if (LWIP_IPV4 && LWIP_ARP && (ARP_TABLE_SIZE > 0x7f)) || (LWIP_IPV6 && (LWIP_ND6_NUM_DESTINATIONS …