anchao commented on code in PR #7616: URL: https://github.com/apache/nuttx/pull/7616#discussion_r1037504024
########## net/utils/net_icmpchksum.c: ########## @@ -61,6 +61,23 @@ uint16_t icmp_chksum(FAR struct net_driver_s *dev, int len) } #endif /* CONFIG_NET_ICMP */ +/**************************************************************************** + * Name: icmp_chksum_iob + * + * Description: + * Calculate the checksum of the ICMP message, the input can be an I/O + * buffer chain + * + ****************************************************************************/ + +#if (defined(CONFIG_NET_ICMP) || \ + defined(CONFIG_NET_ICMPv6)) && defined(CONFIG_MM_IOB) Review Comment: Done -- 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: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org