NAT changes in main.c, checksum calculation in checksum.h