net_checksum: Add support for IP's 16-bit one's complement checksum.
Taken from ndhc.