Searched refs:pack2 (Results 1 – 1 of 1) sorted by relevance
562 static int _dnsPacket_isEqualDomainName(DnsPacket* pack1, DnsPacket* pack2) { in _dnsPacket_isEqualDomainName() argument565 const uint8_t* p2 = pack2->cursor; in _dnsPacket_isEqualDomainName()566 const uint8_t* end2 = pack2->end; in _dnsPacket_isEqualDomainName()579 pack2->cursor = p2; in _dnsPacket_isEqualDomainName()600 static int _dnsPacket_isEqualBytes(DnsPacket* pack1, DnsPacket* pack2, int numBytes) { in _dnsPacket_isEqualBytes() argument602 const uint8_t* p2 = pack2->cursor; in _dnsPacket_isEqualBytes()604 if (p1 + numBytes > pack1->end || p2 + numBytes > pack2->end) return 0; in _dnsPacket_isEqualBytes()609 pack2->cursor += numBytes; in _dnsPacket_isEqualBytes()613 static int _dnsPacket_isEqualQR(DnsPacket* pack1, DnsPacket* pack2) { in _dnsPacket_isEqualQR() argument615 if (!_dnsPacket_isEqualDomainName(pack1, pack2) || in _dnsPacket_isEqualQR()[all …]