Searched refs:iaprefix (Results 1 – 3 of 3) sorted by relevance
/Zephyr-Core-3.7.0/subsys/net/lib/dhcpv6/ |
D | dhcpv6.c | 34 bool iaprefix : 1; member 386 ret = net_pkt_write_be32(pkt, ia_pd->iaprefix.preferred_lifetime); in dhcpv6_add_option_ia_pd() 391 ret = net_pkt_write_be32(pkt, ia_pd->iaprefix.valid_lifetime); in dhcpv6_add_option_ia_pd() 396 ret = net_pkt_write_u8(pkt, ia_pd->iaprefix.prefix_len); in dhcpv6_add_option_ia_pd() 401 ret = net_pkt_write(pkt, &ia_pd->iaprefix.prefix, in dhcpv6_add_option_ia_pd() 402 sizeof(ia_pd->iaprefix.prefix)); in dhcpv6_add_option_ia_pd() 463 if (options->iaprefix) { in dhcpv6_calculate_message_size() 535 if (options->iaprefix) { in dhcpv6_add_options() 536 memcpy(&ia_pd.iaprefix.prefix, &iface->config.dhcpv6.prefix, in dhcpv6_add_options() 537 sizeof(ia_pd.iaprefix.prefix)); in dhcpv6_add_options() [all …]
|
D | dhcpv6_internal.h | 120 struct dhcpv6_iaprefix iaprefix; member
|
/Zephyr-Core-3.7.0/tests/net/dhcpv6/src/ |
D | main.c | 372 zassert_equal(ia_pd.iaprefix.status, DHCPV6_STATUS_NO_PREFIX_AVAIL, in verify_dhcpv6_ia_pd() 377 zassert_equal(ia_pd.iaprefix.status, DHCPV6_STATUS_SUCCESS, "Invalid status"); in verify_dhcpv6_ia_pd() 378 zassert_equal(ia_pd.iaprefix.preferred_lifetime, 0, in verify_dhcpv6_ia_pd() 380 zassert_equal(ia_pd.iaprefix.valid_lifetime, 0, in verify_dhcpv6_ia_pd() 382 zassert_equal(ia_pd.iaprefix.prefix_len, prefix_len, in verify_dhcpv6_ia_pd() 384 zassert_mem_equal(&ia_pd.iaprefix.prefix, prefix, in verify_dhcpv6_ia_pd() 385 sizeof(ia_pd.iaprefix.prefix), "Incorrect prefix"); in verify_dhcpv6_ia_pd() 659 .iaprefix.prefix = test_prefix, in set_advertise_options() 660 .iaprefix.prefix_len = test_prefix_len, in set_advertise_options() 661 .iaprefix.preferred_lifetime = 120, in set_advertise_options() [all …]
|