libosmogsm 1.11.0.26-c59d.202505152026
Osmocom GSM library
|
#include <osmocom/core/msgb.h>
#include <osmocom/gsm/gsm23003.h>
#include <osmocom/gsm/protocol/gsm_29_118.h>
#include <osmocom/gsm/protocol/gsm_04_08.h>
Go to the source code of this file.
Data Structures | |
struct | gsm29118_paging_req |
3GPP TS 3GPP TS 29.018 8.14 SGsAP-PAGING-REQUEST. More... | |
struct | gsm29118_reset_msg |
3GPP TS 3GPP TS 29.018 8.15 SGsAP-RESET-ACK and 8.16 SGsAP-RESET-INDICATION. More... | |
References create_simple_msg(), and SGSAP_MSGT_ALERT_REQ.
References gsm29118_msgb_alloc(), len, msg, msgb_sgsap_imsi_put(), msgb_tlv_put(), SGSAP_IE_NAS_MSG_CONTAINER, and SGSAP_MSGT_DL_UD.
References create_simple_msg(), and SGSAP_MSGT_EPS_DET_ACK.
References create_simple_msg(), and SGSAP_MSGT_IMSI_DET_ACK.
struct msgb * gsm29118_create_lu_ack | ( | const char * | imsi, |
const struct osmo_location_area_id * | lai, | ||
const uint8_t * | new_id, | ||
unsigned int | new_id_len | ||
) |
8.9 SGsAP-LOCATION-UPDATE-ACCEPT.
[in] | imsi | IMSI of the subscriber. |
[in] | lai | Location Area Identity (optional, may be NULL). |
[in] | new_id | value part of new Mobile Identity (optional, may be NULL). |
[in] | new_id_len | length of new_id in octets. |
References gsm29118_msgb_alloc(), lai, len, msg, msgb_sgsap_imsi_put(), msgb_sgsap_lai_put(), msgb_tlv_put(), SGSAP_IE_MOBILE_ID, and SGSAP_MSGT_LOC_UPD_ACK.
struct msgb * gsm29118_create_lu_rej | ( | const char * | imsi, |
uint8_t | rej_cause, | ||
const struct osmo_location_area_id * | lai | ||
) |
References gsm29118_msgb_alloc(), lai, len, msg, msgb_sgsap_imsi_put(), msgb_sgsap_lai_put(), msgb_tlv_put(), SGSAP_IE_REJECT_CAUSE, and SGSAP_MSGT_LOC_UPD_REJ.
struct msgb * gsm29118_create_mm_info_req | ( | const char * | imsi, |
const uint8_t * | mm_info, | ||
uint8_t | mm_info_len | ||
) |
References gsm29118_msgb_alloc(), len, msg, msgb_sgsap_imsi_put(), msgb_tlv_put(), SGSAP_IE_MM_INFO, and SGSAP_MSGT_MM_INFO_REQ.
struct msgb * gsm29118_create_paging_req | ( | struct gsm29118_paging_req * | params | ) |
References gsm29118_msgb_alloc(), len, msg, msgb_sgsap_imsi_put(), msgb_tlv_put(), SGSAP_IE_SGS_CAUSE, and SGSAP_MSGT_RELEASE_REQ.
struct msgb * gsm29118_create_reset_ack | ( | struct gsm29118_reset_msg * | params | ) |
References gsm29118_msgb_alloc(), len, msg, msgb_free(), msgb_sgsap_name_put(), params, SGSAP_IE_MME_NAME, SGSAP_IE_VLR_NAME, and SGSAP_MSGT_RESET_ACK.
struct msgb * gsm29118_create_reset_ind | ( | struct gsm29118_reset_msg * | params | ) |
References gsm29118_msgb_alloc(), len, msg, msgb_free(), msgb_sgsap_name_put(), params, SGSAP_IE_MME_NAME, SGSAP_IE_VLR_NAME, and SGSAP_MSGT_RESET_IND.
References create_simple_msg(), and SGSAP_MSGT_SERVICE_ABORT_REQ.
struct msgb * gsm29118_create_status | ( | const char * | imsi, |
enum sgsap_sgs_cause | cause, | ||
const struct msgb * | err_msg | ||
) |
References cause, gsm29118_msgb_alloc(), len, msg, msgb_l2, msgb_sgsap_imsi_put(), msgb_tlv_put(), SGSAP_IE_ERR_MSG, SGSAP_IE_SGS_CAUSE, and SGSAP_MSGT_STATUS.