Searched refs:pack2 (Results 1 – 1 of 1) sorted by relevance
787 static int _dnsPacket_isEqualDomainName(DnsPacket* pack1, DnsPacket* pack2) { in _dnsPacket_isEqualDomainName() argument790 const uint8_t* p2 = pack2->cursor; in _dnsPacket_isEqualDomainName()791 const uint8_t* end2 = pack2->end; in _dnsPacket_isEqualDomainName()806 pack2->cursor = p2; in _dnsPacket_isEqualDomainName()827 static int _dnsPacket_isEqualBytes(DnsPacket* pack1, DnsPacket* pack2, int numBytes) { in _dnsPacket_isEqualBytes() argument829 const uint8_t* p2 = pack2->cursor; in _dnsPacket_isEqualBytes()831 if (p1 + numBytes > pack1->end || p2 + numBytes > pack2->end) return 0; in _dnsPacket_isEqualBytes()836 pack2->cursor += numBytes; in _dnsPacket_isEqualBytes()840 static int _dnsPacket_isEqualQR(DnsPacket* pack1, DnsPacket* pack2) { in _dnsPacket_isEqualQR() argument842 if (!_dnsPacket_isEqualDomainName(pack1, pack2) || in _dnsPacket_isEqualQR()[all …]