It depends on what you mean by "context". If you don't have any kind of OS running, you have one thread and interrupt handlers, you can safely call lwIP RAW API functions from your main thread. It is not safe to also call from interrupts. If your application depends on interrupts, just set a flag or equivalent and let the main thread react to that. If you have an OS, you have to keep everything on one thread or use another API.
-- _______________________________________________ lwip-users mailing list lwip-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/lwip-users