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:
Gregory Nutt
2015-01-14 16:10:38 -06:00
parent 4b9138eb7d
commit a7ce1279f9
25 changed files with 1326 additions and 105 deletions
+1 -1
View File
@@ -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. */