Searched refs:finish_sum (Results 1 – 1 of 1) sorted by relevance
81 static uint32_t finish_sum(uint32_t sum) in finish_sum() function108 ip.check = finish_sum(checksum(&ip, sizeof(ip), 0)); in send_packet()128 udp.check = finish_sum(udpsum); in send_packet()207 sum = finish_sum(checksum(&packet.ip, sizeof(packet.ip), 0)); in receive_packet()242 sum = finish_sum(checksum(&packet, nread, 0)); in receive_packet()245 sum = finish_sum(sum); in receive_packet()