|
|
@ -2118,264 +2118,352 @@ public:
|
|
|
|
registration_request_t& set_registration_request()
|
|
|
|
registration_request_t& set_registration_request()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
set(msg_types::options::registration_request);
|
|
|
|
set(msg_types::options::registration_request);
|
|
|
|
|
|
|
|
hdr.extended_protocol_discriminator = nas_5gs_hdr::extended_protocol_discriminator_5gmm;
|
|
|
|
|
|
|
|
hdr.inner_extended_protocol_discriminator = nas_5gs_hdr::extended_protocol_discriminator_5gmm;
|
|
|
|
msg_container = srslog::detail::any{registration_request_t()};
|
|
|
|
msg_container = srslog::detail::any{registration_request_t()};
|
|
|
|
return *srslog::detail::any_cast<registration_request_t>(&msg_container);
|
|
|
|
return *srslog::detail::any_cast<registration_request_t>(&msg_container);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
registration_accept_t& set_registration_accept()
|
|
|
|
registration_accept_t& set_registration_accept()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
set(msg_types::options::registration_accept);
|
|
|
|
set(msg_types::options::registration_accept);
|
|
|
|
|
|
|
|
hdr.extended_protocol_discriminator = nas_5gs_hdr::extended_protocol_discriminator_5gmm;
|
|
|
|
|
|
|
|
hdr.inner_extended_protocol_discriminator = nas_5gs_hdr::extended_protocol_discriminator_5gmm;
|
|
|
|
msg_container = srslog::detail::any{registration_accept_t()};
|
|
|
|
msg_container = srslog::detail::any{registration_accept_t()};
|
|
|
|
return *srslog::detail::any_cast<registration_accept_t>(&msg_container);
|
|
|
|
return *srslog::detail::any_cast<registration_accept_t>(&msg_container);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
registration_complete_t& set_registration_complete()
|
|
|
|
registration_complete_t& set_registration_complete()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
set(msg_types::options::registration_complete);
|
|
|
|
set(msg_types::options::registration_complete);
|
|
|
|
|
|
|
|
hdr.extended_protocol_discriminator = nas_5gs_hdr::extended_protocol_discriminator_5gmm;
|
|
|
|
|
|
|
|
hdr.inner_extended_protocol_discriminator = nas_5gs_hdr::extended_protocol_discriminator_5gmm;
|
|
|
|
msg_container = srslog::detail::any{registration_complete_t()};
|
|
|
|
msg_container = srslog::detail::any{registration_complete_t()};
|
|
|
|
return *srslog::detail::any_cast<registration_complete_t>(&msg_container);
|
|
|
|
return *srslog::detail::any_cast<registration_complete_t>(&msg_container);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
registration_reject_t& set_registration_reject()
|
|
|
|
registration_reject_t& set_registration_reject()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
set(msg_types::options::registration_reject);
|
|
|
|
set(msg_types::options::registration_reject);
|
|
|
|
|
|
|
|
hdr.extended_protocol_discriminator = nas_5gs_hdr::extended_protocol_discriminator_5gmm;
|
|
|
|
|
|
|
|
hdr.inner_extended_protocol_discriminator = nas_5gs_hdr::extended_protocol_discriminator_5gmm;
|
|
|
|
msg_container = srslog::detail::any{registration_reject_t()};
|
|
|
|
msg_container = srslog::detail::any{registration_reject_t()};
|
|
|
|
return *srslog::detail::any_cast<registration_reject_t>(&msg_container);
|
|
|
|
return *srslog::detail::any_cast<registration_reject_t>(&msg_container);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
deregistration_request_ue_originating_t& set_deregistration_request_ue_originating()
|
|
|
|
deregistration_request_ue_originating_t& set_deregistration_request_ue_originating()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
set(msg_types::options::deregistration_request_ue_originating);
|
|
|
|
set(msg_types::options::deregistration_request_ue_originating);
|
|
|
|
|
|
|
|
hdr.extended_protocol_discriminator = nas_5gs_hdr::extended_protocol_discriminator_5gmm;
|
|
|
|
|
|
|
|
hdr.inner_extended_protocol_discriminator = nas_5gs_hdr::extended_protocol_discriminator_5gmm;
|
|
|
|
msg_container = srslog::detail::any{deregistration_request_ue_originating_t()};
|
|
|
|
msg_container = srslog::detail::any{deregistration_request_ue_originating_t()};
|
|
|
|
return *srslog::detail::any_cast<deregistration_request_ue_originating_t>(&msg_container);
|
|
|
|
return *srslog::detail::any_cast<deregistration_request_ue_originating_t>(&msg_container);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
deregistration_accept_ue_originating_t& set_deregistration_accept_ue_originating()
|
|
|
|
deregistration_accept_ue_originating_t& set_deregistration_accept_ue_originating()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
set(msg_types::options::deregistration_accept_ue_originating);
|
|
|
|
set(msg_types::options::deregistration_accept_ue_originating);
|
|
|
|
|
|
|
|
hdr.extended_protocol_discriminator = nas_5gs_hdr::extended_protocol_discriminator_5gmm;
|
|
|
|
|
|
|
|
hdr.inner_extended_protocol_discriminator = nas_5gs_hdr::extended_protocol_discriminator_5gmm;
|
|
|
|
msg_container = srslog::detail::any{deregistration_accept_ue_originating_t()};
|
|
|
|
msg_container = srslog::detail::any{deregistration_accept_ue_originating_t()};
|
|
|
|
return *srslog::detail::any_cast<deregistration_accept_ue_originating_t>(&msg_container);
|
|
|
|
return *srslog::detail::any_cast<deregistration_accept_ue_originating_t>(&msg_container);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
deregistration_request_ue_terminated_t& set_deregistration_request_ue_terminated()
|
|
|
|
deregistration_request_ue_terminated_t& set_deregistration_request_ue_terminated()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
set(msg_types::options::deregistration_request_ue_terminated);
|
|
|
|
set(msg_types::options::deregistration_request_ue_terminated);
|
|
|
|
|
|
|
|
hdr.extended_protocol_discriminator = nas_5gs_hdr::extended_protocol_discriminator_5gmm;
|
|
|
|
|
|
|
|
hdr.inner_extended_protocol_discriminator = nas_5gs_hdr::extended_protocol_discriminator_5gmm;
|
|
|
|
msg_container = srslog::detail::any{deregistration_request_ue_terminated_t()};
|
|
|
|
msg_container = srslog::detail::any{deregistration_request_ue_terminated_t()};
|
|
|
|
return *srslog::detail::any_cast<deregistration_request_ue_terminated_t>(&msg_container);
|
|
|
|
return *srslog::detail::any_cast<deregistration_request_ue_terminated_t>(&msg_container);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
deregistration_accept_ue_terminated_t& set_deregistration_accept_ue_terminated()
|
|
|
|
deregistration_accept_ue_terminated_t& set_deregistration_accept_ue_terminated()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
set(msg_types::options::deregistration_accept_ue_terminated);
|
|
|
|
set(msg_types::options::deregistration_accept_ue_terminated);
|
|
|
|
|
|
|
|
hdr.extended_protocol_discriminator = nas_5gs_hdr::extended_protocol_discriminator_5gmm;
|
|
|
|
|
|
|
|
hdr.inner_extended_protocol_discriminator = nas_5gs_hdr::extended_protocol_discriminator_5gmm;
|
|
|
|
msg_container = srslog::detail::any{deregistration_accept_ue_terminated_t()};
|
|
|
|
msg_container = srslog::detail::any{deregistration_accept_ue_terminated_t()};
|
|
|
|
return *srslog::detail::any_cast<deregistration_accept_ue_terminated_t>(&msg_container);
|
|
|
|
return *srslog::detail::any_cast<deregistration_accept_ue_terminated_t>(&msg_container);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
service_request_t& set_service_request()
|
|
|
|
service_request_t& set_service_request()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
set(msg_types::options::service_request);
|
|
|
|
set(msg_types::options::service_request);
|
|
|
|
|
|
|
|
hdr.extended_protocol_discriminator = nas_5gs_hdr::extended_protocol_discriminator_5gmm;
|
|
|
|
|
|
|
|
hdr.inner_extended_protocol_discriminator = nas_5gs_hdr::extended_protocol_discriminator_5gmm;
|
|
|
|
msg_container = srslog::detail::any{service_request_t()};
|
|
|
|
msg_container = srslog::detail::any{service_request_t()};
|
|
|
|
return *srslog::detail::any_cast<service_request_t>(&msg_container);
|
|
|
|
return *srslog::detail::any_cast<service_request_t>(&msg_container);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
service_reject_t& set_service_reject()
|
|
|
|
service_reject_t& set_service_reject()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
set(msg_types::options::service_reject);
|
|
|
|
set(msg_types::options::service_reject);
|
|
|
|
|
|
|
|
hdr.extended_protocol_discriminator = nas_5gs_hdr::extended_protocol_discriminator_5gmm;
|
|
|
|
|
|
|
|
hdr.inner_extended_protocol_discriminator = nas_5gs_hdr::extended_protocol_discriminator_5gmm;
|
|
|
|
msg_container = srslog::detail::any{service_reject_t()};
|
|
|
|
msg_container = srslog::detail::any{service_reject_t()};
|
|
|
|
return *srslog::detail::any_cast<service_reject_t>(&msg_container);
|
|
|
|
return *srslog::detail::any_cast<service_reject_t>(&msg_container);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
service_accept_t& set_service_accept()
|
|
|
|
service_accept_t& set_service_accept()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
set(msg_types::options::service_accept);
|
|
|
|
set(msg_types::options::service_accept);
|
|
|
|
|
|
|
|
hdr.extended_protocol_discriminator = nas_5gs_hdr::extended_protocol_discriminator_5gmm;
|
|
|
|
|
|
|
|
hdr.inner_extended_protocol_discriminator = nas_5gs_hdr::extended_protocol_discriminator_5gmm;
|
|
|
|
msg_container = srslog::detail::any{service_accept_t()};
|
|
|
|
msg_container = srslog::detail::any{service_accept_t()};
|
|
|
|
return *srslog::detail::any_cast<service_accept_t>(&msg_container);
|
|
|
|
return *srslog::detail::any_cast<service_accept_t>(&msg_container);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
configuration_update_command_t& set_configuration_update_command()
|
|
|
|
configuration_update_command_t& set_configuration_update_command()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
set(msg_types::options::configuration_update_command);
|
|
|
|
set(msg_types::options::configuration_update_command);
|
|
|
|
|
|
|
|
hdr.extended_protocol_discriminator = nas_5gs_hdr::extended_protocol_discriminator_5gmm;
|
|
|
|
|
|
|
|
hdr.inner_extended_protocol_discriminator = nas_5gs_hdr::extended_protocol_discriminator_5gmm;
|
|
|
|
msg_container = srslog::detail::any{configuration_update_command_t()};
|
|
|
|
msg_container = srslog::detail::any{configuration_update_command_t()};
|
|
|
|
return *srslog::detail::any_cast<configuration_update_command_t>(&msg_container);
|
|
|
|
return *srslog::detail::any_cast<configuration_update_command_t>(&msg_container);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
configuration_update_complete_t& set_configuration_update_complete()
|
|
|
|
configuration_update_complete_t& set_configuration_update_complete()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
set(msg_types::options::configuration_update_complete);
|
|
|
|
set(msg_types::options::configuration_update_complete);
|
|
|
|
|
|
|
|
hdr.extended_protocol_discriminator = nas_5gs_hdr::extended_protocol_discriminator_5gmm;
|
|
|
|
|
|
|
|
hdr.inner_extended_protocol_discriminator = nas_5gs_hdr::extended_protocol_discriminator_5gmm;
|
|
|
|
msg_container = srslog::detail::any{configuration_update_complete_t()};
|
|
|
|
msg_container = srslog::detail::any{configuration_update_complete_t()};
|
|
|
|
return *srslog::detail::any_cast<configuration_update_complete_t>(&msg_container);
|
|
|
|
return *srslog::detail::any_cast<configuration_update_complete_t>(&msg_container);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
authentication_request_t& set_authentication_request()
|
|
|
|
authentication_request_t& set_authentication_request()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
set(msg_types::options::authentication_request);
|
|
|
|
set(msg_types::options::authentication_request);
|
|
|
|
|
|
|
|
hdr.extended_protocol_discriminator = nas_5gs_hdr::extended_protocol_discriminator_5gmm;
|
|
|
|
|
|
|
|
hdr.inner_extended_protocol_discriminator = nas_5gs_hdr::extended_protocol_discriminator_5gmm;
|
|
|
|
msg_container = srslog::detail::any{authentication_request_t()};
|
|
|
|
msg_container = srslog::detail::any{authentication_request_t()};
|
|
|
|
return *srslog::detail::any_cast<authentication_request_t>(&msg_container);
|
|
|
|
return *srslog::detail::any_cast<authentication_request_t>(&msg_container);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
authentication_response_t& set_authentication_response()
|
|
|
|
authentication_response_t& set_authentication_response()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
set(msg_types::options::authentication_response);
|
|
|
|
set(msg_types::options::authentication_response);
|
|
|
|
|
|
|
|
hdr.extended_protocol_discriminator = nas_5gs_hdr::extended_protocol_discriminator_5gmm;
|
|
|
|
|
|
|
|
hdr.inner_extended_protocol_discriminator = nas_5gs_hdr::extended_protocol_discriminator_5gmm;
|
|
|
|
msg_container = srslog::detail::any{authentication_response_t()};
|
|
|
|
msg_container = srslog::detail::any{authentication_response_t()};
|
|
|
|
return *srslog::detail::any_cast<authentication_response_t>(&msg_container);
|
|
|
|
return *srslog::detail::any_cast<authentication_response_t>(&msg_container);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
authentication_reject_t& set_authentication_reject()
|
|
|
|
authentication_reject_t& set_authentication_reject()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
set(msg_types::options::authentication_reject);
|
|
|
|
set(msg_types::options::authentication_reject);
|
|
|
|
|
|
|
|
hdr.extended_protocol_discriminator = nas_5gs_hdr::extended_protocol_discriminator_5gmm;
|
|
|
|
|
|
|
|
hdr.inner_extended_protocol_discriminator = nas_5gs_hdr::extended_protocol_discriminator_5gmm;
|
|
|
|
msg_container = srslog::detail::any{authentication_reject_t()};
|
|
|
|
msg_container = srslog::detail::any{authentication_reject_t()};
|
|
|
|
return *srslog::detail::any_cast<authentication_reject_t>(&msg_container);
|
|
|
|
return *srslog::detail::any_cast<authentication_reject_t>(&msg_container);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
authentication_failure_t& set_authentication_failure()
|
|
|
|
authentication_failure_t& set_authentication_failure()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
set(msg_types::options::authentication_failure);
|
|
|
|
set(msg_types::options::authentication_failure);
|
|
|
|
|
|
|
|
hdr.extended_protocol_discriminator = nas_5gs_hdr::extended_protocol_discriminator_5gmm;
|
|
|
|
|
|
|
|
hdr.inner_extended_protocol_discriminator = nas_5gs_hdr::extended_protocol_discriminator_5gmm;
|
|
|
|
msg_container = srslog::detail::any{authentication_failure_t()};
|
|
|
|
msg_container = srslog::detail::any{authentication_failure_t()};
|
|
|
|
return *srslog::detail::any_cast<authentication_failure_t>(&msg_container);
|
|
|
|
return *srslog::detail::any_cast<authentication_failure_t>(&msg_container);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
authentication_result_t& set_authentication_result()
|
|
|
|
authentication_result_t& set_authentication_result()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
set(msg_types::options::authentication_result);
|
|
|
|
set(msg_types::options::authentication_result);
|
|
|
|
|
|
|
|
hdr.extended_protocol_discriminator = nas_5gs_hdr::extended_protocol_discriminator_5gmm;
|
|
|
|
|
|
|
|
hdr.inner_extended_protocol_discriminator = nas_5gs_hdr::extended_protocol_discriminator_5gmm;
|
|
|
|
msg_container = srslog::detail::any{authentication_result_t()};
|
|
|
|
msg_container = srslog::detail::any{authentication_result_t()};
|
|
|
|
return *srslog::detail::any_cast<authentication_result_t>(&msg_container);
|
|
|
|
return *srslog::detail::any_cast<authentication_result_t>(&msg_container);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
identity_request_t& set_identity_request()
|
|
|
|
identity_request_t& set_identity_request()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
set(msg_types::options::identity_request);
|
|
|
|
set(msg_types::options::identity_request);
|
|
|
|
|
|
|
|
hdr.extended_protocol_discriminator = nas_5gs_hdr::extended_protocol_discriminator_5gmm;
|
|
|
|
|
|
|
|
hdr.inner_extended_protocol_discriminator = nas_5gs_hdr::extended_protocol_discriminator_5gmm;
|
|
|
|
msg_container = srslog::detail::any{identity_request_t()};
|
|
|
|
msg_container = srslog::detail::any{identity_request_t()};
|
|
|
|
return *srslog::detail::any_cast<identity_request_t>(&msg_container);
|
|
|
|
return *srslog::detail::any_cast<identity_request_t>(&msg_container);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
identity_response_t& set_identity_response()
|
|
|
|
identity_response_t& set_identity_response()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
set(msg_types::options::identity_response);
|
|
|
|
set(msg_types::options::identity_response);
|
|
|
|
|
|
|
|
hdr.extended_protocol_discriminator = nas_5gs_hdr::extended_protocol_discriminator_5gmm;
|
|
|
|
|
|
|
|
hdr.inner_extended_protocol_discriminator = nas_5gs_hdr::extended_protocol_discriminator_5gmm;
|
|
|
|
msg_container = srslog::detail::any{identity_response_t()};
|
|
|
|
msg_container = srslog::detail::any{identity_response_t()};
|
|
|
|
return *srslog::detail::any_cast<identity_response_t>(&msg_container);
|
|
|
|
return *srslog::detail::any_cast<identity_response_t>(&msg_container);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
security_mode_command_t& set_security_mode_command()
|
|
|
|
security_mode_command_t& set_security_mode_command()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
set(msg_types::options::security_mode_command);
|
|
|
|
set(msg_types::options::security_mode_command);
|
|
|
|
|
|
|
|
hdr.extended_protocol_discriminator = nas_5gs_hdr::extended_protocol_discriminator_5gmm;
|
|
|
|
|
|
|
|
hdr.inner_extended_protocol_discriminator = nas_5gs_hdr::extended_protocol_discriminator_5gmm;
|
|
|
|
msg_container = srslog::detail::any{security_mode_command_t()};
|
|
|
|
msg_container = srslog::detail::any{security_mode_command_t()};
|
|
|
|
return *srslog::detail::any_cast<security_mode_command_t>(&msg_container);
|
|
|
|
return *srslog::detail::any_cast<security_mode_command_t>(&msg_container);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
security_mode_complete_t& set_security_mode_complete()
|
|
|
|
security_mode_complete_t& set_security_mode_complete()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
set(msg_types::options::security_mode_complete);
|
|
|
|
set(msg_types::options::security_mode_complete);
|
|
|
|
|
|
|
|
hdr.extended_protocol_discriminator = nas_5gs_hdr::extended_protocol_discriminator_5gmm;
|
|
|
|
|
|
|
|
hdr.inner_extended_protocol_discriminator = nas_5gs_hdr::extended_protocol_discriminator_5gmm;
|
|
|
|
msg_container = srslog::detail::any{security_mode_complete_t()};
|
|
|
|
msg_container = srslog::detail::any{security_mode_complete_t()};
|
|
|
|
return *srslog::detail::any_cast<security_mode_complete_t>(&msg_container);
|
|
|
|
return *srslog::detail::any_cast<security_mode_complete_t>(&msg_container);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
security_mode_reject_t& set_security_mode_reject()
|
|
|
|
security_mode_reject_t& set_security_mode_reject()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
set(msg_types::options::security_mode_reject);
|
|
|
|
set(msg_types::options::security_mode_reject);
|
|
|
|
|
|
|
|
hdr.extended_protocol_discriminator = nas_5gs_hdr::extended_protocol_discriminator_5gmm;
|
|
|
|
|
|
|
|
hdr.inner_extended_protocol_discriminator = nas_5gs_hdr::extended_protocol_discriminator_5gmm;
|
|
|
|
msg_container = srslog::detail::any{security_mode_reject_t()};
|
|
|
|
msg_container = srslog::detail::any{security_mode_reject_t()};
|
|
|
|
return *srslog::detail::any_cast<security_mode_reject_t>(&msg_container);
|
|
|
|
return *srslog::detail::any_cast<security_mode_reject_t>(&msg_container);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
status_5gmm_t& set_status_5gmm()
|
|
|
|
status_5gmm_t& set_status_5gmm()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
set(msg_types::options::status_5gmm);
|
|
|
|
set(msg_types::options::status_5gmm);
|
|
|
|
|
|
|
|
hdr.extended_protocol_discriminator = nas_5gs_hdr::extended_protocol_discriminator_5gmm;
|
|
|
|
|
|
|
|
hdr.inner_extended_protocol_discriminator = nas_5gs_hdr::extended_protocol_discriminator_5gmm;
|
|
|
|
msg_container = srslog::detail::any{status_5gmm_t()};
|
|
|
|
msg_container = srslog::detail::any{status_5gmm_t()};
|
|
|
|
return *srslog::detail::any_cast<status_5gmm_t>(&msg_container);
|
|
|
|
return *srslog::detail::any_cast<status_5gmm_t>(&msg_container);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
notification_t& set_notification()
|
|
|
|
notification_t& set_notification()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
set(msg_types::options::notification);
|
|
|
|
set(msg_types::options::notification);
|
|
|
|
|
|
|
|
hdr.extended_protocol_discriminator = nas_5gs_hdr::extended_protocol_discriminator_5gmm;
|
|
|
|
|
|
|
|
hdr.inner_extended_protocol_discriminator = nas_5gs_hdr::extended_protocol_discriminator_5gmm;
|
|
|
|
msg_container = srslog::detail::any{notification_t()};
|
|
|
|
msg_container = srslog::detail::any{notification_t()};
|
|
|
|
return *srslog::detail::any_cast<notification_t>(&msg_container);
|
|
|
|
return *srslog::detail::any_cast<notification_t>(&msg_container);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
notification_response_t& set_notification_response()
|
|
|
|
notification_response_t& set_notification_response()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
set(msg_types::options::notification_response);
|
|
|
|
set(msg_types::options::notification_response);
|
|
|
|
|
|
|
|
hdr.extended_protocol_discriminator = nas_5gs_hdr::extended_protocol_discriminator_5gmm;
|
|
|
|
|
|
|
|
hdr.inner_extended_protocol_discriminator = nas_5gs_hdr::extended_protocol_discriminator_5gmm;
|
|
|
|
msg_container = srslog::detail::any{notification_response_t()};
|
|
|
|
msg_container = srslog::detail::any{notification_response_t()};
|
|
|
|
return *srslog::detail::any_cast<notification_response_t>(&msg_container);
|
|
|
|
return *srslog::detail::any_cast<notification_response_t>(&msg_container);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
ul_nas_transport_t& set_ul_nas_transport()
|
|
|
|
ul_nas_transport_t& set_ul_nas_transport()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
set(msg_types::options::ul_nas_transport);
|
|
|
|
set(msg_types::options::ul_nas_transport);
|
|
|
|
|
|
|
|
hdr.extended_protocol_discriminator = nas_5gs_hdr::extended_protocol_discriminator_5gmm;
|
|
|
|
|
|
|
|
hdr.inner_extended_protocol_discriminator = nas_5gs_hdr::extended_protocol_discriminator_5gmm;
|
|
|
|
msg_container = srslog::detail::any{ul_nas_transport_t()};
|
|
|
|
msg_container = srslog::detail::any{ul_nas_transport_t()};
|
|
|
|
return *srslog::detail::any_cast<ul_nas_transport_t>(&msg_container);
|
|
|
|
return *srslog::detail::any_cast<ul_nas_transport_t>(&msg_container);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
dl_nas_transport_t& set_dl_nas_transport()
|
|
|
|
dl_nas_transport_t& set_dl_nas_transport()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
set(msg_types::options::dl_nas_transport);
|
|
|
|
set(msg_types::options::dl_nas_transport);
|
|
|
|
|
|
|
|
hdr.extended_protocol_discriminator = nas_5gs_hdr::extended_protocol_discriminator_5gmm;
|
|
|
|
|
|
|
|
hdr.inner_extended_protocol_discriminator = nas_5gs_hdr::extended_protocol_discriminator_5gmm;
|
|
|
|
msg_container = srslog::detail::any{dl_nas_transport_t()};
|
|
|
|
msg_container = srslog::detail::any{dl_nas_transport_t()};
|
|
|
|
return *srslog::detail::any_cast<dl_nas_transport_t>(&msg_container);
|
|
|
|
return *srslog::detail::any_cast<dl_nas_transport_t>(&msg_container);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
pdu_session_establishment_request_t& set_pdu_session_establishment_request()
|
|
|
|
pdu_session_establishment_request_t& set_pdu_session_establishment_request()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
set(msg_types::options::pdu_session_establishment_request);
|
|
|
|
set(msg_types::options::pdu_session_establishment_request);
|
|
|
|
|
|
|
|
hdr.extended_protocol_discriminator = nas_5gs_hdr::extended_protocol_discriminator_5gsm;
|
|
|
|
|
|
|
|
hdr.inner_extended_protocol_discriminator = nas_5gs_hdr::extended_protocol_discriminator_5gsm;
|
|
|
|
msg_container = srslog::detail::any{pdu_session_establishment_request_t()};
|
|
|
|
msg_container = srslog::detail::any{pdu_session_establishment_request_t()};
|
|
|
|
return *srslog::detail::any_cast<pdu_session_establishment_request_t>(&msg_container);
|
|
|
|
return *srslog::detail::any_cast<pdu_session_establishment_request_t>(&msg_container);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
pdu_session_establishment_accept_t& set_pdu_session_establishment_accept()
|
|
|
|
pdu_session_establishment_accept_t& set_pdu_session_establishment_accept()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
set(msg_types::options::pdu_session_establishment_accept);
|
|
|
|
set(msg_types::options::pdu_session_establishment_accept);
|
|
|
|
|
|
|
|
hdr.extended_protocol_discriminator = nas_5gs_hdr::extended_protocol_discriminator_5gsm;
|
|
|
|
|
|
|
|
hdr.inner_extended_protocol_discriminator = nas_5gs_hdr::extended_protocol_discriminator_5gsm;
|
|
|
|
msg_container = srslog::detail::any{pdu_session_establishment_accept_t()};
|
|
|
|
msg_container = srslog::detail::any{pdu_session_establishment_accept_t()};
|
|
|
|
return *srslog::detail::any_cast<pdu_session_establishment_accept_t>(&msg_container);
|
|
|
|
return *srslog::detail::any_cast<pdu_session_establishment_accept_t>(&msg_container);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
pdu_session_establishment_reject_t& set_pdu_session_establishment_reject()
|
|
|
|
pdu_session_establishment_reject_t& set_pdu_session_establishment_reject()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
set(msg_types::options::pdu_session_establishment_reject);
|
|
|
|
set(msg_types::options::pdu_session_establishment_reject);
|
|
|
|
|
|
|
|
hdr.extended_protocol_discriminator = nas_5gs_hdr::extended_protocol_discriminator_5gsm;
|
|
|
|
|
|
|
|
hdr.inner_extended_protocol_discriminator = nas_5gs_hdr::extended_protocol_discriminator_5gsm;
|
|
|
|
msg_container = srslog::detail::any{pdu_session_establishment_reject_t()};
|
|
|
|
msg_container = srslog::detail::any{pdu_session_establishment_reject_t()};
|
|
|
|
return *srslog::detail::any_cast<pdu_session_establishment_reject_t>(&msg_container);
|
|
|
|
return *srslog::detail::any_cast<pdu_session_establishment_reject_t>(&msg_container);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
pdu_session_authentication_command_t& set_pdu_session_authentication_command()
|
|
|
|
pdu_session_authentication_command_t& set_pdu_session_authentication_command()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
set(msg_types::options::pdu_session_authentication_command);
|
|
|
|
set(msg_types::options::pdu_session_authentication_command);
|
|
|
|
|
|
|
|
hdr.extended_protocol_discriminator = nas_5gs_hdr::extended_protocol_discriminator_5gsm;
|
|
|
|
|
|
|
|
hdr.inner_extended_protocol_discriminator = nas_5gs_hdr::extended_protocol_discriminator_5gsm;
|
|
|
|
msg_container = srslog::detail::any{pdu_session_authentication_command_t()};
|
|
|
|
msg_container = srslog::detail::any{pdu_session_authentication_command_t()};
|
|
|
|
return *srslog::detail::any_cast<pdu_session_authentication_command_t>(&msg_container);
|
|
|
|
return *srslog::detail::any_cast<pdu_session_authentication_command_t>(&msg_container);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
pdu_session_authentication_complete_t& set_pdu_session_authentication_complete()
|
|
|
|
pdu_session_authentication_complete_t& set_pdu_session_authentication_complete()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
set(msg_types::options::pdu_session_authentication_complete);
|
|
|
|
set(msg_types::options::pdu_session_authentication_complete);
|
|
|
|
|
|
|
|
hdr.extended_protocol_discriminator = nas_5gs_hdr::extended_protocol_discriminator_5gsm;
|
|
|
|
|
|
|
|
hdr.inner_extended_protocol_discriminator = nas_5gs_hdr::extended_protocol_discriminator_5gsm;
|
|
|
|
msg_container = srslog::detail::any{pdu_session_authentication_complete_t()};
|
|
|
|
msg_container = srslog::detail::any{pdu_session_authentication_complete_t()};
|
|
|
|
return *srslog::detail::any_cast<pdu_session_authentication_complete_t>(&msg_container);
|
|
|
|
return *srslog::detail::any_cast<pdu_session_authentication_complete_t>(&msg_container);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
pdu_session_authentication_result_t& set_pdu_session_authentication_result()
|
|
|
|
pdu_session_authentication_result_t& set_pdu_session_authentication_result()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
set(msg_types::options::pdu_session_authentication_result);
|
|
|
|
set(msg_types::options::pdu_session_authentication_result);
|
|
|
|
|
|
|
|
hdr.extended_protocol_discriminator = nas_5gs_hdr::extended_protocol_discriminator_5gsm;
|
|
|
|
|
|
|
|
hdr.inner_extended_protocol_discriminator = nas_5gs_hdr::extended_protocol_discriminator_5gsm;
|
|
|
|
msg_container = srslog::detail::any{pdu_session_authentication_result_t()};
|
|
|
|
msg_container = srslog::detail::any{pdu_session_authentication_result_t()};
|
|
|
|
return *srslog::detail::any_cast<pdu_session_authentication_result_t>(&msg_container);
|
|
|
|
return *srslog::detail::any_cast<pdu_session_authentication_result_t>(&msg_container);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
pdu_session_modification_request_t& set_pdu_session_modification_request()
|
|
|
|
pdu_session_modification_request_t& set_pdu_session_modification_request()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
set(msg_types::options::pdu_session_modification_request);
|
|
|
|
set(msg_types::options::pdu_session_modification_request);
|
|
|
|
|
|
|
|
hdr.extended_protocol_discriminator = nas_5gs_hdr::extended_protocol_discriminator_5gsm;
|
|
|
|
|
|
|
|
hdr.inner_extended_protocol_discriminator = nas_5gs_hdr::extended_protocol_discriminator_5gsm;
|
|
|
|
msg_container = srslog::detail::any{pdu_session_modification_request_t()};
|
|
|
|
msg_container = srslog::detail::any{pdu_session_modification_request_t()};
|
|
|
|
return *srslog::detail::any_cast<pdu_session_modification_request_t>(&msg_container);
|
|
|
|
return *srslog::detail::any_cast<pdu_session_modification_request_t>(&msg_container);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
pdu_session_modification_reject_t& set_pdu_session_modification_reject()
|
|
|
|
pdu_session_modification_reject_t& set_pdu_session_modification_reject()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
set(msg_types::options::pdu_session_modification_reject);
|
|
|
|
set(msg_types::options::pdu_session_modification_reject);
|
|
|
|
|
|
|
|
hdr.extended_protocol_discriminator = nas_5gs_hdr::extended_protocol_discriminator_5gsm;
|
|
|
|
|
|
|
|
hdr.inner_extended_protocol_discriminator = nas_5gs_hdr::extended_protocol_discriminator_5gsm;
|
|
|
|
msg_container = srslog::detail::any{pdu_session_modification_reject_t()};
|
|
|
|
msg_container = srslog::detail::any{pdu_session_modification_reject_t()};
|
|
|
|
return *srslog::detail::any_cast<pdu_session_modification_reject_t>(&msg_container);
|
|
|
|
return *srslog::detail::any_cast<pdu_session_modification_reject_t>(&msg_container);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
pdu_session_modification_command_t& set_pdu_session_modification_command()
|
|
|
|
pdu_session_modification_command_t& set_pdu_session_modification_command()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
set(msg_types::options::pdu_session_modification_command);
|
|
|
|
set(msg_types::options::pdu_session_modification_command);
|
|
|
|
|
|
|
|
hdr.extended_protocol_discriminator = nas_5gs_hdr::extended_protocol_discriminator_5gsm;
|
|
|
|
|
|
|
|
hdr.inner_extended_protocol_discriminator = nas_5gs_hdr::extended_protocol_discriminator_5gsm;
|
|
|
|
msg_container = srslog::detail::any{pdu_session_modification_command_t()};
|
|
|
|
msg_container = srslog::detail::any{pdu_session_modification_command_t()};
|
|
|
|
return *srslog::detail::any_cast<pdu_session_modification_command_t>(&msg_container);
|
|
|
|
return *srslog::detail::any_cast<pdu_session_modification_command_t>(&msg_container);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
pdu_session_modification_complete_t& set_pdu_session_modification_complete()
|
|
|
|
pdu_session_modification_complete_t& set_pdu_session_modification_complete()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
set(msg_types::options::pdu_session_modification_complete);
|
|
|
|
set(msg_types::options::pdu_session_modification_complete);
|
|
|
|
|
|
|
|
hdr.extended_protocol_discriminator = nas_5gs_hdr::extended_protocol_discriminator_5gsm;
|
|
|
|
|
|
|
|
hdr.inner_extended_protocol_discriminator = nas_5gs_hdr::extended_protocol_discriminator_5gsm;
|
|
|
|
msg_container = srslog::detail::any{pdu_session_modification_complete_t()};
|
|
|
|
msg_container = srslog::detail::any{pdu_session_modification_complete_t()};
|
|
|
|
return *srslog::detail::any_cast<pdu_session_modification_complete_t>(&msg_container);
|
|
|
|
return *srslog::detail::any_cast<pdu_session_modification_complete_t>(&msg_container);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
pdu_session_modification_command_reject_t& set_pdu_session_modification_command_reject()
|
|
|
|
pdu_session_modification_command_reject_t& set_pdu_session_modification_command_reject()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
set(msg_types::options::pdu_session_modification_command_reject);
|
|
|
|
set(msg_types::options::pdu_session_modification_command_reject);
|
|
|
|
|
|
|
|
hdr.extended_protocol_discriminator = nas_5gs_hdr::extended_protocol_discriminator_5gsm;
|
|
|
|
|
|
|
|
hdr.inner_extended_protocol_discriminator = nas_5gs_hdr::extended_protocol_discriminator_5gsm;
|
|
|
|
msg_container = srslog::detail::any{pdu_session_modification_command_reject_t()};
|
|
|
|
msg_container = srslog::detail::any{pdu_session_modification_command_reject_t()};
|
|
|
|
return *srslog::detail::any_cast<pdu_session_modification_command_reject_t>(&msg_container);
|
|
|
|
return *srslog::detail::any_cast<pdu_session_modification_command_reject_t>(&msg_container);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
pdu_session_release_request_t& set_pdu_session_release_request()
|
|
|
|
pdu_session_release_request_t& set_pdu_session_release_request()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
set(msg_types::options::pdu_session_release_request);
|
|
|
|
set(msg_types::options::pdu_session_release_request);
|
|
|
|
|
|
|
|
hdr.extended_protocol_discriminator = nas_5gs_hdr::extended_protocol_discriminator_5gsm;
|
|
|
|
|
|
|
|
hdr.inner_extended_protocol_discriminator = nas_5gs_hdr::extended_protocol_discriminator_5gsm;
|
|
|
|
msg_container = srslog::detail::any{pdu_session_release_request_t()};
|
|
|
|
msg_container = srslog::detail::any{pdu_session_release_request_t()};
|
|
|
|
return *srslog::detail::any_cast<pdu_session_release_request_t>(&msg_container);
|
|
|
|
return *srslog::detail::any_cast<pdu_session_release_request_t>(&msg_container);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
pdu_session_release_reject_t& set_pdu_session_release_reject()
|
|
|
|
pdu_session_release_reject_t& set_pdu_session_release_reject()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
set(msg_types::options::pdu_session_release_reject);
|
|
|
|
set(msg_types::options::pdu_session_release_reject);
|
|
|
|
|
|
|
|
hdr.extended_protocol_discriminator = nas_5gs_hdr::extended_protocol_discriminator_5gsm;
|
|
|
|
|
|
|
|
hdr.inner_extended_protocol_discriminator = nas_5gs_hdr::extended_protocol_discriminator_5gsm;
|
|
|
|
msg_container = srslog::detail::any{pdu_session_release_reject_t()};
|
|
|
|
msg_container = srslog::detail::any{pdu_session_release_reject_t()};
|
|
|
|
return *srslog::detail::any_cast<pdu_session_release_reject_t>(&msg_container);
|
|
|
|
return *srslog::detail::any_cast<pdu_session_release_reject_t>(&msg_container);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
pdu_session_release_command_t& set_pdu_session_release_command()
|
|
|
|
pdu_session_release_command_t& set_pdu_session_release_command()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
set(msg_types::options::pdu_session_release_command);
|
|
|
|
set(msg_types::options::pdu_session_release_command);
|
|
|
|
|
|
|
|
hdr.extended_protocol_discriminator = nas_5gs_hdr::extended_protocol_discriminator_5gsm;
|
|
|
|
|
|
|
|
hdr.inner_extended_protocol_discriminator = nas_5gs_hdr::extended_protocol_discriminator_5gsm;
|
|
|
|
msg_container = srslog::detail::any{pdu_session_release_command_t()};
|
|
|
|
msg_container = srslog::detail::any{pdu_session_release_command_t()};
|
|
|
|
return *srslog::detail::any_cast<pdu_session_release_command_t>(&msg_container);
|
|
|
|
return *srslog::detail::any_cast<pdu_session_release_command_t>(&msg_container);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
pdu_session_release_complete_t& set_pdu_session_release_complete()
|
|
|
|
pdu_session_release_complete_t& set_pdu_session_release_complete()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
set(msg_types::options::pdu_session_release_complete);
|
|
|
|
set(msg_types::options::pdu_session_release_complete);
|
|
|
|
|
|
|
|
hdr.extended_protocol_discriminator = nas_5gs_hdr::extended_protocol_discriminator_5gsm;
|
|
|
|
|
|
|
|
hdr.inner_extended_protocol_discriminator = nas_5gs_hdr::extended_protocol_discriminator_5gsm;
|
|
|
|
msg_container = srslog::detail::any{pdu_session_release_complete_t()};
|
|
|
|
msg_container = srslog::detail::any{pdu_session_release_complete_t()};
|
|
|
|
return *srslog::detail::any_cast<pdu_session_release_complete_t>(&msg_container);
|
|
|
|
return *srslog::detail::any_cast<pdu_session_release_complete_t>(&msg_container);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
status_5gsm_t& set_status_5gsm()
|
|
|
|
status_5gsm_t& set_status_5gsm()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
set(msg_types::options::status_5gsm);
|
|
|
|
set(msg_types::options::status_5gsm);
|
|
|
|
|
|
|
|
hdr.extended_protocol_discriminator = nas_5gs_hdr::extended_protocol_discriminator_5gsm;
|
|
|
|
|
|
|
|
hdr.inner_extended_protocol_discriminator = nas_5gs_hdr::extended_protocol_discriminator_5gsm;
|
|
|
|
msg_container = srslog::detail::any{status_5gsm_t()};
|
|
|
|
msg_container = srslog::detail::any{status_5gsm_t()};
|
|
|
|
return *srslog::detail::any_cast<status_5gsm_t>(&msg_container);
|
|
|
|
return *srslog::detail::any_cast<status_5gsm_t>(&msg_container);
|
|
|
|
}
|
|
|
|
}
|
|
|
|