Home
last modified time | relevance | path

Searched refs:socket_address_parse_netlink (Results 1 – 5 of 5) sorted by relevance

/systemd-251/src/test/
Dtest-socket-netlink.c101 TEST(socket_address_parse_netlink) { in TEST() argument
104 assert_se(socket_address_parse_netlink(&a, "junk") < 0); in TEST()
105 assert_se(socket_address_parse_netlink(&a, "") < 0); in TEST()
107 assert_se(socket_address_parse_netlink(&a, "route") >= 0); in TEST()
111 assert_se(socket_address_parse_netlink(&a, "route") >= 0); in TEST()
112 assert_se(socket_address_parse_netlink(&a, "route 10") >= 0); in TEST()
118 assert_se(socket_address_parse_netlink(&a, " kobject-uevent ") >= 0); in TEST()
122 assert_se(socket_address_parse_netlink(&a, " \t kobject-uevent \t 10") >= 0); in TEST()
126 assert_se(socket_address_parse_netlink(&a, "kobject-uevent\t10") >= 0); in TEST()
132 assert_se(socket_address_parse_netlink(&a, "kobject-uevent\t10 ") < 0); in TEST()
[all …]
/systemd-251/src/shared/
Dsocket-netlink.h12 int socket_address_parse_netlink(SocketAddress *a, const char *s);
Dsocket-netlink.c158 int socket_address_parse_netlink(SocketAddress *a, const char *s) { in socket_address_parse_netlink() function
213 if (socket_address_parse_netlink(&b, s) < 0) in socket_address_is_netlink()
/systemd-251/src/core/
Ddbus-socket.c393 r = socket_address_parse_netlink(&p->address, a); in bus_socket_set_transient_property()
Dload-fragment.c608 r = socket_address_parse_netlink(&p->address, k); in config_parse_socket_listen()