Home
last modified time | relevance | path

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

/system/core/libnetutils/
Dpacket.c96 uint32_t udpsum; in send_packet() local
120 udpsum = checksum(&ip.saddr, sizeof(ip.saddr), 0); in send_packet()
121 udpsum = checksum(&ip.daddr, sizeof(ip.daddr), udpsum); in send_packet()
123 udpsum = checksum(&temp, sizeof(temp), udpsum); in send_packet()
125 udpsum = checksum(&temp, sizeof(temp), udpsum); in send_packet()
128 udpsum = checksum(&udp, sizeof(udp), udpsum); in send_packet()
131 udpsum = checksum(msg, size, udpsum); in send_packet()
132 udp.check = finish_sum(udpsum); in send_packet()