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