Home
last modified time | relevance | path

Searched refs:dn (Results 1 – 3 of 3) sorted by relevance

/bionic/libc/dns/resolv/
Dres_comp.c171 res_hnok(const char *dn) { in res_hnok() argument
172 int pch = PERIOD, ch = *dn++; in res_hnok()
175 int nch = *dn++; in res_hnok()
199 res_ownok(const char *dn) { in res_ownok() argument
200 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 …]
/bionic/libc/dns/nameser/
Dns_name.c101 char *dn, *eom; in ns_name_ntop() local
107 dn = dst; in ns_name_ntop()
116 if (dn != dst) { in ns_name_ntop()
117 if (dn >= eom) { in ns_name_ntop()
121 *dn++ = '.'; in ns_name_ntop()
127 if (dn + l >= eom) { in ns_name_ntop()
139 if ((m = decode_bitstring(&cp, dn, eom)) < 0) in ns_name_ntop()
144 dn += m; in ns_name_ntop()
150 if (dn + 1 >= eom) { in ns_name_ntop()
154 *dn++ = '\\'; in ns_name_ntop()
[all …]
/bionic/libc/dns/net/
Dgethnamaddr.c96 #define maybe_dnok(res, dn) maybe_ok((res), (dn), res_dnok) argument