Home
last modified time | relevance | path

Searched refs:DNS_AS_STR (Results 1 – 25 of 25) sorted by relevance

/freebsd-9-stable/contrib/bind9/lib/dns/rdata/generic/
Dloc_29.c83 if (strcasecmp(DNS_AS_STR(token), "N") == 0) in fromtext_loc()
85 if (north || strcasecmp(DNS_AS_STR(token), "S") == 0) in fromtext_loc()
87 m1 = strtol(DNS_AS_STR(token), &e, 10); in fromtext_loc()
100 if (strcasecmp(DNS_AS_STR(token), "N") == 0) in fromtext_loc()
102 if (north || strcasecmp(DNS_AS_STR(token), "S") == 0) in fromtext_loc()
104 s1 = strtol(DNS_AS_STR(token), &e, 10); in fromtext_loc()
136 DNS_AS_STR(token)); in fromtext_loc()
148 if (strcasecmp(DNS_AS_STR(token), "N") == 0) in fromtext_loc()
150 if (!north && strcasecmp(DNS_AS_STR(token), "S") != 0) in fromtext_loc()
168 if (strcasecmp(DNS_AS_STR(token), "E") == 0) in fromtext_loc()
[all …]
Drrsig_46.c54 i = strtol(DNS_AS_STR(token), &e, 10); in fromtext_rrsig()
93 if (strlen(DNS_AS_STR(token)) <= 10U && in fromtext_rrsig()
94 *DNS_AS_STR(token) != '-' && *DNS_AS_STR(token) != '+') { in fromtext_rrsig()
99 u64 = u = strtoul(DNS_AS_STR(token), &end, 10); in fromtext_rrsig()
106 RETTOK(dns_time32_fromtext(DNS_AS_STR(token), &time_expire)); in fromtext_rrsig()
114 if (strlen(DNS_AS_STR(token)) <= 10U && in fromtext_rrsig()
115 *DNS_AS_STR(token) != '-' && *DNS_AS_STR(token) != '+') { in fromtext_rrsig()
120 u64 = u = strtoul(DNS_AS_STR(token), &end, 10); in fromtext_rrsig()
127 RETTOK(dns_time32_fromtext(DNS_AS_STR(token), &time_signed)); in fromtext_rrsig()
Dnsec3_50.c87 if (strcmp(DNS_AS_STR(token), "-") == 0) { in fromtext_nsec3()
90 RETERR(uint8_tobuffer(strlen(DNS_AS_STR(token)) / 2, target)); in fromtext_nsec3()
91 RETERR(isc_hex_decodestring(DNS_AS_STR(token), target)); in fromtext_nsec3()
100 RETTOK(isc_base32hexnp_decodestring(DNS_AS_STR(token), &b)); in fromtext_nsec3()
Dnsec3param_51.c85 if (strcmp(DNS_AS_STR(token), "-") == 0) { in fromtext_nsec3param()
88 RETERR(uint8_tobuffer(strlen(DNS_AS_STR(token)) / 2, target)); in fromtext_nsec3param()
89 RETERR(isc_hex_decodestring(DNS_AS_STR(token), target)); in fromtext_nsec3param()
Dkeydata_65533.c47 RETTOK(dns_time32_fromtext(DNS_AS_STR(token), &refresh)); in fromtext_keydata()
53 RETTOK(dns_time32_fromtext(DNS_AS_STR(token), &addhd)); in fromtext_keydata()
59 RETTOK(dns_time32_fromtext(DNS_AS_STR(token), &removehd)); in fromtext_keydata()
Dipseckey_45.c80 if (strcmp(DNS_AS_STR(token), ".") != 0) in fromtext_ipseckey()
85 if (getquad(DNS_AS_STR(token), &addr, lexer, callbacks) != 1) in fromtext_ipseckey()
95 if (inet_pton(AF_INET6, DNS_AS_STR(token), addr6) != 1) in fromtext_ipseckey()
Dsig_24.c54 i = strtol(DNS_AS_STR(token), &e, 10); in fromtext_sig()
93 RETTOK(dns_time32_fromtext(DNS_AS_STR(token), &time_expire)); in fromtext_sig()
101 RETTOK(dns_time32_fromtext(DNS_AS_STR(token), &time_signed)); in fromtext_sig()
Dnxt_30.c68 n = strtol(DNS_AS_STR(token), &e, 10); in fromtext_nxt()
69 if (e != DNS_AS_STR(token) && *e == '\0') { in fromtext_nxt()
Deui48_108.c41 n = sscanf(DNS_AS_STR(token), "%2x-%2x-%2x-%2x-%2x-%2x", in fromtext_eui48()
Dhip_55.c71 RETTOK(isc_hex_decodestring(DNS_AS_STR(token), target)); in fromtext_hip()
87 RETTOK(isc_base64_decodestring(DNS_AS_STR(token), target)); in fromtext_hip()
Dnid_104.c48 if (locator_pton(DNS_AS_STR(token), locator) != 1) in fromtext_nid()
Deui64_109.c41 n = sscanf(DNS_AS_STR(token), "%2x-%2x-%2x-%2x-%2x-%2x-%2x-%2x", in fromtext_eui64()
Dl32_105.c49 if (getquad(DNS_AS_STR(token), &addr, lexer, callbacks) != 1) in fromtext_l32()
Dl64_106.c48 if (locator_pton(DNS_AS_STR(token), locator) != 1) in fromtext_l64()
Dmx_15.c37 if (strlcpy(tmp, DNS_AS_STR(*token), sizeof(tmp)) >= sizeof(tmp)) in check_mx()
Dtkey_249.c89 i = strtol(DNS_AS_STR(token), &e, 10); in fromtext_tkey()
/freebsd-9-stable/contrib/bind9/lib/dns/rdata/in_1/
Dwks_11.c97 if (getquad(DNS_AS_STR(token), &addr, lexer, callbacks) != 1) in fromtext_in_wks()
110 proto = strtol(DNS_AS_STR(token), &e, 10); in fromtext_in_wks()
113 else if (!mygetprotobyname(DNS_AS_STR(token), &proto)) in fromtext_in_wks()
137 strncpy(service, DNS_AS_STR(token), sizeof(service)); in fromtext_in_wks()
143 port = strtol(DNS_AS_STR(token), &e, 10); in fromtext_in_wks()
147 !mygetservbyname(DNS_AS_STR(token), ps, &port)) in fromtext_in_wks()
Da_1.c48 if (getquad(DNS_AS_STR(token), &addr, lexer, callbacks) != 1) in fromtext_in_a()
Daaaa_28.c49 if (inet_pton(AF_INET6, DNS_AS_STR(token), addr) != 1) in fromtext_in_aaaa()
Dapl_42.c53 cp = DNS_AS_STR(token); in fromtext_in_apl()
Da6_38.c72 if (inet_pton(AF_INET6, DNS_AS_STR(token), addr) != 1) in fromtext_in_a6()
/freebsd-9-stable/contrib/bind9/lib/dns/
Dmaster.c172 #define DNS_AS_STR(t) ((t).value.as_textregion.base) macro
982 tmp = isc_mem_strdup(lctx->mctx, DNS_AS_STR(*token)); in check_ns()
997 source, line, DNS_AS_STR(*token)); in check_ns()
1151 if (strcasecmp(DNS_AS_STR(token), "$ORIGIN") == 0) { in load_text()
1154 } else if (strcasecmp(DNS_AS_STR(token), in load_text()
1172 } else if (strcasecmp(DNS_AS_STR(token), in load_text()
1199 DNS_AS_STR(token)); in load_text()
1236 } else if (strcasecmp(DNS_AS_STR(token), in load_text()
1242 result = dns_time64_fromtext(DNS_AS_STR(token), in load_text()
1268 } else if (strcasecmp(DNS_AS_STR(token), in load_text()
[all …]
Drdata.c69 #define DNS_AS_STR(t) ((t).value.as_textregion.base) macro
961 strcmp(DNS_AS_STR(token), "\\#") == 0) { in dns_rdata_fromtext()
2022 oeor = strtol(DNS_AS_STR(token), &e, 16); in atob_tobuffer()
2031 osum = strtol(DNS_AS_STR(token), &e, 16); in atob_tobuffer()
2040 orot = strtol(DNS_AS_STR(token), &e, 16); in atob_tobuffer()
2178 file, line, DNS_AS_STR(*token), in warn_badmx()
2231 DNS_AS_STR(*token), in fromtext_error()
/freebsd-9-stable/contrib/bind9/lib/dns/rdata/hs_4/
Da_1.c46 if (getquad(DNS_AS_STR(token), &addr, lexer, callbacks) != 1) in fromtext_hs_a()
/freebsd-9-stable/contrib/bind9/lib/dns/rdata/any_255/
Dtsig_250.c61 sigtime = isc_string_touint64(DNS_AS_STR(token), &e, 10); in fromtext_any_tsig()
109 i = strtol(DNS_AS_STR(token), &e, 10); in fromtext_any_tsig()