Searched refs:pack1 (Results 1 – 1 of 1) sorted by relevance
787 static int _dnsPacket_isEqualDomainName(DnsPacket* pack1, DnsPacket* pack2) { in _dnsPacket_isEqualDomainName() argument788 const uint8_t* p1 = pack1->cursor; in _dnsPacket_isEqualDomainName()789 const uint8_t* end1 = pack1->end; in _dnsPacket_isEqualDomainName()805 pack1->cursor = p1; in _dnsPacket_isEqualDomainName()827 static int _dnsPacket_isEqualBytes(DnsPacket* pack1, DnsPacket* pack2, int numBytes) { in _dnsPacket_isEqualBytes() argument828 const uint8_t* p1 = pack1->cursor; in _dnsPacket_isEqualBytes()831 if (p1 + numBytes > pack1->end || p2 + numBytes > pack2->end) return 0; in _dnsPacket_isEqualBytes()835 pack1->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 …]