Home
last modified time | relevance | path

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

12

/systemd-251/src/test/
Dtest-in-addr-util.c143 assert_se(in_addr_to_string(AF_INET, &a, &str) >= 0); in TEST()
148 assert_se(in_addr_to_string(AF_INET, &a, &str) >= 0); in TEST()
153 assert_se(in_addr_to_string(AF_INET, &a, &str) >= 0); in TEST()
158 assert_se(in_addr_to_string(AF_INET, &a, &str) >= 0); in TEST()
163 assert_se(in_addr_to_string(AF_INET, &a, &str) >= 0); in TEST()
170 assert_se(in_addr_to_string(AF_INET6, &a, &str) >= 0); in TEST()
175 assert_se(in_addr_to_string(AF_INET6, &a, &str) >= 0); in TEST()
353 assert_se(in_addr_to_string(f, &ua, &r) >= 0); in test_in_addr_to_string_one()
358 TEST(in_addr_to_string) { in TEST() argument
Dtest-nss-hosts.c54 r = in_addr_to_string(it->family, &u, &a); in print_gaih_addrtuples()
82 r = in_addr_to_string(host->h_addrtype, &u, &a); in print_struct_hostent()
268 assert_se(in_addr_to_string(af, addr, &addr_pretty) >= 0); in test_gethostbyaddr2_r()
305 assert_se(in_addr_to_string(af, addr, &addr_pretty) >= 0); in test_gethostbyaddr_r()
Dtest-local-addresses.c17 assert_se(in_addr_to_string(a[i].family, &a[i].address, &b) >= 0); in print_local_addresses()
/systemd-251/src/basic/
Din-addr-util.h71 int in_addr_to_string(int family, const union in_addr_union *u, char **ret);
73 return in_addr_to_string(AF_INET6, (const union in_addr_union*) u, ret); in in6_addr_to_string()
Din-addr-util.c428 int in_addr_to_string(int family, const union in_addr_union *u, char **ret) { in in_addr_to_string() function
499 r = in_addr_to_string(family, u, &ip_str); in in_addr_port_ifindex_name_to_string()
/systemd-251/src/libsystemd-network/
Dtest-ipv4ll-manual.c28 … assert_se(in_addr_to_string(AF_INET, (const union in_addr_union*) &addr, &address) >= 0); in ll_handler()
Dsd-ipv4ll.c260 (void) in_addr_to_string(AF_INET, &(union in_addr_union) { .in.s_addr = addr }, &address); in ipv4ll_pick_address()
Dsd-ndisc.c232 … (void) in_addr_to_string(AF_INET6, (const union in_addr_union*) &rt->address, &addr); in ndisc_recv()
Dsd-radv.c278 … (void) in_addr_to_string(AF_INET6, (const union in_addr_union*) &src, &addr); in radv_recv()
303 (void) in_addr_to_string(AF_INET6, (const union in_addr_union*) &src, &addr); in radv_recv()
Dlldp-neighbor.c438 r = in_addr_to_string(family, &a, ret); in format_network_address()
/systemd-251/src/nspawn/
Dnspawn-expose-ports.c146 in_addr_to_string(af, &new_exposed, &pretty); in expose_port_execute()
/systemd-251/src/network/
Dnetworkd-bridge-mdb.c125 (void) in_addr_to_string(mdb->family, &mdb->group_addr, &a); in bridge_mdb_configure()
Dnetworkctl.c1045 r = in_addr_to_string(local[i].family, &local[i].address, &gateway); in dump_gateways()
1094 r = in_addr_to_string(local[i].family, &local[i].address, &pretty); in dump_addresses()
1184 r = in_addr_to_string(AF_INET6, &prefix, &pretty); in dump_address_labels()
1367 r = in_addr_to_string(family, addr, &ip); in dump_dhcp_leases()
Dnetworkd-neighbor.c170 (void) in_addr_to_string(neighbor->family, &neighbor->in_addr, &dst); in log_neighbor_debug()
Dnetworkd-state-file.c67 r = in_addr_to_string(AF_INET, (const union in_addr_union*) address, &p); in ordered_set_put_in4_addr()
Dnetworkd-route.c566 (void) in_addr_to_string(route->gw_family, &route->gw, &gw_alloc); in log_route_debug()
580 (void) in_addr_to_string(m->gateway.family, &a, &buf); in log_route_debug()
592 (void) in_addr_to_string(route->family, &route->prefsrc, &prefsrc); in log_route_debug()
Dnetworkd-address.c661 (void) in_addr_to_string(address->family, &address->in_addr, &addr); in log_address_debug()
663 (void) in_addr_to_string(address->family, &address->in_addr_peer, &peer); in log_address_debug()
/systemd-251/src/resolve/
Dtest-resolved-stream.c135 assert_se(in_addr_to_string(server_address.in.sin_family, in tls_dns_server()
Dresolved-manager.c876 (void) in_addr_to_string(p->family, &p->sender, &sender_address); in manager_recv()
877 (void) in_addr_to_string(p->family, &p->destination, &destination_address); in manager_recv()
Dresolved-dns-rr.c870 r = in_addr_to_string(AF_INET, (const union in_addr_union*) &rr->a.in_addr, &t); in dns_resource_record_to_string()
880 … r = in_addr_to_string(AF_INET6, (const union in_addr_union*) &rr->aaaa.in6_addr, &t); in dns_resource_record_to_string()
Dresolved-dns-query.c1225 … r = in_addr_to_string(q->request_family, &q->request_address, &q->request_address_string); in dns_query_string()
Dresolved-dns-cache.c499 (void) in_addr_to_string(i->owner_family, &i->owner_address, &t); in dns_cache_put_positive()
/systemd-251/src/network/generator/
Dnetwork-generator.c1092 r = in_addr_to_string(address->family, &address->peer, &peer); in address_dump()
1118 r = in_addr_to_string(route->family, &route->gateway, &gateway); in route_dump()
/systemd-251/src/network/netdev/
Dl2tp-tunnel.c451 (void) in_addr_to_string(t->family, &local_address, &str); in l2tp_create_tunnel()
/systemd-251/src/timedate/
Dtimedatectl.c558 r = in_addr_to_string(family, d, p); in map_server_address()

12