Kannel: Open Source WAP and SMS gateway  $Revision: 5037 $
wtls_state-decl.h File Reference

Go to the source code of this file.

Functions

 ROW (NULL_STATE, T_Unitdata_Ind, packet_contains_clienthello(event->u.T_Unitdata_Ind.pdu_list),{clientHello(event, wtls_machine);}, CREATING) ROW(NULL_STATE
 
 error (0,"send_alert ~> Critical alert (unexpected_message), while waiting for client hello.")
 
 wtls_dispatch_event (alert)
 
CREATING ROW (CREATING, SEC_Terminate_Req, 1,{send_alert(event, wtls_machine);}, NULL_STATE) ROW(CREATING
 
CREATING CREATING ROW (CREATING, SEC_Create_Res, 1,{serverHello(event, wtls_machine);}, CREATED) ROW(CREATED
 
 gw_assert (wtls_machine->packet_to_send!=NULL)
 
 debug ("wtls: ", 0,"Going to get the RSA public key...")
 
 debug ("wtls: ", 0,"...got it.")
 
 add_pdu (wtls_machine, serverKeyXchgPDU)
 
 wtls_pdu_destroy (serverKeyXchgPDU)
 
 debug ("wtls: ", 0,"in CREATED - just added pdu...")
 
 add_pdu (wtls_machine, serverHelloDonePDU)
 
 wtls_pdu_destroy (serverHelloDonePDU)
 
 send_queuedpdus (wtls_machine)
 
EXCHANGE ROW (CREATED, SEC_Commit_Req, 1,{ }, COMMIT) ROW(CREATED
 
EXCHANGE NULL_STATE ROW (CREATED, SEC_Exception_Req, 1,{send_alert(event, wtls_machine);}, CREATED) ROW(EXCHANGE
 
EXCHANGE NULL_STATE clienthellos_are_identical (event->u.T_Unitdata_Ind.pdu_list, wtls_machine->last_received_packet)
 
EXCHANGE NULL_STATE EXCHANGE ROW (EXCHANGE, T_Unitdata_Ind, is_warning_alert(event->u.T_Unitdata_Ind.pdu_list, wtls_machine),{}, EXCHANGE) ROW(EXCHANGE
 
EXCHANGE NULL_STATE EXCHANGE is_critical_alert (event->u.T_Unitdata_Ind.pdu_list, wtls_machine)
 
EXCHANGE NULL_STATE EXCHANGE NULL_STATE ROW (EXCHANGE, SEC_Terminate_Req, 1,{send_alert(event, wtls_machine);}, NULL_STATE) ROW(EXCHANGE
 
EXCHANGE NULL_STATE EXCHANGE NULL_STATE OPENING ROW (EXCHANGE, SEC_Exception_Req, 1,{send_alert(event, wtls_machine);}, EXCHANGE) ROW(COMMIT
 
EXCHANGE NULL_STATE EXCHANGE NULL_STATE OPENING COMMIT ROW (COMMIT, T_Unitdata_Ind, clienthellos_are_identical(event->u.T_Unitdata_Ind.pdu_list, wtls_machine->last_received_packet)!=1,{ }, CREATING) ROW(COMMIT
 
EXCHANGE NULL_STATE EXCHANGE NULL_STATE OPENING COMMIT packet_contains_changecipherspec (event->u.T_Unitdata_Ind.pdu_list)&&packet_contains_finished(event-> u.T_Unitdata_Ind.pdu_list)&& packet_contains_userdata(event->u.T_Unitdata_Ind.pdu_list),
 
OPEN ROW (COMMIT, T_Unitdata_Ind, packet_contains_changecipherspec(event->u.T_Unitdata_Ind.pdu_list)&&packet_contains_finished(event->u.T_Unitdata_Ind.pdu_list)&&packet_contains_userdata(event->u.T_Unitdata_Ind.pdu_list),{ }, OPEN) ROW(COMMIT
 
OPEN NULL_STATE ROW (COMMIT, T_Unitdata_Ind, is_warning_alert(event->u.T_Unitdata_Ind.pdu_list, wtls_machine),{}, COMMIT) ROW(COMMIT
 
OPEN NULL_STATE NULL_STATE ROW (COMMIT, SEC_Exception_Req, 1,{send_alert(event, wtls_machine);}, COMMIT) ROW(OPENING
 
OPEN NULL_STATE NULL_STATE OPENING ROW (OPENING, SEC_Unitdata_Req, 1,{ }, OPENING) **Do the necessary SEC_Create_Ind stuff */*/ ROW(OPENING
 
OPEN NULL_STATE NULL_STATE OPENING packet_is_application_data (event->u.T_Unitdata_Ind.pdu_list)
 
OPEN NULL_STATE NULL_STATE OPENING OPEN ROW (OPENING, T_Unitdata_Ind, certificates_are_identical(event->u.T_Unitdata_Ind.pdu_list, wtls_machine->last_received_packet)==1 &&clientkeyexchanges_are_identical(event->u.T_Unitdata_Ind.pdu_list, wtls_machine->last_received_packet)==1 &&certifcateverifys_are_identical(event->u.T_Unitdata_Ind.pdu_list, wtls_machine->last_received_packet)==1 &&changecipherspecs_are_identical(event->u.T_Unitdata_Ind.pdu_list, wtls_machine->last_received_packet)==1 &&finishes_are_indentical(event->u.T_Unitdata_Ind.pdu_list, wtls_machine->last_received_packet)==1,{ }, OPENING) ROW(OPENING
 
OPEN NULL_STATE NULL_STATE OPENING OPEN NULL_STATE ROW (OPENING, T_Unitdata_Ind, is_warning_alert(event->u.T_Unitdata_Ind.pdu_list, wtls_machine),{}, OPENING) ROW(OPENING
 
OPEN NULL_STATE NULL_STATE OPENING OPEN NULL_STATE NULL_STATE ROW (OPENING, SEC_Exception_Req, 1,{send_alert(event, wtls_machine);}, OPENING) ROW(OPEN
 
OPEN NULL_STATE NULL_STATE OPENING OPEN NULL_STATE NULL_STATE OPEN ROW (OPEN, SEC_Unitdata_Req, 1,{ }, OPEN) ROW(OPEN
 
OPEN NULL_STATE NULL_STATE OPENING OPEN NULL_STATE NULL_STATE OPEN packet_contains_clienthello (event->u.T_Unitdata_Ind.pdu_list)
 
 clientHello (event, wtls_machine)
 
CREATING ROW (OPEN, T_Unitdata_Ind, packet_is_application_data(event->u.T_Unitdata_Ind.pdu_list),{wtls_application(event, wtls_machine);}, OPEN) ROW(OPEN
 
CREATING OPEN ROW (OPEN, T_Unitdata_Ind, packet_contains_changecipherspec(event->u.T_Unitdata_Ind.pdu_list)==1 &&packet_contains_finished(event->u.T_Unitdata_Ind.pdu_list)==1 &&packet_contains_userdata(event->u.T_Unitdata_Ind.pdu_list)==1 &&finishes_are_indentical(event->u.T_Unitdata_Ind.pdu_list, wtls_machine->last_received_packet)==1,{ }, OPEN) ROW(OPEN
 
CREATING OPEN NULL_STATE ROW (OPEN, T_Unitdata_Ind, is_warning_alert(event->u.T_Unitdata_Ind.pdu_list, wtls_machine),{}, OPEN) ROW(OPEN
 

Variables

 T_Unitdata_Ind
 
 alert = wap_event_create(SEC_Terminate_Req)
 
alert u SEC_Terminate_Req addr_tuple = wap_addr_tuple_duplicate(event->u.T_Unitdata_Ind.addr_tuple)
 
alert u SEC_Terminate_Req alert_desc = unexpected_message
 
alert u SEC_Terminate_Req alert_level = critical_alert
 
CREATING SEC_Exception_Req
 
CREATING CREATING SEC_Exchange_Req
 
CREATING CREATING wtls_PDUserverHelloDonePDU
 
 serverKeyXchgPDU = wtls_pdu_create(Handshake_PDU)
 
serverKeyXchgPDU rlen = 1
 
serverKeyXchgPDU snMode = wtls_machine->sequence_number_mode? 1: 0
 
serverKeyXchgPDU u handshake msg_type = server_key_exchange
 
serverKeyXchgPDU u handshake server_key_exchange
 
serverKeyXchgPDU u handshake server_key_exchange param_spec = NULL
 
serverKeyXchgPDU u handshake server_key_exchange rsa_params
 
EXCHANGE SEC_Terminate_Req
 
OPEN NULL_STATE NULL_STATE SEC_Create_Request_Req
 
OPEN NULL_STATE NULL_STATE OPENING OPEN NULL_STATE NULL_STATE OPEN wtls_machine last_refresh = -1
 

Function Documentation

add_pdu ( wtls_machine  ,
serverKeyXchgPDU   
)
add_pdu ( wtls_machine  ,
serverHelloDonePDU   
)
clientHello ( event  ,
wtls_machine   
)
EXCHANGE NULL_STATE EXCHANGE NULL_STATE OPENING clienthellos_are_identical ( event->u.T_Unitdata_Ind.  pdu_list,
wtls_machine->  last_received_packet 
)
debug ( "wtls: "  ,
,
"Going to get the RSA public key..."   
)
debug ( "wtls: "  ,
,
"...got it."   
)
debug ( "wtls: "  ,
,
"in CREATED - just added pdu..."   
)
error ( ,
"send_alert ~  ,
Critical   alertunexpected_message,
while waiting for client hello."   
)
gw_assert ( wtls_machine->packet_to_send!  = NULL)

Referenced by abort_push(), add_cookie_to_cache(), at2_open_device1(), bb_alog_init(), bb_alog_sms(), begin_sar_result(), charset_latin1_to_gsm(), cimd2_close_socket(), cimd2_get_packet(), cimd2_login(), cimd2_receive_msg(), cimd2_request(), cimd2_send_response(), cimd2_submit_msg(), cless_accepted(), client_reset(), confirmation_requested(), conn_claim(), conn_register_real(), conn_unregister(), content_transformable(), continue_sar_result(), convert_gsm_to_cimd2(), create_dlr_from_msg(), create_session(), create_tr_invoke_cnf(), data_sm_to_msg(), decode_integer(), delete_items_from_list(), delete_threadinfo(), deliver_pending_pushes(), deliver_sms_to_queue(), delivery_time_constraints(), destroy_concatMsg(), dict_remove(), dispatch_into_queue(), dlr_add(), dlr_db_fields_create(), dlr_entry_create(), does_prefix_match(), elapse_timer(), eq_create_http_request(), eq_create_submit(), error_converting(), error_requesting(), error_requesting_back(), expire_cookies(), fdset_listen(), fdset_register(), fdset_set_timeout(), fdset_unregister(), fill_threadinfo(), find_area(), find_entry(), find_ppg_push_machine_using_pi_push_id(), find_ppg_push_machine_using_pid(), find_session_machine(), find_unit_ppg_push_machine_using_pi_push_id(), flags_assert(), generic_get_field_map(), get_matching_translations(), get_official_ip(), get_official_name(), get_pattern(), get_variable(), getthreadinfo(), gw_check_calloc(), gw_check_check_leaks(), gw_check_free(), gw_check_malloc(), gw_check_realloc(), gw_check_strdup(), gw_native_calloc(), gw_native_malloc(), gw_native_realloc(), gw_native_strdup(), gw_prioqueue_add_producer(), gw_prioqueue_consume(), gw_prioqueue_create(), gw_prioqueue_foreach(), gw_prioqueue_get(), gw_prioqueue_insert(), gw_prioqueue_producer_count(), gw_prioqueue_remove(), gw_prioqueue_remove_producer(), gw_rwlock_rdlock(), gw_rwlock_unlock(), gw_rwlock_wrlock(), gw_timer_break(), gw_timer_data(), gw_timer_elapsed_start(), gw_timer_elapsed_stop(), gw_timer_start(), gw_timer_stop(), gwlib_assert_init(), gwlib_init(), gwlist_extract_first(), gwlist_get(), gwlist_insert(), gwlist_lock(), gwlist_remove_producer(), gwlist_sort(), gwlist_unlock(), gwthread_cancel(), gwthread_join(), gwthread_shutdown(), gwthread_wakeup(), gwtimer_create(), gwtimer_destroy(), gwtimer_start(), gwtimer_stop(), handle_action(), handle_connect_reply(), handle_get_reply(), handle_method_event(), handle_push_event(), handle_reply(), hash_cmp(), headers_acceptable(), heap_adjust(), heap_delete(), heap_swap(), heartbeat_stop(), http_append_headers(), http_cgi_variable(), http_close_proxy(), http_header_add(), http_header_find_all(), http_header_find_first_real(), http_header_get(), http_header_get_content_type(), http_header_pack(), http_header_remove_all(), http_header_value(), http_init(), http_method2name(), http_name2method(), http_remove_hop_headers(), http_shutdown(), http_something_accepted(), http_urlparse_destroy(), http_use_proxy(), httpd_emu_create(), httpd_emu_destroy(), httpd_serve(), init_machine_find_or_create(), init_wapbox(), lock(), lock_in(), lock_out(), main(), make_bigger(), make_confirmed_push_request(), make_push_request(), make_session_request(), make_unit_push_request(), mime_entity_add_part(), mime_entity_body(), mime_entity_destroy(), mime_entity_dump(), mime_entity_dump_real(), mime_entity_get_part(), mime_entity_headers(), mime_entity_num_parts(), mime_entity_remove_part(), mime_entity_replace_part(), mime_entity_set_body(), mime_entity_to_octstr(), mime_http_to_entity(), mime_multipart_start_elem(), mime_octstr_to_entity(), mime_parse(), mime_replace_headers(), mime_something_to_entity(), mutex_lock_real(), mutex_unlock_real(), normalize_number(), number_to_cstr(), number_to_string(), obey_request(), octstr_append(), octstr_append_char(), octstr_append_data(), octstr_append_from_hex(), octstr_append_from_socket(), octstr_base64_to_binary(), octstr_binary_to_base64(), octstr_binary_to_hex(), octstr_case_nsearch(), octstr_case_search(), octstr_check_range(), octstr_convert_range(), octstr_copy_real(), octstr_create_from_data_real(), octstr_create_real(), octstr_delete(), octstr_delete_matching(), octstr_format_valist_real(), octstr_get_bits(), octstr_get_many_chars(), octstr_grow(), octstr_hex_to_binary(), octstr_imm(), octstr_insert(), octstr_insert_char(), octstr_insert_data(), octstr_parse_double(), octstr_parse_long(), octstr_pretty_print(), octstr_print(), octstr_read_file(), octstr_read_pipe(), octstr_rsearch_char(), octstr_search(), octstr_search_char(), octstr_search_chars(), octstr_set_bits(), octstr_set_char(), octstr_shrink_blanks(), octstr_str_search(), octstr_strip_blanks(), octstr_strip_char(), octstr_strip_crlfs(), octstr_strip_nonalphanums(), octstr_symbolize(), octstr_truncate(), octstr_url_decode(), octstr_url_encode(), octstr_write_data(), octstr_write_to_socket(), oisd_close_socket(), oisd_get_packet(), oisd_login(), oisd_receive_msg(), oisd_request(), oisd_send_delivery_request(), oisd_send_response(), oisd_submit_msg(), pack_appid_list(), pack_challenge(), pack_error(), pack_into_push_datagram(), pack_into_result_datagram(), pack_tpis(), packet_add_address_parm(), packet_add_int_parm(), packet_add_parm(), packet_check(), packet_check_can_receive(), packet_check_header(), packet_check_parameter(), packet_encode_message(), packet_get_address_parm(), packet_get_hex_parm(), packet_get_int_parm(), packet_get_parm(), packet_get_sms_parm(), packet_get_string_parm(), packet_set_checksum(), packet_set_data_size(), packet_set_send_sequence(), packet_set_sequence(), pap_request_thread(), parse_attr_value(), parse_charset(), parse_clear_error(), parse_context_destroy(), parse_document(), parse_error(), parse_get_char(), parse_get_line(), parse_get_nul_string(), parse_get_octets(), parse_get_rest(), parse_get_seperated_block(), parse_get_uintvar(), parse_integer(), parse_limit(), parse_octets_left(), parse_peek_char(), parse_pop_limit(), parse_set_error(), parse_skip(), parse_skip_to(), parse_skip_to_limit(), pdu_to_msg(), poller(), process_sar_transaction(), push_client_event_handle(), push_client_machine_find_or_create(), push_machine_assert(), radius_attr_pack(), radius_get_attribute(), radius_pdu_pack(), read_available(), read_msg(), reason_assert(), receive_smpp_thread(), recover_absolute_uri(), request_confirmed_push(), request_push(), request_unit_push(), resend_sar_result(), resp_machine_find_or_create(), response_push_connection(), route_incoming_to_boxc(), run_smsbox(), run_wapbox(), seems_valid_real(), select_bearer_network(), semaphore_down(), semaphore_getvalue(), semaphore_up(), send_invoke_connect(), send_invoke_disconnect(), send_invoke_get(), send_message(), send_push_response(), service_router(), session_machine_assert(), session_machine_create(), set_addr_tuple(), set_bearer_defaults(), set_network_defaults(), set_referer_url(), setup_official_name(), simple_binary_output(), smpp_emu_handle_pdu(), smpp_emu_reader(), smpp_msg_create(), smpp_pdu_pack(), sms_priority_compare(), sms_to_smsboxes(), smsc_emu_create(), smsc_emu_destroy(), smscconn_admin_id(), smscconn_create(), smscconn_id(), smscconn_name(), smscconn_reconfig(), smscconn_send(), smscconn_shutdown(), smscconn_start(), smscconn_status(), smscconn_stop(), smscconn_usable(), start_request(), startmark(), stop_initiator_timer(), store_push_data(), store_session_data(), store_uuid(), string_to_number(), string_to_versioned_number(), submit_action(), tell_fatal_error(), transform_message(), truncated_datagram(), udp_get_ip(), udp_get_port(), udp_sendto(), udpc_destroy(), unlock(), unlock_in_real(), unlock_out_real(), unlocked_get(), unlocked_register_pollin(), unlocked_register_pollout(), unpack_datagram(), unpack_parameter(), unpack_tpis(), unpack_wdp_datagram_real(), update_session_data(), urltrans_find_username(), wait_for_connections(), wap_appl_dispatch(), wap_appl_get_load(), wap_appl_init(), wap_appl_shutdown(), wap_dispatch_datagram(), wap_event_assert(), wap_event_create_real(), wap_push_ota_bb_address_set(), wap_push_ota_dispatch_event(), wap_push_ota_init(), wap_push_ota_shutdown(), wap_push_ppg_dispatch_event(), wap_push_ppg_have_push_session_for(), wap_push_ppg_have_push_session_for_sid(), wap_push_ppg_init(), wap_push_ppg_pushuser_list_add(), wap_push_ppg_pushuser_search_ip_from_wildcarded_list(), wap_push_ppg_shutdown(), wdp_msg2event(), wdp_router(), wdp_to_wapboxes(), wildcarded_ip_found(), write_request_thread(), ws_asm_linearize(), ws_error_memory(), ws_error_syntax(), ws_ieee754_encode_single(), ws_src_error(), ws_src_warning(), ws_yy_lex(), wsp_pack_short_integer(), wsp_pdu_unpack(), wsp_push_client_init(), wsp_push_client_shutdown(), wsp_session_shutdown(), wsp_unit_shutdown(), wtp_initiator_init(), wtp_initiator_shutdown(), wtp_invoke_create(), wtp_pack_invoke(), wtp_pack_result(), wtp_pack_sar_result(), wtp_pack_set_rid(), wtp_pdu_unpack(), wtp_resp_init(), wtp_resp_shutdown(), and wtp_unpack_wdp_datagram().

CREATING OPEN is_critical_alert ( event->u.T_Unitdata_Ind.  pdu_list,
wtls_machine   
)
CREATING packet_contains_changecipherspec ( event->u.T_Unitdata_Ind.  pdu_list) -> u.T_Unitdata_Ind.pdu_list) && packet_contains_userdata (event->u.T_Unitdata_Ind.pdu_list),
Initial value:
== 1 &&
packet_contains_finished (event->u.T_Unitdata_Ind.pdu_list) == 1 &&
packet_contains_userdata(event->u.T_Unitdata_Ind.pdu_list) != 1 &&
finishes_are_indentical(event->u.T_Unitdata_Ind.pdu_list, wtls_machine->last_received_packet) == 1
int packet_contains_userdata(List *pdu_list)
int packet_contains_finished(List *pdu_list)
int finishes_are_indentical(List *pdu_list, List *last_received_packet)

Definition at line 304 of file wtls_state-decl.h.

307  {
308 /* Create ourselves a SEC_Commit_Cnf packet to send off */
309 /* Send it off */
310 },
OPEN NULL_STATE NULL_STATE OPENING OPEN NULL_STATE NULL_STATE OPEN packet_contains_clienthello ( event->u.T_Unitdata_Ind.  pdu_list)
OPEN NULL_STATE NULL_STATE OPENING packet_is_application_data ( event->u.T_Unitdata_Ind.  pdu_list)
ROW ( NULL_STATE  ,
T_Unitdata_Ind  ,
packet_contains_clienthello(event->u.T_Unitdata_Ind.pdu_list)  ,
{clientHello(event, wtls_machine);}  ,
CREATING   
)
CREATING ROW ( CREATING  ,
SEC_Terminate_Req  ,
,
{send_alert(event, wtls_machine);}  ,
NULL_STATE   
)
CREATING CREATING ROW ( CREATING  ,
SEC_Create_Res  ,
,
{serverHello(event, wtls_machine);}  ,
CREATED   
)
EXCHANGE ROW ( CREATED  ,
SEC_Commit_Req  ,
,
{ }  ,
COMMIT   
)
EXCHANGE NULL_STATE ROW ( CREATED  ,
SEC_Exception_Req  ,
,
{send_alert(event, wtls_machine);}  ,
CREATED   
)
EXCHANGE NULL_STATE EXCHANGE ROW ( EXCHANGE  ,
T_Unitdata_Ind  ,
is_warning_alert(event->u.T_Unitdata_Ind.pdu_list, wtls_machine)  ,
{}  ,
EXCHANGE   
)
EXCHANGE NULL_STATE EXCHANGE NULL_STATE ROW ( EXCHANGE  ,
SEC_Terminate_Req  ,
,
{send_alert(event, wtls_machine);}  ,
NULL_STATE   
)
EXCHANGE NULL_STATE EXCHANGE NULL_STATE OPENING ROW ( EXCHANGE  ,
SEC_Exception_Req  ,
,
{send_alert(event, wtls_machine);}  ,
EXCHANGE   
)
EXCHANGE NULL_STATE EXCHANGE NULL_STATE OPENING COMMIT ROW ( COMMIT  ,
T_Unitdata_Ind  ,
clienthellos_are_identical(event->u.T_Unitdata_Ind.pdu_list, wtls_machine->last_received_packet)!  = 1,
{ }  ,
CREATING   
)
OPEN ROW ( COMMIT  ,
T_Unitdata_Ind  ,
packet_contains_changecipherspec(event->u.T_Unitdata_Ind.pdu_list)&&packet_contains_finished(event->u.T_Unitdata_Ind.pdu_list)&&packet_contains_userdata(event->u.T_Unitdata_Ind.pdu_list)  ,
{ }  ,
OPEN   
)
OPEN NULL_STATE ROW ( COMMIT  ,
T_Unitdata_Ind  ,
is_warning_alert(event->u.T_Unitdata_Ind.pdu_list, wtls_machine)  ,
{}  ,
COMMIT   
)
OPEN NULL_STATE NULL_STATE ROW ( COMMIT  ,
SEC_Exception_Req  ,
,
{send_alert(event, wtls_machine);}  ,
COMMIT   
)
OPEN NULL_STATE NULL_STATE OPENING ROW ( OPENING  ,
SEC_Unitdata_Req  ,
,
{ }  ,
OPENING   
)
OPEN NULL_STATE NULL_STATE OPENING OPEN ROW ( OPENING  ,
T_Unitdata_Ind  ,
certificates_are_identical(event->u.T_Unitdata_Ind.pdu_list, wtls_machine->last_received_packet)  = = 1 && clientkeyexchanges_are_identical(event->u.T_Unitdata_Ind.pdu_list, wtls_machine->last_received_packet) == 1 && certifcateverifys_are_identical(event->u.T_Unitdata_Ind.pdu_list, wtls_machine->last_received_packet) == 1 && changecipherspecs_are_identical(event->u.T_Unitdata_Ind.pdu_list, wtls_machine->last_received_packet) == 1 && finishes_are_indentical(event->u.T_Unitdata_Ind.pdu_list, wtls_machine->last_received_packet) == 1,
{ }  ,
OPENING   
)
OPEN NULL_STATE NULL_STATE OPENING OPEN NULL_STATE ROW ( OPENING  ,
T_Unitdata_Ind  ,
is_warning_alert(event->u.T_Unitdata_Ind.pdu_list, wtls_machine)  ,
{}  ,
OPENING   
)
OPEN NULL_STATE NULL_STATE OPENING OPEN NULL_STATE NULL_STATE ROW ( OPENING  ,
SEC_Exception_Req  ,
,
{send_alert(event, wtls_machine);}  ,
OPENING   
)
OPEN NULL_STATE NULL_STATE OPENING OPEN NULL_STATE NULL_STATE OPEN ROW ( OPEN  ,
SEC_Unitdata_Req  ,
,
{ }  ,
OPEN   
)
CREATING ROW ( OPEN  ,
T_Unitdata_Ind  ,
packet_is_application_data(event->u.T_Unitdata_Ind.pdu_list)  ,
{wtls_application(event, wtls_machine);}  ,
OPEN   
)
CREATING OPEN ROW ( OPEN  ,
T_Unitdata_Ind  ,
packet_contains_changecipherspec(event->u.T_Unitdata_Ind.pdu_list)  = = 1 && packet_contains_finished (event->u.T_Unitdata_Ind.pdu_list) == 1 && packet_contains_userdata(event->u.T_Unitdata_Ind.pdu_list) == 1 && finishes_are_indentical(event->u.T_Unitdata_Ind.pdu_list, wtls_machine->last_received_packet) == 1,
{ }  ,
OPEN   
)
CREATING OPEN NULL_STATE ROW ( OPEN  ,
T_Unitdata_Ind  ,
is_warning_alert(event->u.T_Unitdata_Ind.pdu_list, wtls_machine)  ,
{}  ,
OPEN   
)
send_queuedpdus ( wtls_machine  )
wtls_dispatch_event ( alert  )
wtls_pdu_destroy ( serverKeyXchgPDU  )
wtls_pdu_destroy ( serverHelloDonePDU  )

Variable Documentation

alert u SEC_Terminate_Req addr_tuple = wap_addr_tuple_duplicate(event->u.T_Unitdata_Ind.addr_tuple)

Definition at line 93 of file wtls_state-decl.h.

Referenced by return_reply(), and start_fetch().

Definition at line 94 of file wtls_state-decl.h.

Definition at line 95 of file wtls_state-decl.h.

OPEN NULL_STATE NULL_STATE OPENING OPEN NULL_STATE NULL_STATE OPEN wtls_machine last_refresh = -1

Definition at line 487 of file wtls_state-decl.h.

Definition at line 149 of file wtls_state-decl.h.

Definition at line 144 of file wtls_state-decl.h.

Initial value:
=
RSAPublicKey * wtls_get_rsapublickey(void)

Definition at line 153 of file wtls_state-decl.h.

OPEN NULL_STATE NULL_STATE OPENING OPEN NULL_STATE NULL_STATE SEC_Create_Request_Req

Definition at line 369 of file wtls_state-decl.h.

CREATING SEC_Exception_Req

Definition at line 113 of file wtls_state-decl.h.

CREATING CREATING SEC_Exchange_Req

Definition at line 133 of file wtls_state-decl.h.

CREATING OPEN NULL_STATE SEC_Terminate_Req

Definition at line 190 of file wtls_state-decl.h.

Initial value:

Definition at line 147 of file wtls_state-decl.h.

serverHelloDonePDU
Initial value:

Definition at line 135 of file wtls_state-decl.h.

serverKeyXchgPDU = wtls_pdu_create(Handshake_PDU)

Definition at line 143 of file wtls_state-decl.h.

serverHelloDonePDU snMode = wtls_machine->sequence_number_mode? 1: 0

Definition at line 145 of file wtls_state-decl.h.

CREATING OPEN T_Unitdata_Ind

Definition at line 86 of file wtls_state-decl.h.

See file LICENSE for details about the license agreement for using, modifying, copying or deriving work from this software.