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_PATH_H
|
|
|
|
#define MME_S11_PATH_H
|
2017-03-23 14:05:40 +00:00
|
|
|
|
2019-06-11 13:10:47 +00:00
|
|
|
#include "mme-context.h"
|
2017-09-07 06:56:31 +00:00
|
|
|
|
2017-03-23 14:05:40 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
2019-07-11 12:53:54 +00:00
|
|
|
#endif
|
2017-03-23 14:05:40 +00:00
|
|
|
|
2019-10-27 08:41:14 +00:00
|
|
|
int mme_gtp_open(void);
|
|
|
|
void mme_gtp_close(void);
|
2017-03-23 14:05:40 +00:00
|
|
|
|
2022-04-14 08:34:55 +00:00
|
|
|
int mme_gtp_send_create_session_request(mme_sess_t *sess, int create_action);
|
2021-05-16 03:22:10 +00:00
|
|
|
int mme_gtp_send_modify_bearer_request(mme_bearer_t *bearer, int uli_presence);
|
|
|
|
int mme_gtp_send_delete_session_request(mme_sess_t *sess, int action);
|
2020-10-22 21:53:13 +00:00
|
|
|
void mme_gtp_send_delete_all_sessions(mme_ue_t *mme_ue, int action);
|
2021-05-16 03:22:10 +00:00
|
|
|
int mme_gtp_send_create_bearer_response(
|
2020-11-07 22:27:12 +00:00
|
|
|
mme_bearer_t *bearer, uint8_t cause_value);
|
2021-05-16 03:22:10 +00:00
|
|
|
int mme_gtp_send_update_bearer_response(
|
2020-11-07 22:27:12 +00:00
|
|
|
mme_bearer_t *bearer, uint8_t cause_value);
|
2021-05-16 03:22:10 +00:00
|
|
|
int mme_gtp_send_delete_bearer_response(
|
2020-11-07 22:27:12 +00:00
|
|
|
mme_bearer_t *bearer, uint8_t cause_value);
|
2021-05-16 03:22:10 +00:00
|
|
|
int mme_gtp_send_release_access_bearers_request(mme_ue_t *mme_ue, int action);
|
2020-11-07 22:27:12 +00:00
|
|
|
void mme_gtp_send_release_all_ue_in_enb(mme_enb_t *enb, int action);
|
|
|
|
|
2021-05-16 03:22:10 +00:00
|
|
|
int mme_gtp_send_downlink_data_notification_ack(
|
2020-11-07 22:27:12 +00:00
|
|
|
mme_bearer_t *bearer, uint8_t cause_value);
|
2019-04-27 14:54:30 +00:00
|
|
|
|
2021-05-16 03:22:10 +00:00
|
|
|
int mme_gtp_send_create_indirect_data_forwarding_tunnel_request(
|
2017-09-13 07:22:39 +00:00
|
|
|
mme_ue_t *mme_ue);
|
2021-05-16 03:22:10 +00:00
|
|
|
int mme_gtp_send_delete_indirect_data_forwarding_tunnel_request(
|
2021-02-01 04:01:15 +00:00
|
|
|
mme_ue_t *mme_ue, int action);
|
2017-09-07 06:56:31 +00:00
|
|
|
|
2021-05-16 03:22:10 +00:00
|
|
|
int mme_gtp_send_bearer_resource_command(
|
2020-05-23 02:24:48 +00:00
|
|
|
mme_bearer_t *bearer, ogs_nas_eps_message_t *nas_message);
|
2019-12-28 12:46:30 +00:00
|
|
|
|
2017-03-23 14:05:40 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
2019-07-11 12:53:54 +00:00
|
|
|
#endif
|
2017-03-23 14:05:40 +00:00
|
|
|
|
2022-03-16 11:48:48 +00:00
|
|
|
#endif /* MME_S11_PATH_H */
|