Lines Matching refs:duid

107 				(struct dhcpv6_duid_ll *)&serverid->duid.buf;  in generate_fake_server_duid()
112 UNALIGNED_PUT(htons(DHCPV6_DUID_TYPE_LL), &serverid->duid.type); in generate_fake_server_duid()
275 struct net_dhcpv6_duid_storage duid; in verify_dhcpv6_clientid() local
278 ret = dhcpv6_find_clientid(pkt, &duid); in verify_dhcpv6_clientid()
280 zassert_equal(duid.length, iface->config.dhcpv6.clientid.length, in verify_dhcpv6_clientid()
282 zassert_mem_equal(&duid.duid, &iface->config.dhcpv6.clientid.duid, in verify_dhcpv6_clientid()
283 duid.length, "Invalid Client ID value"); in verify_dhcpv6_clientid()
288 struct net_dhcpv6_duid_storage duid; in verify_dhcpv6_serverid() local
291 ret = dhcpv6_find_serverid(pkt, &duid); in verify_dhcpv6_serverid()
293 zassert_equal(duid.length, iface->config.dhcpv6.serverid.length, in verify_dhcpv6_serverid()
295 zassert_mem_equal(&duid.duid, &iface->config.dhcpv6.serverid.duid, in verify_dhcpv6_serverid()
296 duid.length, "Invalid Server ID value"); in verify_dhcpv6_serverid()
301 struct net_dhcpv6_duid_storage duid; in verify_dhcpv6_no_serverid() local
304 ret = dhcpv6_find_serverid(pkt, &duid); in verify_dhcpv6_no_serverid()
731 zassert_mem_equal(&test_ctx.iface->config.dhcpv6.serverid.duid, in ZTEST()
732 &test_serverid.duid, test_serverid.length, in ZTEST()
947 zassert_mem_equal(&test_serverid.duid, &iface->config.dhcpv6.serverid.duid, in test_solicit_expect_solicit_send_advertise()
1067 zassert_mem_equal(&test_serverid.duid, &iface->config.dhcpv6.serverid.duid, in test_confirm_expect_confirm_send_reply()
1136 zassert_mem_equal(&test_serverid.duid, &iface->config.dhcpv6.serverid.duid, in test_rebind_expect_rebind_send_reply()
1210 zassert_mem_equal(&test_serverid.duid, &iface->config.dhcpv6.serverid.duid, in test_renew_expect_renew_send_reply()