2019-07-11 12:53:54 +00:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2019 by Sukchan Lee <acetcom@gmail.com>
|
|
|
|
*
|
|
|
|
* This file is part of Open5GS.
|
|
|
|
*
|
|
|
|
* This program is free software: you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU Affero General Public License as published by
|
|
|
|
* the Free Software Foundation, either version 3 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef MME_S11_HANDLER_H
|
|
|
|
#define MME_S11_HANDLER_H
|
2017-04-12 12:44:18 +00:00
|
|
|
|
2019-06-11 13:10:47 +00:00
|
|
|
#include "mme-context.h"
|
2017-04-12 12:44:18 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
2019-07-11 12:53:54 +00:00
|
|
|
#endif
|
2017-04-12 12:44:18 +00:00
|
|
|
|
2020-03-25 21:43:02 +00:00
|
|
|
void mme_s11_handle_echo_request(
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_gtp_xact_t *xact, ogs_gtp2_echo_request_t *req);
|
2020-03-25 21:43:02 +00:00
|
|
|
void mme_s11_handle_echo_response(
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_gtp_xact_t *xact, ogs_gtp2_echo_response_t *rsp);
|
2019-04-27 14:54:30 +00:00
|
|
|
void mme_s11_handle_create_session_response(
|
2022-05-12 13:52:36 +00:00
|
|
|
ogs_gtp_xact_t *xact, mme_ue_t *mme_ue,
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_gtp2_create_session_response_t *rsp);
|
2019-04-27 14:54:30 +00:00
|
|
|
void mme_s11_handle_modify_bearer_response(
|
2022-05-12 13:52:36 +00:00
|
|
|
ogs_gtp_xact_t *xact, mme_ue_t *mme_ue,
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_gtp2_modify_bearer_response_t *rsp);
|
2019-04-27 14:54:30 +00:00
|
|
|
void mme_s11_handle_delete_session_response(
|
2022-05-12 13:52:36 +00:00
|
|
|
ogs_gtp_xact_t *xact, mme_ue_t *mme_ue,
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_gtp2_delete_session_response_t *rsp);
|
2019-04-27 14:54:30 +00:00
|
|
|
void mme_s11_handle_create_bearer_request(
|
2022-05-12 13:52:36 +00:00
|
|
|
ogs_gtp_xact_t *xact, mme_ue_t *mme_ue,
|
2022-06-29 12:15:51 +00:00
|
|
|
ogs_gtp2_create_bearer_request_t *req);
|
2019-04-27 14:54:30 +00:00
|
|
|
void mme_s11_handle_update_bearer_request(
|
2022-05-12 13:52:36 +00:00
|
|
|
ogs_gtp_xact_t *xact, mme_ue_t *mme_ue,
|
2022-06-29 12:15:51 +00:00
|
|
|
ogs_gtp2_update_bearer_request_t *req);
|
2019-04-27 14:54:30 +00:00
|
|
|
void mme_s11_handle_delete_bearer_request(
|
2022-05-12 13:52:36 +00:00
|
|
|
ogs_gtp_xact_t *xact, mme_ue_t *mme_ue,
|
2022-06-29 12:15:51 +00:00
|
|
|
ogs_gtp2_delete_bearer_request_t *req);
|
2017-08-27 07:30:10 +00:00
|
|
|
|
2019-04-27 14:54:30 +00:00
|
|
|
void mme_s11_handle_release_access_bearers_response(
|
2022-05-12 13:52:36 +00:00
|
|
|
ogs_gtp_xact_t *xact, mme_ue_t *mme_ue,
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_gtp2_release_access_bearers_response_t *rsp);
|
2019-04-27 14:54:30 +00:00
|
|
|
void mme_s11_handle_downlink_data_notification(
|
2022-05-12 13:52:36 +00:00
|
|
|
ogs_gtp_xact_t *xact, mme_ue_t *mme_ue,
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_gtp2_downlink_data_notification_t *noti);
|
2019-04-27 14:54:30 +00:00
|
|
|
void mme_s11_handle_create_indirect_data_forwarding_tunnel_response(
|
2022-05-12 13:52:36 +00:00
|
|
|
ogs_gtp_xact_t *xact, mme_ue_t *mme_ue,
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_gtp2_create_indirect_data_forwarding_tunnel_response_t *rsp);
|
2019-04-27 14:54:30 +00:00
|
|
|
void mme_s11_handle_delete_indirect_data_forwarding_tunnel_response(
|
2022-05-12 13:52:36 +00:00
|
|
|
ogs_gtp_xact_t *xact, mme_ue_t *mme_ue,
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_gtp2_delete_indirect_data_forwarding_tunnel_response_t *rsp);
|
2017-04-12 12:44:18 +00:00
|
|
|
|
2019-12-28 12:46:30 +00:00
|
|
|
void mme_s11_handle_bearer_resource_failure_indication(
|
2022-05-12 13:52:36 +00:00
|
|
|
ogs_gtp_xact_t *xact, mme_ue_t *mme_ue,
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_gtp2_bearer_resource_failure_indication_t *ind);
|
2019-12-28 12:46:30 +00:00
|
|
|
|
2017-04-12 12:44:18 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
2019-07-11 12:53:54 +00:00
|
|
|
#endif
|
2017-04-12 12:44:18 +00:00
|
|
|
|
2019-07-11 12:53:54 +00:00
|
|
|
#endif /* MME_S11_HANDLER_H */
|