xiaoxiang781216 commented on code in PR #20519: URL: https://github.com/apache/nuttx/pull/20519#discussion_r4242693540
########## drivers/net/netdev_upperhalf.c: ########## @@ -687,6 +694,113 @@ static void ip_input(FAR struct net_driver_s *dev) } #endif +/**************************************************************************** + * Name: netdev_upper_proto_input + * + * Description: + * Pass a received packet, which is in dev->d_iob, to the protocol of the + * link layer. + * + * Input Parameters: + * dev - Reference to the NuttX network driver state structure + * + * Assumptions: + * Called with the network device locked. + * + ****************************************************************************/ + +static void netdev_upper_proto_input(FAR struct net_driver_s *dev) Review Comment: why not merge into netdev_upper_input -- 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]
