Lines Matching full:d2

95  * @param d2: dname to compare
99 int query_dname_compare(uint8_t* d1, uint8_t* d2);
117 * @param d2: dname to compare
121 int dname_pkt_compare(struct sldns_buffer* pkt, uint8_t* d1, uint8_t* d2);
181 * @param d2: second dname. pointer to uncompressed wireformat.
184 * @return: 0 for equal, -1 smaller, or +1 d1 larger than d2.
186 int dname_lab_cmp(uint8_t* d1, int labs1, uint8_t* d2, int labs2, int* mlabs);
209 * See if domain name d1 is a strict subdomain of d2.
213 * @param d2: domain name, uncompressed wireformat
214 * @param labs2: number of labels in d2, including root label.
215 * @return true if d1 is a subdomain of d2, but not equal to d2.
217 int dname_strict_subdomain(uint8_t* d1, int labs1, uint8_t* d2, int labs2);
222 * @param d2: domain name, uncompressed wireformat
223 * @return true if d1 is a subdomain of d2, but not equal to d2.
225 int dname_strict_subdomain_c(uint8_t* d1, uint8_t* d2);
228 * Counts labels. Tests if d1 is a subdomain of d2.
230 * @param d2: domain name, uncompressed wireformat
231 * @return true if d1 is a subdomain of d2.
233 int dname_subdomain_c(uint8_t* d1, uint8_t* d2);
299 * @param d2: second dname. pointer to uncompressed wireformat.
302 * @return: 0 for equal, -1 smaller, or +1 d1 larger than d2.
304 int dname_canon_lab_cmp(uint8_t* d1, int labs1, uint8_t* d2, int labs2,
312 * @param d2: second dname. pointer to uncompressed wireformat.
313 * @return: 0 for equal, -1 smaller, or +1 d1 larger than d2.
315 int dname_canonical_compare(uint8_t* d1, uint8_t* d2);
320 * @param d2: second dname. pointer to uncompressed wireformat.
323 uint8_t* dname_get_shared_topdomain(uint8_t* d1, uint8_t* d2);