Lines Matching refs:ia_pd
361 struct dhcpv6_ia_pd ia_pd; in verify_dhcpv6_ia_pd() local
364 ret = dhcpv6_find_ia_pd(pkt, &ia_pd); in verify_dhcpv6_ia_pd()
366 zassert_equal(ia_pd.iaid, iface->config.dhcpv6.prefix_iaid, in verify_dhcpv6_ia_pd()
368 zassert_equal(ia_pd.t1, 0, "T1 should be set to 0 by the client"); in verify_dhcpv6_ia_pd()
369 zassert_equal(ia_pd.t2, 0, "T2 should be set to 0 by the client"); in verify_dhcpv6_ia_pd()
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()