so, i can't access to this variable in another application file.
what can i do?
1. remove static and use extern 2. add a function in etharp.c, that give back a pointer to arp_table. 3. other????
I have to do this idea, to force to have always some packets to my lwip board:
when i don't receive packet for a lot of time, just to be sure that there isn't a trouble in low level HW in the board, or in a switch connected to the board: 1. use a tcpip_callback, to do a thread safe call to my function
2. this function will do an arp request for the IP of gateway if it's a avoid ip (different than 0.0.0.0) 3. and will do an arp request for each old ip found in arp_table, which means, try to check if some host connected to me in the past are online now
4. i should receive some arp answer back, so i will be sure that i can communicate trough the lac connection