Searched refs:pack1 (Results 1 – 1 of 1) sorted by relevance
562 static int _dnsPacket_isEqualDomainName(DnsPacket* pack1, DnsPacket* pack2) { in _dnsPacket_isEqualDomainName() argument563 const uint8_t* p1 = pack1->cursor; in _dnsPacket_isEqualDomainName()564 const uint8_t* end1 = pack1->end; in _dnsPacket_isEqualDomainName()578 pack1->cursor = p1; in _dnsPacket_isEqualDomainName()600 static int _dnsPacket_isEqualBytes(DnsPacket* pack1, DnsPacket* pack2, int numBytes) { in _dnsPacket_isEqualBytes() argument601 const uint8_t* p1 = pack1->cursor; in _dnsPacket_isEqualBytes()604 if (p1 + numBytes > pack1->end || p2 + numBytes > pack2->end) return 0; in _dnsPacket_isEqualBytes()608 pack1->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 …]