Home
last modified time | relevance | path

Searched refs:iaaddr (Results 1 – 3 of 3) sorted by relevance

/Zephyr-Core-3.7.0/subsys/net/lib/dhcpv6/
Ddhcpv6.c32 bool iaaddr : 1; member
326 ret = net_pkt_write(pkt, &ia_na->iaaddr.addr, sizeof(ia_na->iaaddr.addr)); in dhcpv6_add_option_ia_na()
331 ret = net_pkt_write_be32(pkt, ia_na->iaaddr.preferred_lifetime); in dhcpv6_add_option_ia_na()
336 ret = net_pkt_write_be32(pkt, ia_na->iaaddr.valid_lifetime); in dhcpv6_add_option_ia_na()
453 if (options->iaaddr) { in dhcpv6_calculate_message_size()
519 if (options->iaaddr) { in dhcpv6_add_options()
520 memcpy(&ia_na.iaaddr.addr, &iface->config.dhcpv6.addr, in dhcpv6_add_options()
521 sizeof(ia_na.iaaddr.addr)); in dhcpv6_add_options()
524 ret = dhcpv6_add_option_ia_na(pkt, &ia_na, options->iaaddr); in dhcpv6_add_options()
677 .iaaddr = iface->config.dhcpv6.params.request_addr, in dhcpv6_send_renew()
[all …]
Ddhcpv6_internal.h104 struct dhcpv6_iaaddr iaaddr; member
/Zephyr-Core-3.7.0/tests/net/dhcpv6/src/
Dmain.c344 zassert_equal(ia_na.iaaddr.status, DHCPV6_STATUS_NO_ADDR_AVAIL, in verify_dhcpv6_ia_na()
349 zassert_equal(ia_na.iaaddr.status, DHCPV6_STATUS_SUCCESS, "Invalid status"); in verify_dhcpv6_ia_na()
350 zassert_equal(ia_na.iaaddr.preferred_lifetime, 0, in verify_dhcpv6_ia_na()
352 zassert_equal(ia_na.iaaddr.valid_lifetime, 0, in verify_dhcpv6_ia_na()
354 zassert_mem_equal(&ia_na.iaaddr.addr, addr, sizeof(ia_na.iaaddr.addr), in verify_dhcpv6_ia_na()
651 .iaaddr.addr = test_addr, in set_advertise_options()
652 .iaaddr.preferred_lifetime = 120, in set_advertise_options()
653 .iaaddr.valid_lifetime = 240, in set_advertise_options()
753 .iaaddr.addr = test_addr, in set_reply_options()
754 .iaaddr.preferred_lifetime = 120, in set_reply_options()
[all …]