Clean-up naming associated with network checksums

This commit is contained in:
Gregory Nutt
2014-06-27 17:51:32 -06:00
parent fce2a79abd
commit 50b749a636
15 changed files with 309 additions and 124 deletions
+1 -1
View File
@@ -133,7 +133,7 @@ void igmp_input(struct net_driver_s *dev)
/* Calculate and check the IGMP checksum */
if (uip_chksum((uint16_t*)&IGMPBUF->type, UIP_IGMPH_LEN) != 0)
if (net_chksum((uint16_t*)&IGMPBUF->type, UIP_IGMPH_LEN) != 0)
{
IGMP_STATINCR(g_netstats.igmp.chksum_errors);
nlldbg("Checksum error\n");