open5gs/src/mme/mme-gtp-path.h

61 lines
2.1 KiB
C
Raw Normal View History

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
int mme_gtp_open(void);
void mme_gtp_close(void);
2017-03-23 14:05:40 +00:00
int mme_gtp_send_create_session_request(mme_sess_t *sess, int create_action);
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);
void mme_gtp_send_delete_all_sessions(mme_ue_t *mme_ue, int action);
int mme_gtp_send_create_bearer_response(
2020-11-07 22:27:12 +00:00
mme_bearer_t *bearer, uint8_t cause_value);
int mme_gtp_send_update_bearer_response(
2020-11-07 22:27:12 +00:00
mme_bearer_t *bearer, uint8_t cause_value);
int mme_gtp_send_delete_bearer_response(
2020-11-07 22:27:12 +00:00
mme_bearer_t *bearer, uint8_t cause_value);
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);
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
int mme_gtp_send_create_indirect_data_forwarding_tunnel_request(
mme_ue_t *mme_ue);
int mme_gtp_send_delete_indirect_data_forwarding_tunnel_request(
mme_ue_t *mme_ue, int action);
2017-09-07 06:56:31 +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);
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
#endif /* MME_S11_PATH_H */