Searched refs:udpsum (Results 1 – 1 of 1) sorted by relevance
/system/core/libnetutils/ |
D | packet.c | 95 uint32_t udpsum; in send_packet() local 119 udpsum = checksum(&ip.saddr, sizeof(ip.saddr), 0); in send_packet() 120 udpsum = checksum(&ip.daddr, sizeof(ip.daddr), udpsum); in send_packet() 122 udpsum = checksum(&temp, sizeof(temp), udpsum); in send_packet() 124 udpsum = checksum(&temp, sizeof(temp), udpsum); in send_packet() 127 udpsum = checksum(&udp, sizeof(udp), udpsum); in send_packet() 130 udpsum = checksum(msg, size, udpsum); in send_packet() 131 udp.check = finish_sum(udpsum); in send_packet()
|