Lines Matching refs:socket_address_parse_netlink
101 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()
135 assert_se(socket_address_parse_netlink(&a, "kobject-uevent -1") < 0); in TEST()
138 assert_se(socket_address_parse_netlink(&a, "\xff") < 0); in TEST()
176 assert_se(socket_address_parse_netlink(&a, "firewall") >= 0); in TEST()
177 assert_se(socket_address_parse_netlink(&b, "firewall") >= 0); in TEST()
224 assert_se(socket_address_parse_netlink(&a, "route 10") >= 0); in TEST()