Searched refs:oldPseudoSum (Results 1 – 2 of 2) sorted by relevance
/packages/modules/DnsResolver/tests/ |
D | tun_forwarder.cpp | 331 uint32_t oldPseudoSum = 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() 365 uint32_t oldPseudoSum = in translateIpv6Packet() local 379 translateUdpPacket(drop(ipv6Packet, ipHeaderLen), oldPseudoSum, newPseudoSum); in translateIpv6Packet() 382 translateTcpPacket(drop(ipv6Packet, ipHeaderLen), oldPseudoSum, newPseudoSum); in translateIpv6Packet() 392 void TunForwarder::translateUdpPacket(Slice udpPacket, uint32_t oldPseudoSum, in translateUdpPacket() argument 396 udpHeader->check = ip_checksum_adjust(udpHeader->check, oldPseudoSum, newPseudoSum); in translateUdpPacket() 409 void TunForwarder::translateTcpPacket(Slice tcpPacket, uint32_t oldPseudoSum, in translateTcpPacket() argument 412 tcpHeader->check = ip_checksum_adjust(tcpHeader->check, oldPseudoSum, newPseudoSum); in translateTcpPacket()
|
D | tun_forwarder.h | 91 void translateUdpPacket(netdutils::Slice udpPacket, uint32_t oldPseudoSum, 93 void translateTcpPacket(netdutils::Slice tcpPacket, uint32_t oldPseudoSum,
|