46 { |
46 { |
47 EAP_TRACE_BEGIN(m_am_tools, TRACE_FLAGS_DEFAULT); |
47 EAP_TRACE_BEGIN(m_am_tools, TRACE_FLAGS_DEFAULT); |
48 |
48 |
49 EAP_TRACE_DEBUG( |
49 EAP_TRACE_DEBUG( |
50 m_am_tools, |
50 m_am_tools, |
51 EAP_TRACE_FLAGS_MESSAGE_DATA, |
51 TRACE_FLAGS_DEFAULT, |
52 (EAPL("eap_general_settings_server_message_if_c::~eap_general_settings_server_message_if_c(): this = 0x%08x\n"), |
52 (EAPL("eap_general_settings_server_message_if_c::~eap_general_settings_server_message_if_c(): this = 0x%08x\n"), |
53 this)); |
53 this)); |
54 |
54 |
55 EAP_ASSERT(m_shutdown_was_called == true); |
55 EAP_ASSERT(m_shutdown_was_called == true); |
56 |
56 |
78 { |
78 { |
79 EAP_TRACE_BEGIN(m_am_tools, TRACE_FLAGS_DEFAULT); |
79 EAP_TRACE_BEGIN(m_am_tools, TRACE_FLAGS_DEFAULT); |
80 |
80 |
81 EAP_TRACE_DEBUG( |
81 EAP_TRACE_DEBUG( |
82 m_am_tools, |
82 m_am_tools, |
83 EAP_TRACE_FLAGS_MESSAGE_DATA, |
83 TRACE_FLAGS_DEFAULT, |
84 (EAPL("eap_general_settings_server_message_if_c::eap_general_settings_server_message_if_c(): %s, this = 0x%08x => 0x%08x, compiled %s %s.\n"), |
84 (EAPL("eap_general_settings_server_message_if_c::eap_general_settings_server_message_if_c(): %s, this = 0x%08x => 0x%08x, compiled %s %s.\n"), |
85 (m_is_client == true) ? "client": "server", |
85 (m_is_client == true) ? "client": "server", |
86 this, |
86 this, |
87 dynamic_cast<abs_eap_base_timer_c *>(this), |
87 dynamic_cast<abs_eap_base_timer_c *>(this), |
88 __DATE__, |
88 __DATE__, |
105 { |
105 { |
106 EAP_ASSERT(m_am_tools->get_global_mutex()->get_is_reserved() == true); |
106 EAP_ASSERT(m_am_tools->get_global_mutex()->get_is_reserved() == true); |
107 |
107 |
108 EAP_TRACE_DEBUG( |
108 EAP_TRACE_DEBUG( |
109 m_am_tools, |
109 m_am_tools, |
110 EAP_TRACE_FLAGS_MESSAGE_DATA, |
110 TRACE_FLAGS_DEFAULT, |
111 (EAPL("%s: eap_general_settings_server_message_if_c::configure()\n"), |
111 (EAPL("%s: eap_general_settings_server_message_if_c::configure()\n"), |
112 (m_is_client == true) ? "client": "server")); |
112 (m_is_client == true) ? "client": "server")); |
113 |
113 |
114 EAP_TRACE_RETURN_STRING_FLAGS(m_am_tools, EAP_TRACE_FLAGS_MESSAGE_DATA, "returns: eap_general_settings_server_message_if_c::configure()"); |
114 EAP_TRACE_RETURN_STRING_FLAGS(m_am_tools, TRACE_FLAGS_DEFAULT, "returns: eap_general_settings_server_message_if_c::configure()"); |
115 |
115 |
116 eap_status_e status(eap_status_process_general_error); |
116 eap_status_e status(eap_status_process_general_error); |
117 |
117 |
118 if (m_am_settings != 0) |
118 if (m_am_settings != 0) |
119 { |
119 { |
133 // |
133 // |
134 EAP_FUNC_EXPORT eap_status_e eap_general_settings_server_message_if_c::shutdown() |
134 EAP_FUNC_EXPORT eap_status_e eap_general_settings_server_message_if_c::shutdown() |
135 { |
135 { |
136 EAP_TRACE_DEBUG( |
136 EAP_TRACE_DEBUG( |
137 m_am_tools, |
137 m_am_tools, |
138 EAP_TRACE_FLAGS_MESSAGE_DATA, |
138 TRACE_FLAGS_DEFAULT, |
139 (EAPL("%s: eap_general_settings_server_message_if_c::shutdown(), m_shutdown_was_called=%d\n"), |
139 (EAPL("%s: eap_general_settings_server_message_if_c::shutdown(), m_shutdown_was_called=%d\n"), |
140 (m_is_client == true) ? "client": "server", |
140 (m_is_client == true) ? "client": "server", |
141 m_shutdown_was_called)); |
141 m_shutdown_was_called)); |
142 |
142 |
143 EAP_TRACE_RETURN_STRING_FLAGS(m_am_tools, EAP_TRACE_FLAGS_MESSAGE_DATA, "returns: eap_general_settings_server_message_if_c::shutdown()"); |
143 EAP_TRACE_RETURN_STRING_FLAGS(m_am_tools, TRACE_FLAGS_DEFAULT, "returns: eap_general_settings_server_message_if_c::shutdown()"); |
144 |
144 |
145 EAP_ASSERT(m_am_tools->get_global_mutex()->get_is_reserved() == true); |
145 EAP_ASSERT(m_am_tools->get_global_mutex()->get_is_reserved() == true); |
146 |
146 |
147 if (m_shutdown_was_called == true) |
147 if (m_shutdown_was_called == true) |
148 { |
148 { |
214 { |
214 { |
215 // Sends message data composed of Attribute-Value Pairs. |
215 // Sends message data composed of Attribute-Value Pairs. |
216 |
216 |
217 EAP_TRACE_DEBUG( |
217 EAP_TRACE_DEBUG( |
218 m_am_tools, |
218 m_am_tools, |
219 EAP_TRACE_FLAGS_MESSAGE_DATA, |
219 TRACE_FLAGS_DEFAULT, |
220 (EAPL("eap_general_settings_server_message_if_c::send_message(): this = 0x%08x => 0x%08x.\n"), |
220 (EAPL("eap_general_settings_server_message_if_c::send_message(): this = 0x%08x => 0x%08x.\n"), |
221 this, |
221 this, |
222 dynamic_cast<abs_eap_base_timer_c *>(this))); |
222 dynamic_cast<abs_eap_base_timer_c *>(this))); |
223 |
223 |
224 EAP_TRACE_DATA_DEBUG( |
224 EAP_TRACE_DATA_DEBUG( |
226 EAP_TRACE_FLAGS_NEVER, |
226 EAP_TRACE_FLAGS_NEVER, |
227 (EAPL("eap_core_client_message_if_c::send_message()"), |
227 (EAPL("eap_core_client_message_if_c::send_message()"), |
228 message->get_message_data(), |
228 message->get_message_data(), |
229 message->get_message_data_length())); |
229 message->get_message_data_length())); |
230 |
230 |
231 EAP_TRACE_RETURN_STRING_FLAGS(m_am_tools, EAP_TRACE_FLAGS_MESSAGE_DATA, "returns: eap_core_client_message_if_c::send_message()"); |
231 EAP_TRACE_RETURN_STRING_FLAGS(m_am_tools, TRACE_FLAGS_DEFAULT, "returns: eap_core_client_message_if_c::send_message()"); |
232 |
232 |
233 |
233 |
234 eap_status_e send_status = m_partner->send_data( |
234 eap_status_e send_status = m_partner->send_data( |
235 message->get_message_data(), |
235 message->get_message_data(), |
236 message->get_message_data_length()); |
236 message->get_message_data_length()); |
272 //-------------------------------------------------- |
272 //-------------------------------------------------- |
273 |
273 |
274 EAP_FUNC_EXPORT eap_status_e eap_general_settings_server_message_if_c::process_message(eap_process_tlv_message_data_c * const message) |
274 EAP_FUNC_EXPORT eap_status_e eap_general_settings_server_message_if_c::process_message(eap_process_tlv_message_data_c * const message) |
275 { |
275 { |
276 // Parses message data composed of Attribute-Value Pairs. |
276 // Parses message data composed of Attribute-Value Pairs. |
|
277 |
|
278 EAP_TRACE_DEBUG( |
|
279 m_am_tools, |
|
280 TRACE_FLAGS_DEFAULT, |
|
281 (EAPL("eap_general_settings_server_message_if_c::process_message(): this = 0x%08x => 0x%08x.\n"), |
|
282 this, |
|
283 dynamic_cast<abs_eap_base_timer_c *>(this))); |
277 |
284 |
278 EAP_TRACE_DATA_DEBUG( |
285 EAP_TRACE_DATA_DEBUG( |
279 m_am_tools, |
286 m_am_tools, |
280 EAP_TRACE_FLAGS_MESSAGE_DATA, |
287 EAP_TRACE_FLAGS_MESSAGE_DATA, |
281 (EAPL("eap_general_settings_server_message_if_c::process_message()"), |
288 (EAPL("eap_general_settings_server_message_if_c::process_message()"), |
282 message->get_message_data(), |
289 message->get_message_data(), |
283 message->get_message_data_length())); |
290 message->get_message_data_length())); |
284 |
291 |
285 EAP_TRACE_RETURN_STRING_FLAGS(m_am_tools, EAP_TRACE_FLAGS_MESSAGE_DATA, "returns: eap_general_settings_server_message_if_c::process_message()"); |
292 EAP_TRACE_RETURN_STRING_FLAGS(m_am_tools, TRACE_FLAGS_DEFAULT, "returns: eap_general_settings_server_message_if_c::process_message()"); |
286 |
293 |
287 eap_array_c<eap_tlv_header_c> parameters(m_am_tools); |
294 eap_array_c<eap_tlv_header_c> parameters(m_am_tools); |
288 |
295 |
289 eap_status_e status = message->parse_message_data(¶meters); |
296 eap_status_e status = message->parse_message_data(¶meters); |
290 if (status != eap_status_ok) |
297 if (status != eap_status_ok) |
344 status, |
351 status, |
345 eap_tlv_message_type_function_none); |
352 eap_tlv_message_type_function_none); |
346 |
353 |
347 return EAP_STATUS_RETURN(m_am_tools, status); |
354 return EAP_STATUS_RETURN(m_am_tools, status); |
348 } |
355 } |
|
356 |
|
357 EAP_TRACE_DEBUG( |
|
358 m_am_tools, |
|
359 TRACE_FLAGS_DEFAULT, |
|
360 (EAPL("eap_general_settings_server_message_if_c::process_message(): this = 0x%08x, message=%d=%s\n"), |
|
361 this, |
|
362 function, |
|
363 eap_process_tlv_message_data_c::get_function_string(function))); |
349 |
364 |
350 switch(function) |
365 switch(function) |
351 { |
366 { |
352 case eap_tlv_message_type_function_general_settings_set_eap_methods: |
367 case eap_tlv_message_type_function_general_settings_set_eap_methods: |
353 status = set_eap_methods(¶meters); |
368 status = set_eap_methods(¶meters); |
462 EAP_UNREFERENCED_PARAMETER(data); |
477 EAP_UNREFERENCED_PARAMETER(data); |
463 EAP_TRACE_BEGIN(m_am_tools, TRACE_FLAGS_DEFAULT); |
478 EAP_TRACE_BEGIN(m_am_tools, TRACE_FLAGS_DEFAULT); |
464 |
479 |
465 EAP_TRACE_DEBUG( |
480 EAP_TRACE_DEBUG( |
466 m_am_tools, |
481 m_am_tools, |
467 EAP_TRACE_FLAGS_MESSAGE_DATA, |
482 TRACE_FLAGS_DEFAULT, |
468 (EAPL("TIMER: %s: [0x%08x]->eap_general_settings_server_message_if_c::timer_expired(id 0x%02x, data 0x%08x).\n"), |
483 (EAPL("TIMER: %s: [0x%08x]->eap_general_settings_server_message_if_c::timer_expired(id 0x%02x, data 0x%08x).\n"), |
469 (m_is_client == true) ? "client": "server", |
484 (m_is_client == true) ? "client": "server", |
470 this, |
485 this, |
471 id, |
486 id, |
472 data)); |
487 data)); |
473 |
488 |
474 EAP_TRACE_RETURN_STRING_FLAGS(m_am_tools, EAP_TRACE_FLAGS_MESSAGE_DATA, "returns: eap_general_settings_server_message_if_c::timer_expired()"); |
489 EAP_TRACE_RETURN_STRING_FLAGS(m_am_tools, TRACE_FLAGS_DEFAULT, "returns: eap_general_settings_server_message_if_c::timer_expired()"); |
475 |
490 |
476 |
491 |
477 return EAP_STATUS_RETURN(m_am_tools, eap_status_ok); |
492 return EAP_STATUS_RETURN(m_am_tools, eap_status_ok); |
478 } |
493 } |
479 |
494 |
487 EAP_UNREFERENCED_PARAMETER(data); |
502 EAP_UNREFERENCED_PARAMETER(data); |
488 EAP_TRACE_BEGIN(m_am_tools, TRACE_FLAGS_DEFAULT); |
503 EAP_TRACE_BEGIN(m_am_tools, TRACE_FLAGS_DEFAULT); |
489 |
504 |
490 EAP_TRACE_DEBUG( |
505 EAP_TRACE_DEBUG( |
491 m_am_tools, |
506 m_am_tools, |
492 EAP_TRACE_FLAGS_MESSAGE_DATA, |
507 TRACE_FLAGS_DEFAULT, |
493 (EAPL("TIMER: %s: [0x%08x]->eap_general_settings_server_message_if_c::timer_delete_data(id 0x%02x, data 0x%08x).\n"), |
508 (EAPL("TIMER: %s: [0x%08x]->eap_general_settings_server_message_if_c::timer_delete_data(id 0x%02x, data 0x%08x).\n"), |
494 (m_is_client == true) ? "client": "server", |
509 (m_is_client == true) ? "client": "server", |
495 this, id, data)); |
510 this, id, data)); |
496 |
511 |
497 EAP_TRACE_RETURN_STRING_FLAGS(m_am_tools, EAP_TRACE_FLAGS_MESSAGE_DATA, "returns: eap_general_settings_server_message_if_c::timer_delete_data()"); |
512 EAP_TRACE_RETURN_STRING_FLAGS(m_am_tools, TRACE_FLAGS_DEFAULT, "returns: eap_general_settings_server_message_if_c::timer_delete_data()"); |
498 |
513 |
499 return EAP_STATUS_RETURN(m_am_tools, eap_status_ok); |
514 return EAP_STATUS_RETURN(m_am_tools, eap_status_ok); |
500 } |
515 } |
501 |
516 |
502 //-------------------------------------------------- |
517 //-------------------------------------------------- |
506 { |
521 { |
507 EAP_TRACE_BEGIN(m_am_tools, TRACE_FLAGS_DEFAULT); |
522 EAP_TRACE_BEGIN(m_am_tools, TRACE_FLAGS_DEFAULT); |
508 |
523 |
509 EAP_TRACE_DEBUG( |
524 EAP_TRACE_DEBUG( |
510 m_am_tools, |
525 m_am_tools, |
511 EAP_TRACE_FLAGS_MESSAGE_DATA, |
526 TRACE_FLAGS_DEFAULT, |
512 (EAPL("%s: eap_general_settings_server_message_if_c::set_eap_methods()\n"), |
527 (EAPL("%s: eap_general_settings_server_message_if_c::set_eap_methods()\n"), |
513 (m_is_client == true) ? "client": "server")); |
528 (m_is_client == true) ? "client": "server")); |
514 |
529 |
515 EAP_TRACE_RETURN_STRING_FLAGS(m_am_tools, EAP_TRACE_FLAGS_MESSAGE_DATA, "returns: eap_general_settings_server_message_if_c::set_eap_methods()"); |
530 EAP_TRACE_RETURN_STRING_FLAGS(m_am_tools, TRACE_FLAGS_DEFAULT, "returns: eap_general_settings_server_message_if_c::set_eap_methods()"); |
516 |
531 |
517 // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
532 // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
518 |
533 |
519 eap_status_e status(eap_status_ok); |
534 eap_status_e status(eap_status_ok); |
520 |
535 |
558 { |
573 { |
559 EAP_TRACE_BEGIN(m_am_tools, TRACE_FLAGS_DEFAULT); |
574 EAP_TRACE_BEGIN(m_am_tools, TRACE_FLAGS_DEFAULT); |
560 |
575 |
561 EAP_TRACE_DEBUG( |
576 EAP_TRACE_DEBUG( |
562 m_am_tools, |
577 m_am_tools, |
563 EAP_TRACE_FLAGS_MESSAGE_DATA, |
578 TRACE_FLAGS_DEFAULT, |
564 (EAPL("%s: eap_general_settings_server_message_if_c::get_eap_methods()\n"), |
579 (EAPL("%s: eap_general_settings_server_message_if_c::get_eap_methods()\n"), |
565 (m_is_client == true) ? "client": "server")); |
580 (m_is_client == true) ? "client": "server")); |
566 |
581 |
567 EAP_TRACE_RETURN_STRING_FLAGS(m_am_tools, EAP_TRACE_FLAGS_MESSAGE_DATA, "returns: eap_general_settings_server_message_if_c::get_eap_methods()"); |
582 EAP_TRACE_RETURN_STRING_FLAGS(m_am_tools, TRACE_FLAGS_DEFAULT, "returns: eap_general_settings_server_message_if_c::get_eap_methods()"); |
568 |
583 |
569 // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
584 // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
570 |
585 |
571 eap_status_e status(eap_status_ok); |
586 eap_status_e status(eap_status_ok); |
572 |
587 |
610 { |
625 { |
611 EAP_TRACE_BEGIN(m_am_tools, TRACE_FLAGS_DEFAULT); |
626 EAP_TRACE_BEGIN(m_am_tools, TRACE_FLAGS_DEFAULT); |
612 |
627 |
613 EAP_TRACE_DEBUG( |
628 EAP_TRACE_DEBUG( |
614 m_am_tools, |
629 m_am_tools, |
615 EAP_TRACE_FLAGS_MESSAGE_DATA, |
630 TRACE_FLAGS_DEFAULT, |
616 (EAPL("%s: eap_general_settings_server_message_if_c::get_certificate_lists()\n"), |
631 (EAPL("%s: eap_general_settings_server_message_if_c::get_certificate_lists()\n"), |
617 (m_is_client == true) ? "client": "server")); |
632 (m_is_client == true) ? "client": "server")); |
618 |
633 |
619 EAP_TRACE_RETURN_STRING_FLAGS(m_am_tools, EAP_TRACE_FLAGS_MESSAGE_DATA, "returns: eap_general_settings_server_message_if_c::get_certificate_lists()"); |
634 EAP_TRACE_RETURN_STRING_FLAGS(m_am_tools, TRACE_FLAGS_DEFAULT, "returns: eap_general_settings_server_message_if_c::get_certificate_lists()"); |
620 |
635 |
621 // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
636 // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
622 |
637 |
623 eap_status_e status(eap_status_ok); |
638 eap_status_e status(eap_status_ok); |
624 |
639 |
662 { |
677 { |
663 EAP_TRACE_BEGIN(m_am_tools, TRACE_FLAGS_DEFAULT); |
678 EAP_TRACE_BEGIN(m_am_tools, TRACE_FLAGS_DEFAULT); |
664 |
679 |
665 EAP_TRACE_DEBUG( |
680 EAP_TRACE_DEBUG( |
666 m_am_tools, |
681 m_am_tools, |
667 EAP_TRACE_FLAGS_MESSAGE_DATA, |
682 TRACE_FLAGS_DEFAULT, |
668 (EAPL("%s: eap_general_settings_server_message_if_c::get_certificate_lists()\n"), |
683 (EAPL("%s: eap_general_settings_server_message_if_c::get_certificate_lists()\n"), |
669 (m_is_client == true) ? "client": "server")); |
684 (m_is_client == true) ? "client": "server")); |
670 |
685 |
671 EAP_TRACE_RETURN_STRING_FLAGS(m_am_tools, EAP_TRACE_FLAGS_MESSAGE_DATA, "returns: eap_general_settings_server_message_if_c::delete_all_eap_settings()"); |
686 EAP_TRACE_RETURN_STRING_FLAGS(m_am_tools, TRACE_FLAGS_DEFAULT, "returns: eap_general_settings_server_message_if_c::delete_all_eap_settings()"); |
672 |
687 |
673 // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
688 // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
674 |
689 |
675 eap_status_e status(eap_status_ok); |
690 eap_status_e status(eap_status_ok); |
676 |
691 |
714 { |
729 { |
715 EAP_TRACE_BEGIN(m_am_tools, TRACE_FLAGS_DEFAULT); |
730 EAP_TRACE_BEGIN(m_am_tools, TRACE_FLAGS_DEFAULT); |
716 |
731 |
717 EAP_TRACE_DEBUG( |
732 EAP_TRACE_DEBUG( |
718 m_am_tools, |
733 m_am_tools, |
719 EAP_TRACE_FLAGS_MESSAGE_DATA, |
734 TRACE_FLAGS_DEFAULT, |
720 (EAPL("%s: eap_general_settings_server_message_if_c::get_certificate_lists()\n"), |
735 (EAPL("%s: eap_general_settings_server_message_if_c::get_certificate_lists()\n"), |
721 (m_is_client == true) ? "client": "server")); |
736 (m_is_client == true) ? "client": "server")); |
722 |
737 |
723 EAP_TRACE_RETURN_STRING_FLAGS(m_am_tools, EAP_TRACE_FLAGS_MESSAGE_DATA, "returns: eap_general_settings_server_message_if_c::copy_all_eap_settings()"); |
738 EAP_TRACE_RETURN_STRING_FLAGS(m_am_tools, TRACE_FLAGS_DEFAULT, "returns: eap_general_settings_server_message_if_c::copy_all_eap_settings()"); |
724 |
739 |
725 // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
740 // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
726 |
741 |
727 eap_status_e status(eap_status_ok); |
742 eap_status_e status(eap_status_ok); |
728 |
743 |
765 { |
780 { |
766 eap_status_e status(eap_status_process_general_error); |
781 eap_status_e status(eap_status_process_general_error); |
767 |
782 |
768 EAP_TRACE_DEBUG( |
783 EAP_TRACE_DEBUG( |
769 m_am_tools, |
784 m_am_tools, |
770 EAP_TRACE_FLAGS_MESSAGE_DATA, |
785 TRACE_FLAGS_DEFAULT, |
771 (EAPL("%s: eap_core_server_message_if_c::complete_set_eap_methods()\n"), |
786 (EAPL("%s: eap_core_server_message_if_c::complete_set_eap_methods()\n"), |
772 (m_is_client == true) ? "client": "server")); |
787 (m_is_client == true) ? "client": "server")); |
773 |
788 |
774 EAP_TRACE_RETURN_STRING_FLAGS(m_am_tools, EAP_TRACE_FLAGS_MESSAGE_DATA, "returns: eap_core_server_message_if_c::complete_set_eap_methods()"); |
789 EAP_TRACE_RETURN_STRING_FLAGS(m_am_tools, TRACE_FLAGS_DEFAULT, "returns: eap_core_server_message_if_c::complete_set_eap_methods()"); |
775 |
790 |
776 { |
791 { |
777 // Creates message data composed of Attribute-Value Pairs. |
792 // Creates message data composed of Attribute-Value Pairs. |
778 eap_process_tlv_message_data_c message(m_am_tools); |
793 eap_process_tlv_message_data_c message(m_am_tools); |
779 |
794 |
810 { |
825 { |
811 eap_status_e status(eap_status_process_general_error); |
826 eap_status_e status(eap_status_process_general_error); |
812 |
827 |
813 EAP_TRACE_DEBUG( |
828 EAP_TRACE_DEBUG( |
814 m_am_tools, |
829 m_am_tools, |
815 EAP_TRACE_FLAGS_MESSAGE_DATA, |
830 TRACE_FLAGS_DEFAULT, |
816 (EAPL("%s: eap_core_server_message_if_c::complete_get_eap_methods()\n"), |
831 (EAPL("%s: eap_core_server_message_if_c::complete_get_eap_methods()\n"), |
817 (m_is_client == true) ? "client": "server")); |
832 (m_is_client == true) ? "client": "server")); |
818 |
833 |
819 EAP_TRACE_RETURN_STRING_FLAGS(m_am_tools, EAP_TRACE_FLAGS_MESSAGE_DATA, "returns: eap_core_server_message_if_c::complete_get_eap_methods()"); |
834 EAP_TRACE_RETURN_STRING_FLAGS(m_am_tools, TRACE_FLAGS_DEFAULT, "returns: eap_core_server_message_if_c::complete_get_eap_methods()"); |
820 |
835 |
821 { |
836 { |
822 // Creates message data composed of Attribute-Value Pairs. |
837 // Creates message data composed of Attribute-Value Pairs. |
823 eap_process_tlv_message_data_c message(m_am_tools); |
838 eap_process_tlv_message_data_c message(m_am_tools); |
824 |
839 |
855 { |
870 { |
856 eap_status_e status(eap_status_process_general_error); |
871 eap_status_e status(eap_status_process_general_error); |
857 |
872 |
858 EAP_TRACE_DEBUG( |
873 EAP_TRACE_DEBUG( |
859 m_am_tools, |
874 m_am_tools, |
860 EAP_TRACE_FLAGS_MESSAGE_DATA, |
875 TRACE_FLAGS_DEFAULT, |
861 (EAPL("%s: eap_core_server_message_if_c::complete_get_certificate_lists()\n"), |
876 (EAPL("%s: eap_core_server_message_if_c::complete_get_certificate_lists()\n"), |
862 (m_is_client == true) ? "client": "server")); |
877 (m_is_client == true) ? "client": "server")); |
863 |
878 |
864 EAP_TRACE_RETURN_STRING_FLAGS(m_am_tools, EAP_TRACE_FLAGS_MESSAGE_DATA, "returns: eap_core_server_message_if_c::complete_get_certificate_lists()"); |
879 EAP_TRACE_RETURN_STRING_FLAGS(m_am_tools, TRACE_FLAGS_DEFAULT, "returns: eap_core_server_message_if_c::complete_get_certificate_lists()"); |
865 |
880 |
866 { |
881 { |
867 // Creates message data composed of Attribute-Value Pairs. |
882 // Creates message data composed of Attribute-Value Pairs. |
868 eap_process_tlv_message_data_c message(m_am_tools); |
883 eap_process_tlv_message_data_c message(m_am_tools); |
869 |
884 |
900 { |
915 { |
901 eap_status_e status(eap_status_process_general_error); |
916 eap_status_e status(eap_status_process_general_error); |
902 |
917 |
903 EAP_TRACE_DEBUG( |
918 EAP_TRACE_DEBUG( |
904 m_am_tools, |
919 m_am_tools, |
905 EAP_TRACE_FLAGS_MESSAGE_DATA, |
920 TRACE_FLAGS_DEFAULT, |
906 (EAPL("%s: eap_core_server_message_if_c::complete_delete_all_eap_settings()\n"), |
921 (EAPL("%s: eap_core_server_message_if_c::complete_delete_all_eap_settings()\n"), |
907 (m_is_client == true) ? "client": "server")); |
922 (m_is_client == true) ? "client": "server")); |
908 |
923 |
909 EAP_TRACE_RETURN_STRING_FLAGS(m_am_tools, EAP_TRACE_FLAGS_MESSAGE_DATA, "returns: eap_core_server_message_if_c::complete_delete_all_eap_settings()"); |
924 EAP_TRACE_RETURN_STRING_FLAGS(m_am_tools, TRACE_FLAGS_DEFAULT, "returns: eap_core_server_message_if_c::complete_delete_all_eap_settings()"); |
910 |
925 |
911 { |
926 { |
912 // Creates message data composed of Attribute-Value Pairs. |
927 // Creates message data composed of Attribute-Value Pairs. |
913 eap_process_tlv_message_data_c message(m_am_tools); |
928 eap_process_tlv_message_data_c message(m_am_tools); |
914 |
929 |
945 { |
960 { |
946 eap_status_e status(eap_status_process_general_error); |
961 eap_status_e status(eap_status_process_general_error); |
947 |
962 |
948 EAP_TRACE_DEBUG( |
963 EAP_TRACE_DEBUG( |
949 m_am_tools, |
964 m_am_tools, |
950 EAP_TRACE_FLAGS_MESSAGE_DATA, |
965 TRACE_FLAGS_DEFAULT, |
951 (EAPL("%s: eap_core_server_message_if_c::complete_copy_all_eap_settings()\n"), |
966 (EAPL("%s: eap_core_server_message_if_c::complete_copy_all_eap_settings()\n"), |
952 (m_is_client == true) ? "client": "server")); |
967 (m_is_client == true) ? "client": "server")); |
953 |
968 |
954 EAP_TRACE_RETURN_STRING_FLAGS(m_am_tools, EAP_TRACE_FLAGS_MESSAGE_DATA, "returns: eap_core_server_message_if_c::complete_copy_all_eap_settings()"); |
969 EAP_TRACE_RETURN_STRING_FLAGS(m_am_tools, TRACE_FLAGS_DEFAULT, "returns: eap_core_server_message_if_c::complete_copy_all_eap_settings()"); |
955 |
970 |
956 { |
971 { |
957 // Creates message data composed of Attribute-Value Pairs. |
972 // Creates message data composed of Attribute-Value Pairs. |
958 eap_process_tlv_message_data_c message(m_am_tools); |
973 eap_process_tlv_message_data_c message(m_am_tools); |
959 |
974 |