Searched refs:dn (Results 1 – 2 of 2) sorted by relevance
171 res_hnok(const char *dn) { in res_hnok() argument172 int pch = PERIOD, ch = *dn++; in res_hnok()175 int nch = *dn++; in res_hnok()199 res_ownok(const char *dn) { in res_ownok() argument200 if (asterchar(dn[0])) { in res_ownok()201 if (periodchar(dn[1])) in res_ownok()202 return (res_hnok(dn+2)); in res_ownok()203 if (dn[1] == '\0') in res_ownok()206 return (res_hnok(dn)); in res_ownok()214 res_mailok(const char *dn) { in res_mailok() argument[all …]
107 char *dn, *eom; in ns_name_ntop() local113 dn = dst; in ns_name_ntop()122 if (dn != dst) { in ns_name_ntop()123 if (dn >= eom) { in ns_name_ntop()127 *dn++ = '.'; in ns_name_ntop()133 if (dn + l >= eom) { in ns_name_ntop()145 if ((m = decode_bitstring(&cp, dn, eom)) < 0) in ns_name_ntop()150 dn += m; in ns_name_ntop()156 if (dn + 1 >= eom) { in ns_name_ntop()160 *dn++ = '\\'; in ns_name_ntop()[all …]