Changed sr_ip to use cksum instead of calculate_checksum