Randi wrote: > > Yes the checksum is for the header and data. > > Keep in mind that the checksum value is optional in ipv4, but required in ipv6. > > Chris, optional means it can be enable or not, how to enable it and get > the header to verify the checksum. Checksums are enabled by default. You can disable checksums when sending using the SO_NO_CHECK option. On receipt, the kernel will verify the checksum if it's present, and discard the packet if there is an error. -- Glynn Clements <glynn@xxxxxxxxxxxxxxxxxx> -- To unsubscribe from this list: send the line "unsubscribe linux-c-programming" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html