Searched refs:newPseudoSum (Results 1 – 2 of 2) sorted by relevance
/packages/modules/DnsResolver/tests/ |
D | tun_forwarder.cpp | 340 uint32_t newPseudoSum = ipv4_pseudo_header_checksum(ipHeader, transport_len); in translateIpv4Packet() local 347 translateUdpPacket(drop(ipv4Packet, ipHeaderLen), oldPseudoSum, newPseudoSum); in translateIpv4Packet() 350 translateTcpPacket(drop(ipv4Packet, ipHeaderLen), oldPseudoSum, newPseudoSum); in translateIpv4Packet() 374 uint32_t newPseudoSum = in translateIpv6Packet() local 379 translateUdpPacket(drop(ipv6Packet, ipHeaderLen), oldPseudoSum, newPseudoSum); in translateIpv6Packet() 382 translateTcpPacket(drop(ipv6Packet, ipHeaderLen), oldPseudoSum, newPseudoSum); in translateIpv6Packet() 393 uint32_t newPseudoSum) const { in translateUdpPacket() 396 udpHeader->check = ip_checksum_adjust(udpHeader->check, oldPseudoSum, newPseudoSum); in translateUdpPacket() 398 uint32_t tmp = ip_checksum_add(newPseudoSum, udpPacket.base(), udpPacket.size()); in translateUdpPacket() 410 uint32_t newPseudoSum) const { in translateTcpPacket() [all …]
|
D | tun_forwarder.h | 92 uint32_t newPseudoSum) const; 94 uint32_t newPseudoSum) const;
|