Searched refs:duid (Results 1 – 3 of 3) sorted by relevance
/Zephyr-latest/tests/net/dhcpv6/src/ |
D | main.c | 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() [all …]
|
/Zephyr-latest/subsys/net/lib/dhcpv6/ |
D | dhcpv6.c | 240 ret = net_pkt_write(pkt, &clientid->duid, clientid->length); in dhcpv6_add_option_clientid() 256 ret = net_pkt_write(pkt, &serverid->duid, serverid->length); in dhcpv6_add_option_serverid() 754 struct net_dhcpv6_duid_raw duid; in dhcpv6_parse_option_clientid() local 762 ret = net_pkt_read(pkt, &duid, length); in dhcpv6_parse_option_clientid() 768 memcpy(&clientid->duid, &duid, length); in dhcpv6_parse_option_clientid() 776 struct net_dhcpv6_duid_raw duid; in dhcpv6_parse_option_serverid() local 784 ret = net_pkt_read(pkt, &duid, length); in dhcpv6_parse_option_serverid() 790 memcpy(&serverid->duid, &duid, length); in dhcpv6_parse_option_serverid() 1450 struct net_dhcpv6_duid_storage duid = { 0 }; in dhcpv6_handle_advertise() local 1462 ret = dhcpv6_find_clientid(pkt, &duid); in dhcpv6_handle_advertise() [all …]
|
/Zephyr-latest/include/zephyr/net/ |
D | dhcpv6.h | 54 struct net_dhcpv6_duid_raw duid; member
|