Your recv function looks fine, but since it is not called, it is quite likely the problem is not there. Please post your setup, check for return values, and by all means check your driver and port. Please single step a received frame and see if it is delivered to the stack and then to your function. "Ethernet interrupts" are OK as long as you do not call lwIP on interrupt context and main context. Choose only one.
-- _______________________________________________ lwip-users mailing list lwip-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/lwip-users