Home
last modified time | relevance | path

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

/device/generic/goldfish/dhcp/common/
Dsocket.cpp193 uint32_t udpChecksum = 0; in sendRawUdp() local
194 udpChecksum = addChecksum(ip.saddr, udpChecksum); in sendRawUdp()
195 udpChecksum = addChecksum(ip.daddr, udpChecksum); in sendRawUdp()
196 udpChecksum = addChecksum(htons(IPPROTO_UDP), udpChecksum); in sendRawUdp()
197 udpChecksum = addChecksum(udp.len, udpChecksum); in sendRawUdp()
198 udpChecksum = addChecksum(udp, udpChecksum); in sendRawUdp()
199 udpChecksum = addChecksum(message.data(), message.size(), udpChecksum); in sendRawUdp()
200 udp.check = finishChecksum(udpChecksum); in sendRawUdp()