2017-03-08 06:27:48 +00:00
|
|
|
#ifndef __S1AP_BUILD_H__
|
|
|
|
#define __S1AP_BUILD_H__
|
2017-02-06 10:12:10 +00:00
|
|
|
|
2017-02-15 11:16:50 +00:00
|
|
|
#include "s1ap_message.h"
|
2017-04-13 03:21:47 +00:00
|
|
|
#include "mme_context.h"
|
2017-02-06 10:12:10 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif /* __cplusplus */
|
|
|
|
|
|
|
|
CORE_DECLARE(status_t) s1ap_build_setup_rsp(pkbuf_t **pkbuf);
|
2017-02-13 11:10:05 +00:00
|
|
|
CORE_DECLARE(status_t) s1ap_build_setup_failure(
|
2017-09-11 12:14:55 +00:00
|
|
|
pkbuf_t **pkbuf, S1ap_Cause_t cause);
|
2017-04-13 08:46:26 +00:00
|
|
|
CORE_DECLARE(status_t) s1ap_build_downlink_nas_transport(
|
2017-09-11 12:14:55 +00:00
|
|
|
pkbuf_t **s1apbuf, enb_ue_t *enb_ue, pkbuf_t *emmbuf);
|
2017-04-13 03:21:47 +00:00
|
|
|
CORE_DECLARE(status_t) s1ap_build_initial_context_setup_request(
|
2017-09-11 12:14:55 +00:00
|
|
|
pkbuf_t **s1apbuf, mme_ue_t *mme_ue, pkbuf_t *emmbuf);
|
2017-09-04 15:04:05 +00:00
|
|
|
CORE_DECLARE(status_t) s1ap_build_e_rab_setup_request(
|
2017-09-11 12:14:55 +00:00
|
|
|
pkbuf_t **s1apbuf, mme_bearer_t *bearer, pkbuf_t *esmbuf);
|
2017-09-07 14:41:05 +00:00
|
|
|
CORE_DECLARE(status_t) s1ap_build_e_rab_release_command(pkbuf_t **s1apbuf,
|
2017-09-11 12:14:55 +00:00
|
|
|
mme_bearer_t *bearer, pkbuf_t *esmbuf, S1ap_Cause_t *cause);
|
2017-04-28 04:46:16 +00:00
|
|
|
CORE_DECLARE(status_t) s1ap_build_ue_context_release_commmand(
|
2017-09-11 12:14:55 +00:00
|
|
|
pkbuf_t **s1apbuf, enb_ue_t *enb_ue, S1ap_Cause_t *cause);
|
2017-08-04 21:34:52 +00:00
|
|
|
CORE_DECLARE(status_t) s1ap_build_paging(pkbuf_t **s1apbuf, mme_ue_t *mme_ue);
|
2017-02-06 10:12:10 +00:00
|
|
|
|
2017-09-11 12:14:55 +00:00
|
|
|
CORE_DECLARE(status_t) s1ap_build_path_switch_ack(
|
|
|
|
pkbuf_t **s1apbuf, mme_ue_t *mme_ue);
|
|
|
|
CORE_DECLARE(status_t) s1ap_build_path_switch_failure(pkbuf_t **s1apbuf,
|
|
|
|
c_uint32_t enb_ue_s1ap_id, c_uint32_t mme_ue_s1ap_id, S1ap_Cause_t *cause);
|
|
|
|
|
2017-02-06 10:12:10 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif /* __cplusplus */
|
|
|
|
|
2017-03-08 06:27:48 +00:00
|
|
|
#endif /* __S1AP_BUILD_H__ */
|