Lines Matching refs:optlen
565 size_t *optlen, in client_append_common_options_in_managed_mode() argument
578 assert(optlen); in client_append_common_options_in_managed_mode()
581 r = dhcp6_option_append_ia(opt, optlen, ia_na); in client_append_common_options_in_managed_mode()
587 r = dhcp6_option_append_ia(opt, optlen, ia_pd); in client_append_common_options_in_managed_mode()
593 r = dhcp6_option_append_fqdn(opt, optlen, client->fqdn); in client_append_common_options_in_managed_mode()
599 r = dhcp6_option_append_user_class(opt, optlen, client->user_class); in client_append_common_options_in_managed_mode()
605 r = dhcp6_option_append_vendor_class(opt, optlen, client->vendor_class); in client_append_common_options_in_managed_mode()
611 r = dhcp6_option_append_vendor_option(opt, optlen, client->vendor_options); in client_append_common_options_in_managed_mode()
638 static int client_append_oro(sd_dhcp6_client *client, uint8_t **opt, size_t *optlen) { in client_append_oro() argument
645 assert(optlen); in client_append_oro()
680 return dhcp6_option_append(opt, optlen, SD_DHCP6_OPTION_ORO, n * sizeof(be16_t), req_opts); in client_append_oro()
688 size_t len, optlen = 512; in dhcp6_client_send_message() local
701 len = sizeof(DHCP6Message) + optlen; in dhcp6_client_send_message()
717 r = dhcp6_option_append(&opt, &optlen, SD_DHCP6_OPTION_RAPID_COMMIT, 0, NULL); in dhcp6_client_send_message()
721 r = client_append_common_options_in_managed_mode(client, &opt, &optlen, in dhcp6_client_send_message()
730 r = dhcp6_option_append(&opt, &optlen, SD_DHCP6_OPTION_SERVERID, in dhcp6_client_send_message()
741 r = client_append_common_options_in_managed_mode(client, &opt, &optlen, in dhcp6_client_send_message()
754 r = dhcp6_option_append(&opt, &optlen, SD_DHCP6_OPTION_MUD_URL_V6, in dhcp6_client_send_message()
760 r = client_append_oro(client, &opt, &optlen); in dhcp6_client_send_message()
765 r = dhcp6_option_append(&opt, &optlen, SD_DHCP6_OPTION_CLIENTID, in dhcp6_client_send_message()
771 r = dhcp6_option_append(&opt, &optlen, j->option, j->length, j->data); in dhcp6_client_send_message()
781 …r = dhcp6_option_append(&opt, &optlen, SD_DHCP6_OPTION_ELAPSED_TIME, sizeof(elapsed_time), &elapse… in dhcp6_client_send_message()
786 len - optlen); in dhcp6_client_send_message()