STR9 and uIP

Posted by Nobody/Anonymous on December 3, 2006
Hi!

I was just looking at code for STR9 and uIP with freertos. However, I noticed that no uip_arp_init() is called, but arp functions are called. In uIP demo with Rowley uip_arp_init is called just after uip_init.

I don't have any board to test this but anyway, do you have any comments on this?

RE: STR9 and uIP

Posted by Nobody/Anonymous on December 3, 2006
uip_arp_init just sets the arp table to zeros. As the arp table is a static memory address the C start up code should do this anyway, so it probably makes no difference if the function is called or not, although for consistency, clarity and portability I would prefer to see it called explicitly.