Lines Matching refs:test_serverid
21 static struct net_dhcpv6_duid_storage test_serverid; variable
105 struct net_dhcpv6_duid_storage *serverid = &test_serverid; in generate_fake_server_duid()
121 memcpy(&iface->config.dhcpv6.serverid, &test_serverid, in set_fake_server_duid()
122 sizeof(test_serverid)); in set_fake_server_duid()
604 ret = dhcpv6_add_option_serverid(pkt, &test_serverid); in set_generic_client_options()
671 ret = dhcpv6_add_option_serverid(pkt, &test_serverid); in set_advertise_options()
730 test_serverid.length, "Invalid Server ID length"); in ZTEST()
732 &test_serverid.duid, test_serverid.length, in ZTEST()
773 ret = dhcpv6_add_option_serverid(pkt, &test_serverid); in set_reply_options()
945 zassert_equal(test_serverid.length, iface->config.dhcpv6.serverid.length, in test_solicit_expect_solicit_send_advertise()
947 zassert_mem_equal(&test_serverid.duid, &iface->config.dhcpv6.serverid.duid, in test_solicit_expect_solicit_send_advertise()
948 test_serverid.length, "Invalid Server ID value"); in test_solicit_expect_solicit_send_advertise()
1065 zassert_equal(test_serverid.length, iface->config.dhcpv6.serverid.length, in test_confirm_expect_confirm_send_reply()
1067 zassert_mem_equal(&test_serverid.duid, &iface->config.dhcpv6.serverid.duid, in test_confirm_expect_confirm_send_reply()
1068 test_serverid.length, "Invalid Server ID value"); in test_confirm_expect_confirm_send_reply()
1134 zassert_equal(test_serverid.length, iface->config.dhcpv6.serverid.length, in test_rebind_expect_rebind_send_reply()
1136 zassert_mem_equal(&test_serverid.duid, &iface->config.dhcpv6.serverid.duid, in test_rebind_expect_rebind_send_reply()
1137 test_serverid.length, "Invalid Server ID value"); in test_rebind_expect_rebind_send_reply()
1208 zassert_equal(test_serverid.length, iface->config.dhcpv6.serverid.length, in test_renew_expect_renew_send_reply()
1210 zassert_mem_equal(&test_serverid.duid, &iface->config.dhcpv6.serverid.duid, in test_renew_expect_renew_send_reply()
1211 test_serverid.length, "Invalid Server ID value"); in test_renew_expect_renew_send_reply()