Lines Matching refs:acd
19 static void acd_handler(sd_ipv4acd *acd, int event, void *userdata) { in acd_handler() argument
20 assert_se(acd); in acd_handler()
38 sd_ipv4acd *acd; in client_run() local
40 assert_se(sd_ipv4acd_new(&acd) >= 0); in client_run()
41 assert_se(sd_ipv4acd_attach_event(acd, e, 0) >= 0); in client_run()
43 assert_se(sd_ipv4acd_set_ifindex(acd, ifindex) >= 0); in client_run()
44 assert_se(sd_ipv4acd_set_mac(acd, ha) >= 0); in client_run()
45 assert_se(sd_ipv4acd_set_address(acd, pa) >= 0); in client_run()
46 assert_se(sd_ipv4acd_set_callback(acd, acd_handler, NULL) >= 0); in client_run()
50 assert_se(sd_ipv4acd_start(acd, true) >= 0); in client_run()
54 assert_se(!sd_ipv4acd_unref(acd)); in client_run()