Home
last modified time | relevance | path

Searched refs:lt_pref (Results 1 – 2 of 2) sorted by relevance

/systemd-251/src/libsystemd-network/
Dtest-dhcp6-client.c795 uint32_t lt_pref, lt_valid; in test_lease_managed() local
805 assert_se(sd_dhcp6_lease_get_address(lease, &addr, &lt_pref, &lt_valid) >= 0); in test_lease_managed()
807 assert_se(lt_pref == 150); in test_lease_managed()
809 assert_se(sd_dhcp6_lease_get_address(lease, &addr, &lt_pref, &lt_valid) >= 0); in test_lease_managed()
811 assert_se(lt_pref == 150); 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()
818 assert_se(lt_pref == 150); in test_lease_managed()
820 assert_se(sd_dhcp6_lease_get_address(lease, &addr, &lt_pref, &lt_valid) >= 0); in test_lease_managed()
822 assert_se(lt_pref == 150); in test_lease_managed()
[all …]
Ddhcp6-option.c590 uint32_t lt_valid, lt_pref; in dhcp6_option_parse_ia_address() local
610 lt_pref = be32toh(a->iaaddr.lifetime_preferred); in dhcp6_option_parse_ia_address()
615 if (lt_pref > lt_valid) in dhcp6_option_parse_ia_address()
619 lt_pref, lt_valid); in dhcp6_option_parse_ia_address()
633 uint32_t lt_valid, lt_pref; in dhcp6_option_parse_ia_pdprefix() local
653 lt_pref = be32toh(a->iapdprefix.lifetime_preferred); in dhcp6_option_parse_ia_pdprefix()
658 if (lt_pref > lt_valid) in dhcp6_option_parse_ia_pdprefix()
662 lt_pref, lt_valid); in dhcp6_option_parse_ia_pdprefix()