Lines Matching refs:loopback
30 _cleanup_(sd_device_unrefp) sd_device *loopback = NULL; in test_receive_device_fail()
36 assert_se(sd_device_new_from_syspath(&loopback, "/sys/class/net/lo") >= 0); in test_receive_device_fail()
37 assert_se(device_add_property(loopback, "ACTION", "hoge") >= 0); in test_receive_device_fail()
39 assert_se(sd_device_get_syspath(loopback, &syspath) >= 0); in test_receive_device_fail()
50 assert_se(device_monitor_send_device(monitor_server, monitor_client, loopback) >= 0); in test_receive_device_fail()
288 _cleanup_(sd_device_unrefp) sd_device *loopback = NULL, *sda = NULL; in main()
301 assert_se(sd_device_new_from_syspath(&loopback, "/sys/class/net/lo") >= 0); in main()
302 assert_se(device_add_property(loopback, "ACTION", "add") >= 0); in main()
303 assert_se(device_add_property(loopback, "SEQNUM", "10") >= 0); in main()
304 assert_se(device_add_tag(loopback, "TEST_SD_DEVICE_MONITOR", true) >= 0); in main()
306 test_send_receive_one(loopback, false, false, false); in main()
307 test_send_receive_one(loopback, true, false, false); in main()
308 test_send_receive_one(loopback, false, true, false); in main()
309 test_send_receive_one(loopback, true, true, false); in main()
310 test_send_receive_one(loopback, true, false, true); in main()
311 test_send_receive_one(loopback, false, true, true); in main()
312 test_send_receive_one(loopback, true, true, true); in main()
314 test_subsystem_filter(loopback); in main()
315 test_tag_filter(loopback); in main()
316 test_sysattr_filter(loopback, "ifindex"); in main()
317 test_sd_device_monitor_filter_remove(loopback); in main()
318 test_device_copy_properties(loopback); in main()