Home
last modified time | relevance | path

Searched refs:in_addr_ifindex_from_string_auto (Results 1 – 6 of 6) sorted by relevance

/systemd-251/src/test/
Dtest-socket-netlink.c240 assert_se(in_addr_ifindex_from_string_auto(b, &ff, &uuaa, &ifindex2) >= 0); in test_in_addr_ifindex_to_string_one()
258 TEST(in_addr_ifindex_from_string_auto) { in TEST() argument
264 assert_se(in_addr_ifindex_from_string_auto("fe80::17", &family, &ua, &ifindex) >= 0); in TEST()
268 assert_se(in_addr_ifindex_from_string_auto("fe80::18%19", &family, &ua, &ifindex) >= 0); in TEST()
272 assert_se(in_addr_ifindex_from_string_auto("fe80::18%lo", &family, &ua, &ifindex) >= 0); in TEST()
276 …assert_se(in_addr_ifindex_from_string_auto("fe80::19%thisinterfacecantexist", &family, &ua, &ifind… in TEST()
/systemd-251/src/shared/
Dsocket-netlink.h27 static inline int in_addr_ifindex_from_string_auto(const char *s, int *family, union in_addr_union … in in_addr_ifindex_from_string_auto() function
/systemd-251/src/resolve/
Dresolved-etc-hosts.c58 r = in_addr_ifindex_from_string_auto(address_str, &address.family, &address.address, NULL); in parse_line()
Dresolved-varlink.c246 r = in_addr_ifindex_from_string_auto(p->name, &ff, &parsed, &parsed_ifindex); in parse_as_address()
Dresolved-bus.c391 r = in_addr_ifindex_from_string_auto(hostname, &ff, &parsed, &parsed_ifindex); in parse_as_address()
Dresolvectl.c725 q = in_addr_ifindex_from_string_auto(*p, &family, &a, &ifindex); in verb_query()