mirror of
https://github.com/apache/nuttx.git
synced 2026-05-28 03:45:50 +08:00
Networking: (1) Copied all ICMP sources files to net/icmpv6 with proper renaming and removal of IPv4 logic, (2) remove IPv6 logic from files in net/icmp, (3) copied include/nuttx/icmp.h to icmpv6.h and removed IPv4 specific logic, (4) removed all IPv6 logic from icmp.h, (5) IP_HDRLEN became IPv4_HDRLEN and IPv6_HDRLEN, (6) ip_chksum() became ipv4_chksum() and ipv6_chksum(), and (7) added partial support for ICMPv6 statistics.
This commit is contained in:
+1
-1
@@ -705,7 +705,7 @@ static int slip_rxtask(int argc, FAR char *argv[])
|
||||
* enough to hold an IP header.
|
||||
*/
|
||||
|
||||
if (priv->rxlen >= IP_HDRLEN)
|
||||
if (priv->rxlen >= IPv4_HDRLEN)
|
||||
{
|
||||
/* Handle the IP input. Get exclusive access to uIP. */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user