Lines Matching refs:acd
35 static void acd_handler(sd_ipv4acd *acd, int event, void *userdata) {
36 assert_se(acd);
54 sd_ipv4acd *acd;
56 assert_se(sd_ipv4acd_new(&acd) >= 0);
57 assert_se(sd_ipv4acd_attach_event(acd, e, 0) >= 0);
59 assert_se(sd_ipv4acd_set_index(acd, ifindex) >= 0);
60 assert_se(sd_ipv4acd_set_mac(acd, ha) >= 0);
61 assert_se(sd_ipv4acd_set_address(acd, pa) >= 0);
62 assert_se(sd_ipv4acd_set_callback(acd, acd_handler, NULL) >= 0);
66 assert_se(sd_ipv4acd_start(acd) >= 0);
70 assert_se(!sd_ipv4acd_unref(acd));