"Tomáš Švec" wrote:
> The problem is, in that case, I need to call ethernetif_input
> manually when I receive the package, right?  In case it is right,
> ethernetif_input is a static function, which does not allow me to use it
> outside its translation unit. Is it safe to remove the "static" attribute,
> or is my understanding of the concept completely wrong?

It sounds correct. Instead of calling ethernetif_input() from an ISR function 
inside the same file, you can just call it from your main loop. It's just 
static in the example because it is meant to be called from a local ISR, I 
guess.


Simon

_______________________________________________
lwip-users mailing list
lwip-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to