Home
last modified time | relevance | path

Searched refs:valid_lifetime (Results 1 – 5 of 5) sorted by relevance

/Zephyr-latest/subsys/net/lib/dhcpv6/
Ddhcpv6_internal.h94 uint32_t valid_lifetime; member
109 uint32_t valid_lifetime; member
Ddhcpv6.c76 uint32_t valid_lifetime) in dhcvp6_update_deadlines() argument
124 if (valid_lifetime == DHCPV6_INFINITY || in dhcvp6_update_deadlines()
125 u64_add_overflow(now, 1000ULL * valid_lifetime, &expire_abs)) { in dhcvp6_update_deadlines()
338 ret = net_pkt_write_be32(pkt, ia_na->iaaddr.valid_lifetime); in dhcpv6_add_option_ia_na()
393 ret = net_pkt_write_be32(pkt, ia_pd->iaprefix.valid_lifetime); in dhcpv6_add_option_ia_pd()
855 ret = net_pkt_read_be32(pkt, &iaaddr->valid_lifetime); in dhcpv6_parse_option_iaaddr()
863 if (iaaddr->preferred_lifetime > iaaddr->valid_lifetime) { in dhcpv6_parse_option_iaaddr()
869 iaaddr->valid_lifetime); in dhcpv6_parse_option_iaaddr()
1021 ret = net_pkt_read_be32(pkt, &iaprefix->valid_lifetime); in dhcpv6_parse_option_iaprefix()
1039 if (iaprefix->preferred_lifetime > iaprefix->valid_lifetime) { in dhcpv6_parse_option_iaprefix()
[all …]
/Zephyr-latest/subsys/net/ip/
Dipv6_nbr.c2202 if (!prefix_info->valid_lifetime) { in handle_prefix_onlink()
2209 prefix_info->valid_lifetime); in handle_prefix_onlink()
2216 prefix_info->valid_lifetime); in handle_prefix_onlink()
2229 switch (prefix_info->valid_lifetime) { in handle_prefix_onlink()
2257 prefix_info->prefix_len, prefix_info->valid_lifetime); in handle_prefix_onlink()
2261 prefix_info->valid_lifetime); in handle_prefix_onlink()
2300 if (prefix_info->valid_lifetime == in handle_prefix_autonomous()
2307 if ((prefix_info->valid_lifetime > TWO_HOURS) || in handle_prefix_autonomous()
2308 (prefix_info->valid_lifetime > in handle_prefix_autonomous()
2313 prefix_info->valid_lifetime); in handle_prefix_autonomous()
[all …]
Dicmpv6.h58 uint32_t valid_lifetime; member
/Zephyr-latest/tests/net/dhcpv6/src/
Dmain.c352 zassert_equal(ia_na.iaaddr.valid_lifetime, 0, in verify_dhcpv6_ia_na()
380 zassert_equal(ia_pd.iaprefix.valid_lifetime, 0, in verify_dhcpv6_ia_pd()
653 .iaaddr.valid_lifetime = 240, in set_advertise_options()
662 .iaprefix.valid_lifetime = 240, in set_advertise_options()
755 .iaaddr.valid_lifetime = 240, in set_reply_options()
764 .iaprefix.valid_lifetime = 240, in set_reply_options()