Lines Matching full:numbytes
491 _dnsPacket_checkBytes( DnsPacket* packet, int numBytes, const void* bytes )
495 if (p + numBytes > packet->end)
498 if (memcmp(p, bytes, numBytes) != 0)
501 packet->cursor = p + numBytes;
754 _dnsPacket_hashBytes( DnsPacket* packet, int numBytes, unsigned hash )
759 while (numBytes > 0 && p < end) {
899 _dnsPacket_isEqualBytes( DnsPacket* pack1, DnsPacket* pack2, int numBytes )
904 if ( p1 + numBytes > pack1->end || p2 + numBytes > pack2->end )
907 if ( memcmp(p1, p2, numBytes) != 0 )
910 pack1->cursor += numBytes;
911 pack2->cursor += numBytes;