Home
last modified time | relevance | path

Searched refs:finish_sum (Results 1 – 1 of 1) sorted by relevance

/system/core/libnetutils/
Dpacket.c84 static uint32_t finish_sum(uint32_t sum) in finish_sum() function
111 ip.check = finish_sum(checksum(&ip, sizeof(ip), 0)); in send_packet()
131 udp.check = finish_sum(udpsum); in send_packet()
210 sum = finish_sum(checksum(&packet.ip, sizeof(packet.ip), 0)); in receive_packet()
245 sum = finish_sum(checksum(&packet, nread, 0)); in receive_packet()
248 sum = finish_sum(sum); in receive_packet()