Searched refs:udpPacket (Results 1 – 2 of 2) sorted by relevance
291 Result<void> TunForwarder::validateUdpPacket(Slice udpPacket) const { in validateUdpPacket()292 if (udpPacket.size() < UDP_HDRLEN) { in validateUdpPacket()392 void TunForwarder::translateUdpPacket(Slice udpPacket, uint32_t oldPseudoSum, in translateUdpPacket() argument394 udphdr* udpHeader = reinterpret_cast<udphdr*>(udpPacket.base()); in translateUdpPacket()398 uint32_t tmp = ip_checksum_add(newPseudoSum, udpPacket.base(), udpPacket.size()); in translateUdpPacket()
83 base::Result<void> validateUdpPacket(netdutils::Slice udpPacket) const;91 void translateUdpPacket(netdutils::Slice udpPacket, uint32_t oldPseudoSum,