Lines Matching refs:adrs
157 ip4_addr_t adrs[ARP_TABLE_SIZE + 2];
160 IP4_ADDR(&adrs[i], 192,168,0,i+2);
169 ip_addr_copy_from_ip4(dst, adrs[i]);
177 create_arp_response(&adrs[i]);
181 idx = etharp_find_addr(NULL, &adrs[i], &unused_ethaddr, &unused_ipaddr);
189 err = etharp_add_static_entry(&adrs[ARP_TABLE_SIZE], &test_ethaddr3);
191 idx = etharp_find_addr(NULL, &adrs[ARP_TABLE_SIZE], &unused_ethaddr, &unused_ipaddr);
204 ip_addr_copy_from_ip4(dst, adrs[i]);
212 create_arp_response(&adrs[i]);
216 idx = etharp_find_addr(NULL, &adrs[i], &unused_ethaddr, &unused_ipaddr);
228 err = etharp_add_static_entry(&adrs[ARP_TABLE_SIZE+1], &test_ethaddr4);
230 idx = etharp_find_addr(NULL, &adrs[ARP_TABLE_SIZE], &unused_ethaddr, &unused_ipaddr);
232 idx = etharp_find_addr(NULL, &adrs[ARP_TABLE_SIZE+1], &unused_ethaddr, &unused_ipaddr);
235 err = etharp_remove_static_entry(&adrs[ARP_TABLE_SIZE+1]);
237 idx = etharp_find_addr(NULL, &adrs[ARP_TABLE_SIZE], &unused_ethaddr, &unused_ipaddr);
239 idx = etharp_find_addr(NULL, &adrs[ARP_TABLE_SIZE+1], &unused_ethaddr, &unused_ipaddr);
245 idx = etharp_find_addr(NULL, &adrs[ARP_TABLE_SIZE], &unused_ethaddr, &unused_ipaddr);
250 err = etharp_remove_static_entry(&adrs[ARP_TABLE_SIZE]);
252 idx = etharp_find_addr(NULL, &adrs[ARP_TABLE_SIZE], &unused_ethaddr, &unused_ipaddr);
254 idx = etharp_find_addr(NULL, &adrs[ARP_TABLE_SIZE+1], &unused_ethaddr, &unused_ipaddr);