mirror of https://github.com/pvnis/srsRAN_4G.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
59 lines
1.6 KiB
C++
59 lines
1.6 KiB
C++
/*
|
|
* \section LICENSE
|
|
*
|
|
* This file is part of srsLTE.
|
|
*
|
|
* srsLTE 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.
|
|
*
|
|
* srsLTE 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 Affero General Public License for more details.
|
|
*
|
|
* A copy of the GNU Affero General Public License can be found in
|
|
* the LICENSE file in the top-level directory of this distribution
|
|
* and at http://www.gnu.org/licenses/.
|
|
*
|
|
*/
|
|
#ifndef SRSLTE_EPC_INTERFACES_H
|
|
#define SRSLTE_EPC_INTERFACES_H
|
|
|
|
namespace srsepc {
|
|
|
|
//GTP-C -> NAS
|
|
class gtpc_interface_nas
|
|
{
|
|
public:
|
|
virtual bool send_delete_session_request(uint64_t imsi) = 0;
|
|
};
|
|
|
|
//GTP-C -> S1AP
|
|
class s1ap_interface_gtpc
|
|
{
|
|
public:
|
|
virtual bool send_initial_context_setup_request(uint64_t imsi, uint16_t erab_to_setup) = 0;
|
|
};
|
|
|
|
//NAS -> S1AP
|
|
class s1ap_interface_nas
|
|
{
|
|
public:
|
|
virtual bool send_initial_context_setup_request(uint64_t imsi, uint16_t erab_to_setup) = 0;
|
|
virtual bool send_ue_context_release_command(uint32_t mme_ue_s1ap_id) = 0;
|
|
};
|
|
|
|
//S1AP -> HSS
|
|
class hss_interface_s1ap
|
|
{
|
|
public:
|
|
virtual bool gen_auth_info_answer(uint64_t imsi, uint8_t *k_asme, uint8_t *autn, uint8_t *rand, uint8_t *xres) = 0;
|
|
virtual bool gen_update_loc_answer(uint64_t imsi, uint8_t *qci) = 0;
|
|
virtual bool resync_sqn(uint64_t imsi, uint8_t *auts) = 0;
|
|
};
|
|
|
|
}
|
|
#endif // SRSLTE_EPC_INTERFACES_H
|