From 0bb5674cde008af942a0bfaefc9855b09117df34 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sun, 17 May 2015 19:56:38 +0200 Subject: gsup: Decode/Encode the hlr-Number in the GSUP message Implement it similar to the msisdn_enc/msisdn_enc_len and extend the testcase to include it as well. --- openbsc/include/openbsc/gprs_gsup_messages.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'openbsc/include') diff --git a/openbsc/include/openbsc/gprs_gsup_messages.h b/openbsc/include/openbsc/gprs_gsup_messages.h index 123e1fc05..8cbc809f7 100644 --- a/openbsc/include/openbsc/gprs_gsup_messages.h +++ b/openbsc/include/openbsc/gprs_gsup_messages.h @@ -42,6 +42,7 @@ enum gprs_gsup_iei { GPRS_GSUP_CANCEL_TYPE_IE = 0x06, GPRS_GSUP_FREEZE_PTMSI_IE = 0x07, GPRS_GSUP_MSISDN_IE = 0x08, + GPRS_GSUP_HLR_NUMBER_IE = 0x09, GPRS_GSUP_PDP_CONTEXT_ID_IE = 0x10, GPRS_GSUP_PDP_TYPE_IE = 0x11, GPRS_GSUP_ACCESS_POINT_NAME_IE = 0x12, @@ -109,6 +110,8 @@ struct gprs_gsup_message { size_t num_pdp_infos; const uint8_t *msisdn_enc; size_t msisdn_enc_len; + const uint8_t *hlr_enc; + size_t hlr_enc_len; }; int gprs_gsup_decode(const uint8_t *data, size_t data_len, -- cgit v1.2.3