Searched refs:pack1 (Results 1 – 1 of 1) sorted by relevance
544 static int _dnsPacket_isEqualDomainName(DnsPacket* pack1, DnsPacket* pack2) { in _dnsPacket_isEqualDomainName() argument545 const uint8_t* p1 = pack1->cursor; in _dnsPacket_isEqualDomainName()546 const uint8_t* end1 = pack1->end; in _dnsPacket_isEqualDomainName()562 pack1->cursor = p1; in _dnsPacket_isEqualDomainName()584 static int _dnsPacket_isEqualBytes(DnsPacket* pack1, DnsPacket* pack2, int numBytes) { in _dnsPacket_isEqualBytes() argument585 const uint8_t* p1 = pack1->cursor; in _dnsPacket_isEqualBytes()588 if (p1 + numBytes > pack1->end || p2 + numBytes > pack2->end) return 0; in _dnsPacket_isEqualBytes()592 pack1->cursor += numBytes; in _dnsPacket_isEqualBytes()597 static int _dnsPacket_isEqualQR(DnsPacket* pack1, DnsPacket* pack2) { in _dnsPacket_isEqualQR() argument599 if (!_dnsPacket_isEqualDomainName(pack1, pack2) || in _dnsPacket_isEqualQR()[all …]