Home
last modified time | relevance | path

Searched refs:preferred_lifetime (Results 1 – 8 of 8) sorted by relevance

/Zephyr-latest/subsys/net/lib/dhcpv6/
Ddhcpv6_internal.h93 uint32_t preferred_lifetime; member
108 uint32_t preferred_lifetime; member
Ddhcpv6.c75 uint32_t preferred_lifetime, in dhcvp6_update_deadlines() argument
86 if (preferred_lifetime == DHCPV6_INFINITY) { in dhcvp6_update_deadlines()
90 t1 = preferred_lifetime * 0.5; in dhcvp6_update_deadlines()
91 t2 = preferred_lifetime * 0.8; in dhcvp6_update_deadlines()
333 ret = net_pkt_write_be32(pkt, ia_na->iaaddr.preferred_lifetime); in dhcpv6_add_option_ia_na()
388 ret = net_pkt_write_be32(pkt, ia_pd->iaprefix.preferred_lifetime); in dhcpv6_add_option_ia_pd()
850 ret = net_pkt_read_be32(pkt, &iaaddr->preferred_lifetime); in dhcpv6_parse_option_iaaddr()
863 if (iaaddr->preferred_lifetime > iaaddr->valid_lifetime) { in dhcpv6_parse_option_iaaddr()
868 net_sprint_ipv6_addr(&iaaddr->addr), iaaddr->preferred_lifetime, in dhcpv6_parse_option_iaaddr()
1016 ret = net_pkt_read_be32(pkt, &iaprefix->preferred_lifetime); in dhcpv6_parse_option_iaprefix()
[all …]
/Zephyr-latest/subsys/net/ip/
Dipv6_pe.c292 uint32_t vlifetime, uint32_t preferred_lifetime) in net_ipv6_pe_start() argument
337 preferred_lifetime = MIN(preferred_lifetime, in net_ipv6_pe_start()
340 if (preferred_lifetime == 0 || in net_ipv6_pe_start()
341 preferred_lifetime <= REGEN_ADVANCE(ipv6->retrans_timer, 1U)) { in net_ipv6_pe_start()
343 "created for prefix %s/64", preferred_lifetime, in net_ipv6_pe_start()
407 ifaddr->addr_preferred_lifetime = preferred_lifetime; in net_ipv6_pe_start()
Dipv6.h589 uint32_t vlifetime, uint32_t preferred_lifetime);
595 uint32_t preferred_lifetime) in net_ipv6_pe_start() argument
600 ARG_UNUSED(preferred_lifetime); in net_ipv6_pe_start()
Dicmpv6.h59 uint32_t preferred_lifetime; member
Dipv6_nbr.c2345 prefix_info->preferred_lifetime); in handle_prefix_autonomous()
2354 uint32_t valid_lifetime, preferred_lifetime; in handle_ra_prefix() local
2365 preferred_lifetime = ntohl(pfx_info->preferred_lifetime); in handle_ra_prefix()
2367 if (valid_lifetime >= preferred_lifetime && in handle_ra_prefix()
Dnet_if.c1391 uint32_t timeout, preferred_lifetime; in net_if_ipv6_dad_failed() local
1409 preferred_lifetime = COND_CODE_1(CONFIG_NET_IPV6_PE, in net_if_ipv6_dad_failed()
1431 net_ipv6_pe_start(iface, addr, timeout, preferred_lifetime); in net_if_ipv6_dad_failed()
/Zephyr-latest/tests/net/dhcpv6/src/
Dmain.c350 zassert_equal(ia_na.iaaddr.preferred_lifetime, 0, in verify_dhcpv6_ia_na()
378 zassert_equal(ia_pd.iaprefix.preferred_lifetime, 0, in verify_dhcpv6_ia_pd()
652 .iaaddr.preferred_lifetime = 120, in set_advertise_options()
661 .iaprefix.preferred_lifetime = 120, in set_advertise_options()
754 .iaaddr.preferred_lifetime = 120, in set_reply_options()
763 .iaprefix.preferred_lifetime = 120, in set_reply_options()