blob: b721045e766e63bb84a2007cf5ada8987b21366a [file] [log] [blame]
Harald Weltef8db61b2015-12-18 17:29:59 +01001#pragma once
2
3/*! \brief generate RANAP DIRECT TRANSFER message */
4struct msgb *ranap_new_msg_dt(uint8_t sapi, const uint8_t *nas, unsigned int nas_len);
5
6/*! \brief generate RANAP SECURITY MODE COMMAND message */
7struct msgb *ranap_new_msg_sec_mod_cmd(const uint8_t *ik, const uint8_t *ck);
8
9/*! \brief generate RANAP COMMON ID message */
10struct msgb *ranap_new_msg_common_id(const char *imsi);
11
12/*! \brief generate RANAP IU RELEASE COMMAND message */
13struct msgb *ranap_new_msg_iu_rel_cmd(const RANAP_Cause_t *cause_in);
14
15/*! \brief generate RANAP PAGING COMMAND message */
16struct msgb *ranap_new_msg_paging_cmd(const char *imsi, const uint32_t *tmsi, int is_ps, uint32_t cause);
17
18/*! \brief generate RANAP RAB ASSIGNMENT REQUEST message for CS (voice) */
19struct msgb *ranap_new_msg_rab_assign_voice(uint8_t rab_id, uint32_t rtp_ip, uint16_t rtp_port);
20
21/*! \brief generate RANAP RAB ASSIGNMENT REQUEST message for PS (data) */
22struct msgb *ranap_new_msg_rab_assign_data(uint8_t rab_id, uint32_t gtp_ip, uint32_t gtp_tei);