xiaoxiang781216 commented on code in PR #20160: URL: https://github.com/apache/nuttx/pull/20160#discussion_r4025369065
########## arch/sim/src/sim/sim_internal.h: ########## @@ -436,6 +436,23 @@ int sim_netdriver_init(void); void sim_netdriver_setmacaddr(int devidx, unsigned char *macaddr); void sim_netdriver_setmtu(int devidx, int mtu); +#ifdef CONFIG_NET_LWIP +typedef void (*sim_netdriver_l2rx_cb_t)(void *arg, + const uint8_t *buf, + unsigned int len); + +int sim_netdriver_l2tap_register(int devidx, Review Comment: why not reuse sim_tapdev_xxx ########## net/lwip/arch/cc.h: ########## @@ -1,5 +1,5 @@ /**************************************************************************** - * arch/arm/src/stm32h5/stm32_mpuinit.c + * net/lwip/arch/cc.h Review Comment: nuttx normally doesn't add the 3rd party source code into git directly -- 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]
