Lines Matching refs:strdup
165 return strdup(buf); in get_ipv4_netmask()
192 return strdup(buf); in get_ipv6_netmask()
211 return strdup(buf); in get_ipv4_broadcast()
235 return strdup(net_unused); in get_ipv4_net16_unused()
247 return strdup(net_unused); in get_ipv4_net16_unused()
257 return strdup(net_unused); in get_ipv4_net16_unused()
299 return strdup(net_unused); in get_ipv6_net32_unused()
312 return strdup(net_unused); in get_ipv6_net32_unused()
323 return strdup(net_unused); in get_ipv6_net32_unused()
347 return strdup("\0"); in get_ipv6_network()
418 return strdup(ret); in get_ipv6_network()
436 char *buf = strdup(ip); in get_host_from_ip()
442 return strdup("\0"); in get_host_from_ip()
483 return strdup("\0"); in get_ipv4_network()
499 return strdup(buf); in get_ipv4_network()