/systemd-251/src/network/ |
D | test-network.c | 27 assert_se(in_addr_from_string(AF_INET, "0:0:0:0:0:FFFF:204.152.189.116", &a) < 0); in test_deserialize_in_addr() 28 assert_se(in_addr_from_string(AF_INET6, "192.168.0.1", &d) < 0); in test_deserialize_in_addr() 30 assert_se(in_addr_from_string(AF_INET, "192.168.0.1", &a) >= 0); in test_deserialize_in_addr() 31 assert_se(in_addr_from_string(AF_INET, "192.168.0.2", &b) >= 0); in test_deserialize_in_addr() 32 assert_se(in_addr_from_string(AF_INET, "192.168.0.3", &c) >= 0); in test_deserialize_in_addr() 33 assert_se(in_addr_from_string(AF_INET6, "0:0:0:0:0:FFFF:204.152.189.116", &d) >= 0); in test_deserialize_in_addr() 34 assert_se(in_addr_from_string(AF_INET6, "::1", &e) >= 0); in test_deserialize_in_addr() 35 assert_se(in_addr_from_string(AF_INET6, "1:0:0:0:0:0:0:8", &f) >= 0); in test_deserialize_in_addr() 206 assert_se(in_addr_from_string(AF_INET, "192.168.3.9", &a1->in_addr) >= 0); in test_address_equality() 208 assert_se(in_addr_from_string(AF_INET, "192.168.3.9", &a2->in_addr) >= 0); in test_address_equality() [all …]
|
D | networkd-address-pool.c | 55 r = in_addr_from_string(family, p, &u); in address_pool_new_from_string()
|
D | networkd-ipv6-proxy-ndp.c | 157 r = in_addr_from_string(AF_INET6, rvalue, &buffer); in config_parse_ipv6_proxy_ndp_address()
|
D | networkd-dhcp-server-static-lease.c | 136 r = in_addr_from_string(AF_INET, rvalue, &addr); in config_parse_dhcp_static_lease_address()
|
D | networkd-dhcp-server.c | 226 if (in_addr_from_string(AF_INET, *i, &ia) < 0) in link_push_uplink_to_dhcp_server() 681 r = in_addr_from_string(AF_INET, w, &a); in config_parse_dhcp_server_emit()
|
D | networkd-dhcp-common.c | 825 r = in_addr_from_string(AF_INET, p, &addr); in config_parse_dhcp_send_option() 837 r = in_addr_from_string(AF_INET6, p, &addr); in config_parse_dhcp_send_option()
|
D | networkd-address-generation.c | 401 r = in_addr_from_string(AF_INET6, addr, &buffer); in config_parse_address_generation_type()
|
D | networkd-radv.c | 1125 r = in_addr_from_string(AF_INET6, w, &a); in config_parse_radv_dns()
|
D | networkd-route.c | 1900 r = in_addr_from_string(AF_INET, "169.254.0.0", &n->dst); in network_add_ipv4ll_route() 2059 r = in_addr_from_string(n->family, rvalue, &n->prefsrc); in config_parse_preferred_src()
|
D | networkd-address.c | 1559 r = in_addr_from_string(AF_INET, rvalue, &u); in config_parse_broadcast()
|
/systemd-251/src/test/ |
D | test-in-addr-util.c | 140 assert_se(in_addr_from_string(AF_INET, "192.168.10.1", &a) >= 0); in TEST() 167 assert_se(in_addr_from_string(AF_INET6, "fd00::1", &a) >= 0); in TEST() 196 assert_se(in_addr_from_string(f, a, &ua) >= 0); in test_in_addr_prefix_intersect_one() 197 assert_se(in_addr_from_string(f, b, &ub) >= 0); in test_in_addr_prefix_intersect_one() 233 assert_se(in_addr_from_string(f, before, &ubefore) >= 0); in test_in_addr_prefix_next_one() 239 assert_se(in_addr_from_string(f, after, &uafter) >= 0); in test_in_addr_prefix_next_one() 271 assert_se(in_addr_from_string(f, before, &ubefore) >= 0); in test_in_addr_prefix_nth_one() 277 assert_se(in_addr_from_string(f, after, &uafter) >= 0); in test_in_addr_prefix_nth_one() 318 assert_se(in_addr_from_string(family, in, &a) >= 0); in test_in_addr_prefix_range_one() 324 assert_se(in_addr_from_string(family, expected_start, &es) >= 0); in test_in_addr_prefix_range_one() [all …]
|
D | test-firewall-util.c | 24 assert_se(in_addr_from_string(AF_INET6, "dead::beef", &u1) >= 0); in test_v6() 25 assert_se(in_addr_from_string(AF_INET6, "1c3::c01d", &u2) >= 0); in test_v6() 52 assert_se(in_addr_from_string(AF_INET, str, u) >= 0); in parse_addr()
|
D | test-socket-netlink.c | 235 assert_se(in_addr_from_string(f, a, &ua) >= 0); in test_in_addr_ifindex_to_string_one()
|
/systemd-251/src/shared/ |
D | socket-netlink.c | 333 r = in_addr_from_string(family, ip_str, &a); in in_addr_port_ifindex_name_from_string_auto() 338 r = in_addr_from_string(AF_INET6, s, &a); 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() 364 r = in_addr_from_string(family, s, &a); in in_addr_port_ifindex_name_from_string_auto()
|
D | conf-parser.c | 1852 r = in_addr_from_string(ltype, rvalue, &a); in config_parse_in_addr_non_null()
|
/systemd-251/src/basic/ |
D | in-addr-util.c | 543 int in_addr_from_string(int family, const char *s, union in_addr_union *ret) { in in_addr_from_string() function 562 r = in_addr_from_string(AF_INET, s, ret); in in_addr_from_string_auto() 569 r = in_addr_from_string(AF_INET6, s, ret); in in_addr_from_string_auto() 797 r = in_addr_from_string(family, l, &buffer); in in_addr_prefix_from_string()
|
D | in-addr-util.h | 86 int in_addr_from_string(int family, const char *s, union in_addr_union *ret);
|
D | ether-addr-util.c | 200 r = in_addr_from_string(family, s, &a); in parse_hw_addr_full()
|
/systemd-251/src/libsystemd-network/ |
D | fuzz-dhcp-server-relay.c | 31 assert_se(in_addr_from_string(AF_INET, "192.168.5.1", &relay_address) >= 0); in LLVMFuzzerTestOneInput()
|
D | test-acd.c | 67 assert_se(in_addr_from_string(AF_INET, address, &pa) >= 0); in test_acd()
|
/systemd-251/src/fstab-generator/ |
D | fstab-generator.c | 723 r = in_addr_from_string(AF_INET6, a, &u); in sysroot_is_nfsroot() 735 if (in_addr_from_string(AF_INET, a, &u) >= 0) in sysroot_is_nfsroot()
|
/systemd-251/src/network/netdev/ |
D | bond.c | 269 r = in_addr_from_string(AF_INET, n, &ip); in config_parse_arp_ip_target_address()
|
D | tunnel.c | 888 r = in_addr_from_string(AF_INET, rvalue, &buffer); in config_parse_tunnel_key()
|
/systemd-251/src/network/generator/ |
D | network-generator.c | 553 r = in_addr_from_string(family, buf, ret); in parse_ip_address_one()
|