Searched refs:preferred_lifetime (Results 1 – 8 of 8) sorted by relevance
/Zephyr-latest/subsys/net/lib/dhcpv6/ |
D | dhcpv6_internal.h | 93 uint32_t preferred_lifetime; member 108 uint32_t preferred_lifetime; member
|
D | dhcpv6.c | 75 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/ |
D | ipv6_pe.c | 292 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()
|
D | ipv6.h | 589 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()
|
D | icmpv6.h | 59 uint32_t preferred_lifetime; member
|
D | ipv6_nbr.c | 2345 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()
|
D | net_if.c | 1391 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/ |
D | main.c | 350 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()
|