Home
last modified time | relevance | path

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

/packages/modules/DnsResolver/tests/
Dtun_forwarder.cpp291 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() argument
394 udphdr* udpHeader = reinterpret_cast<udphdr*>(udpPacket.base()); in translateUdpPacket()
398 uint32_t tmp = ip_checksum_add(newPseudoSum, udpPacket.base(), udpPacket.size()); in translateUdpPacket()
Dtun_forwarder.h83 base::Result<void> validateUdpPacket(netdutils::Slice udpPacket) const;
91 void translateUdpPacket(netdutils::Slice udpPacket, uint32_t oldPseudoSum,