Lines Matching refs:addr

794         struct in6_addr addr;  in test_lease_managed()  local
805 assert_se(sd_dhcp6_lease_get_address(lease, &addr, &lt_pref, &lt_valid) >= 0); in test_lease_managed()
806 assert_se(in6_addr_equal(&addr, &ia_na_address1)); in test_lease_managed()
809 assert_se(sd_dhcp6_lease_get_address(lease, &addr, &lt_pref, &lt_valid) >= 0); in test_lease_managed()
810 assert_se(in6_addr_equal(&addr, &ia_na_address2)); in test_lease_managed()
813 assert_se(sd_dhcp6_lease_get_address(lease, &addr, &lt_pref, &lt_valid) == -ENODATA); in test_lease_managed()
816 assert_se(sd_dhcp6_lease_get_address(lease, &addr, &lt_pref, &lt_valid) >= 0); in test_lease_managed()
817 assert_se(in6_addr_equal(&addr, &ia_na_address1)); in test_lease_managed()
820 assert_se(sd_dhcp6_lease_get_address(lease, &addr, &lt_pref, &lt_valid) >= 0); in test_lease_managed()
821 assert_se(in6_addr_equal(&addr, &ia_na_address2)); in test_lease_managed()
824 assert_se(sd_dhcp6_lease_get_address(lease, &addr, &lt_pref, &lt_valid) == -ENODATA); in test_lease_managed()
827 assert_se(sd_dhcp6_lease_get_pd(lease, &addr, &prefixlen, &lt_pref, &lt_valid) >= 0); in test_lease_managed()
828 assert_se(in6_addr_equal(&addr, &ia_pd_prefix1)); in test_lease_managed()
832 assert_se(sd_dhcp6_lease_get_pd(lease, &addr, &prefixlen, &lt_pref, &lt_valid) >= 0); in test_lease_managed()
833 assert_se(in6_addr_equal(&addr, &ia_pd_prefix2)); in test_lease_managed()
837 assert_se(sd_dhcp6_lease_get_address(lease, &addr, &lt_pref, &lt_valid) == -ENODATA); in test_lease_managed()
840 assert_se(sd_dhcp6_lease_get_pd(lease, &addr, &prefixlen, &lt_pref, &lt_valid) >= 0); in test_lease_managed()
841 assert_se(in6_addr_equal(&addr, &ia_pd_prefix1)); in test_lease_managed()
845 assert_se(sd_dhcp6_lease_get_pd(lease, &addr, &prefixlen, &lt_pref, &lt_valid) >= 0); in test_lease_managed()
846 assert_se(in6_addr_equal(&addr, &ia_pd_prefix2)); in test_lease_managed()
850 assert_se(sd_dhcp6_lease_get_address(lease, &addr, &lt_pref, &lt_valid) == -ENODATA); in test_lease_managed()