Searched refs:next_ip_str (Results 1 – 2 of 2) sorted by relevance
/dports/dns/unbound/unbound-1.14.0/sldns/ |
H A D | str2wire.c | 1183 char *next_ip_str; in sldns_str2wire_svcbparam_ipv4hint() local 1205 if (!(next_ip_str = strchr(val, ','))) { in sldns_str2wire_svcbparam_ipv4hint() 1212 } else if (next_ip_str - val >= (int)sizeof(ip_str)) in sldns_str2wire_svcbparam_ipv4hint() 1216 memcpy(ip_str, val, next_ip_str - val); in sldns_str2wire_svcbparam_ipv4hint() 1217 ip_str[next_ip_str - val] = 0; in sldns_str2wire_svcbparam_ipv4hint() 1223 val = next_ip_str + 1; in sldns_str2wire_svcbparam_ipv4hint() 1238 char *next_ip_str; in sldns_str2wire_svcbparam_ipv6hint() local 1260 if (!(next_ip_str = strchr(val, ','))) { in sldns_str2wire_svcbparam_ipv6hint() 1271 memcpy(ip_str, val, next_ip_str - val); in sldns_str2wire_svcbparam_ipv6hint() 1272 ip_str[next_ip_str - val] = 0; in sldns_str2wire_svcbparam_ipv6hint() [all …]
|
/dports/dns/nsd/nsd-4.3.9/ |
H A D | zonec.c | 849 char *next_ip_str; in zparser_conv_svcbparam_ipv4hint_value() local 871 if (!(next_ip_str = strchr(val, ','))) { in zparser_conv_svcbparam_ipv4hint_value() 877 } else if (next_ip_str - val >= (int)sizeof(ip_str)) in zparser_conv_svcbparam_ipv4hint_value() 881 memcpy(ip_str, val, next_ip_str - val); in zparser_conv_svcbparam_ipv4hint_value() 882 ip_str[next_ip_str - val] = 0; in zparser_conv_svcbparam_ipv4hint_value() 888 val = next_ip_str + 1; in zparser_conv_svcbparam_ipv4hint_value()
|