Searched refs:ip_str (Results 1 – 3 of 3) sorted by relevance
/systemd-251/src/shared/ |
D | socket-netlink.c | 315 _cleanup_free_ char *ip_str = NULL; in in_addr_port_ifindex_name_from_string_auto() local 329 ip_str = strndup(s + 1, m - s - 2); in in_addr_port_ifindex_name_from_string_auto() 330 if (!ip_str) in in_addr_port_ifindex_name_from_string_auto() 333 r = in_addr_from_string(family, ip_str, &a); in in_addr_port_ifindex_name_from_string_auto() 341 _cleanup_free_ char *ip_str = NULL; in in_addr_port_ifindex_name_from_string_auto() local 348 ip_str = strndup(s, m - s); in in_addr_port_ifindex_name_from_string_auto() 349 if (!ip_str) in in_addr_port_ifindex_name_from_string_auto() 352 r = in_addr_from_string(family, ip_str, &a); in in_addr_port_ifindex_name_from_string_auto()
|
/systemd-251/src/basic/ |
D | in-addr-util.c | 489 _cleanup_free_ char *ip_str = NULL, *x = NULL; in in_addr_port_ifindex_name_to_string() local 499 r = in_addr_to_string(family, u, &ip_str); in in_addr_port_ifindex_name_to_string() 513 *ret = TAKE_PTR(ip_str); in in_addr_port_ifindex_name_to_string() 523 … r = asprintf(&x, "[%s]:%"PRIu16"%%%i%s%s", ip_str, port, ifindex, separator, server_name); in in_addr_port_ifindex_name_to_string() 525 … r = asprintf(&x, "[%s]:%"PRIu16"%s%s", ip_str, port, separator, server_name); in in_addr_port_ifindex_name_to_string() 527 r = asprintf(&x, "%s:%"PRIu16"%s%s", ip_str, port, separator, server_name); in in_addr_port_ifindex_name_to_string() 530 r = asprintf(&x, "%s%%%i%s%s", ip_str, ifindex, separator, server_name); in in_addr_port_ifindex_name_to_string() 532 x = strjoin(ip_str, separator, server_name); in in_addr_port_ifindex_name_to_string()
|
/systemd-251/src/resolve/ |
D | test-resolved-stream.c | 130 _cleanup_free_ char *ip_str = NULL, *bind_str = NULL; in tls_dns_server() local 137 &ip_str) >= 0); in tls_dns_server() 138 assert_se(asprintf(&bind_str, "%s:%d", ip_str, be16toh(server_address.in.sin_port)) >= 0); in tls_dns_server()
|