HedongGao opened a new pull request, #3285: URL: https://github.com/apache/nuttx-apps/pull/3285
## Summary Ref: https://man7.org/linux/man-pages/man7/packet.7.html We should either set protocal when creating socket or binding, otherwise we cannot capture any packet. ## Impact The netpkt tool will receive all types of Ethernet messages. ## Testing Open the compilation option CONFIG_EXAMPLES_NETPKT and set up the SIM environment. Use `netpkt - vr` to receive messages at the SIM and send messages to the SIM at the host. Check the reception of SIM terminal. The result verifies that netpkt receives normally. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
