Lines Matching refs:clientid

30 	bool clientid : 1;  member
230 struct net_dhcpv6_duid_storage *clientid) in dhcpv6_add_option_clientid() argument
235 clientid->length); in dhcpv6_add_option_clientid()
240 ret = net_pkt_write(pkt, &clientid->duid, clientid->length); in dhcpv6_add_option_clientid()
435 if (options->clientid) { in dhcpv6_calculate_message_size()
492 if (options->clientid) { in dhcpv6_add_options()
494 pkt, &iface->config.dhcpv6.clientid); in dhcpv6_add_options()
624 .clientid = true, in dhcpv6_send_solicit()
649 .clientid = true, in dhcpv6_send_request()
675 .clientid = true, in dhcpv6_send_renew()
703 .clientid = true, in dhcpv6_send_rebind()
730 .clientid = true, in dhcpv6_send_confirm()
752 struct net_dhcpv6_duid_storage *clientid) in dhcpv6_parse_option_clientid() argument
767 clientid->length = length; in dhcpv6_parse_option_clientid()
768 memcpy(&clientid->duid, &duid, length); in dhcpv6_parse_option_clientid()
1208 struct net_dhcpv6_duid_storage *clientid) in dhcpv6_find_clientid() argument
1218 ret = dhcpv6_parse_option_clientid(pkt, length, clientid); in dhcpv6_find_clientid()
1468 if (iface->config.dhcpv6.clientid.length != duid.length || in dhcpv6_handle_advertise()
1469 memcmp(&iface->config.dhcpv6.clientid.duid, &duid.duid, in dhcpv6_handle_advertise()
1470 iface->config.dhcpv6.clientid.length) != 0) { in dhcpv6_handle_advertise()
1589 if (iface->config.dhcpv6.clientid.length != duid.length || in dhcpv6_handle_reply()
1590 memcmp(&iface->config.dhcpv6.clientid.duid, &duid.duid, in dhcpv6_handle_reply()
1591 iface->config.dhcpv6.clientid.length) != 0) { in dhcpv6_handle_reply()
2111 struct net_dhcpv6_duid_storage *clientid = &iface->config.dhcpv6.clientid; in dhcpv6_generate_client_duid() local
2113 (struct dhcpv6_duid_ll *)&clientid->duid.buf; in dhcpv6_generate_client_duid()
2115 memset(clientid, 0, sizeof(*clientid)); in dhcpv6_generate_client_duid()
2117 UNALIGNED_PUT(htons(DHCPV6_DUID_TYPE_LL), &clientid->duid.type); in dhcpv6_generate_client_duid()
2121 clientid->length = DHCPV6_DUID_LL_HEADER_SIZE + lladdr->len; in dhcpv6_generate_client_duid()