Lines Matching refs:label
124 * Hash dname, label by label, lowercasing, into hashvalue.
133 * Hash dname, label by label, lowercasing, into hashvalue.
164 * @return: count of labels, including root label, "com." has 2 labels.
171 * @param size: length of dname, including root label.
172 * @return: count of labels, including root label, "com." has 2 labels.
177 * Compare dnames, sorted not canonical, but by label.
190 * @param label: dname label
191 * @param prefix: the string to match label with, null terminated.
192 * @param endptr: pointer to location in label after prefix, only if return
193 * value is 1. NULL if nothing in the label after the prefix, i.e. prefix
194 * and label are the same.
195 * @return: 1 if label starts with prefix, else 0
197 int dname_lab_startswith(uint8_t* label, char* prefix, char** endptr);
200 * Check if dname contains label
203 * @param label: label to be checked for presence in dname
204 * @return: 1 if dname has this label, 0 otherwise
206 int dname_has_label(uint8_t* dname, size_t dnamelen, uint8_t* label);
212 * @param labs1: number of labels in d1, including root label.
214 * @param labs2: number of labels in d2, including root label.
247 * the name is too long, # for a bad label length).
261 * Snip off first label from a dname, returning the parent zone.
279 * Count labels for the RRSIG signature label field.
287 * Return true if the label is a wildcard, *.example.com.
294 * Compare dnames, Canonical in rfc4034 sense, but by label.