Use checksum functions from net.c