2019-09-13 12:07:47 +00:00
|
|
|
/*
|
[GTP/PFCP]] incorrect dst TEI=0/SEID=0 (#3043)
If eg. PCRF or AAA diameter link is not yet ready (eg. PCRF crashed), and
a client sends a CreateSessionRequest announcing its ow F-TEID,
then open5gs-smfd answers with Create Session Response Cause=
"Remote peer not responding", but it is not setting the received F-TEID
in the header of the response, instead it sends with TEI=0.
As a result, the peer cannot match the CreateSessionResponse, and needs
to rely on its own timeout timer to figure out that specific request failed.
This also happens in PFCP, so to solve this problem, I added teid/seid_presence
to the interface that sends the error message as shown below.
void ogs_gtp2_send_error_message(ogs_gtp_xact_t *xact,
int teid_presence, uint32_t teid, uint8_t type, uint8_t cause_value);
void ogs_pfcp_send_error_message(
ogs_pfcp_xact_t *xact, int seid_presence, uint64_t seid, uint8_t type,
uint8_t cause_value, uint16_t offending_ie_value);
2024-03-23 01:00:08 +00:00
|
|
|
* Copyright (C) 2019-2024 by Sukchan Lee <acetcom@gmail.com>
|
2019-09-13 12:07:47 +00:00
|
|
|
*
|
|
|
|
* This file is part of Open5GS.
|
|
|
|
*
|
|
|
|
* This program 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.
|
|
|
|
*
|
|
|
|
* This program 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 General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/*******************************************************************************
|
|
|
|
* This file had been created by gtp-tlv.py script v0.1.0
|
|
|
|
* Please do not modify this file but regenerate it via script.
|
[GTP/PFCP]] incorrect dst TEI=0/SEID=0 (#3043)
If eg. PCRF or AAA diameter link is not yet ready (eg. PCRF crashed), and
a client sends a CreateSessionRequest announcing its ow F-TEID,
then open5gs-smfd answers with Create Session Response Cause=
"Remote peer not responding", but it is not setting the received F-TEID
in the header of the response, instead it sends with TEI=0.
As a result, the peer cannot match the CreateSessionResponse, and needs
to rely on its own timeout timer to figure out that specific request failed.
This also happens in PFCP, so to solve this problem, I added teid/seid_presence
to the interface that sends the error message as shown below.
void ogs_gtp2_send_error_message(ogs_gtp_xact_t *xact,
int teid_presence, uint32_t teid, uint8_t type, uint8_t cause_value);
void ogs_pfcp_send_error_message(
ogs_pfcp_xact_t *xact, int seid_presence, uint64_t seid, uint8_t type,
uint8_t cause_value, uint16_t offending_ie_value);
2024-03-23 01:00:08 +00:00
|
|
|
* Created on: 2024-03-23 07:21:22.444548 by acetcom
|
2023-03-05 03:37:14 +00:00
|
|
|
* from 29274-h70.docx
|
2019-09-13 12:07:47 +00:00
|
|
|
******************************************************************************/
|
|
|
|
|
|
|
|
#include "ogs-gtp.h"
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_imsi_0 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"IMSI",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_IMSI_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_imsi_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_cause_0 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"Cause",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_CAUSE_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_cause_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_recovery_0 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_UINT8,
|
|
|
|
"Recovery",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_RECOVERY_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
1,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_recovery_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_stn_sr_0 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"STN-SR",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_STN_SR_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_stn_sr_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2023-03-05 03:37:14 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_srvcc_cause_0 =
|
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"SRVCC Cause",
|
|
|
|
OGS_GTP2_SRVCC_CAUSE_TYPE,
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
sizeof(ogs_gtp2_tlv_srvcc_cause_t),
|
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_apn_0 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"APN",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_APN_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_apn_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_ambr_0 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"AMBR",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_AMBR_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_ambr_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_ebi_0 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_UINT8,
|
|
|
|
"EBI",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_EBI_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
1,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_ebi_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_ebi_1 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_UINT8,
|
|
|
|
"EBI",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_EBI_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
1,
|
|
|
|
1,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_ebi_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_ip_address_0 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"IP Address",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_IP_ADDRESS_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_ip_address_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_ip_address_1 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"IP Address",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_IP_ADDRESS_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
1,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_ip_address_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_ip_address_2 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"IP Address",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_IP_ADDRESS_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
2,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_ip_address_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_ip_address_3 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"IP Address",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_IP_ADDRESS_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
3,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_ip_address_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_mei_0 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"MEI",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_MEI_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_mei_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_msisdn_0 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"MSISDN",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_MSISDN_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_msisdn_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_indication_0 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"Indication",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_INDICATION_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_indication_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_pco_0 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"PCO",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_PCO_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_pco_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_paa_0 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"PAA",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_PAA_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_paa_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_bearer_qos_0 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"Bearer QoS",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_BEARER_QOS_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_bearer_qos_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_flow_qos_0 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"Flow QoS",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_FLOW_QOS_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_flow_qos_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_rat_type_0 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_UINT8,
|
|
|
|
"RAT Type",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_RAT_TYPE_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
1,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_rat_type_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_serving_network_0 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"Serving Network",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_SERVING_NETWORK_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_serving_network_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_bearer_tft_0 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"Bearer TFT",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_BEARER_TFT_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_bearer_tft_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_tad_0 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"TAD",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_TAD_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_tad_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_uli_0 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"ULI",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_ULI_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_uli_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_uli_1 =
|
2020-07-01 04:22:55 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"ULI",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_ULI_TYPE,
|
2020-07-01 04:22:55 +00:00
|
|
|
0,
|
|
|
|
1,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_uli_t),
|
2020-07-01 04:22:55 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_f_teid_0 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"F-TEID",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_F_TEID_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_f_teid_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_f_teid_1 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"F-TEID",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_F_TEID_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
1,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_f_teid_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_f_teid_2 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"F-TEID",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_F_TEID_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
2,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_f_teid_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_f_teid_3 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"F-TEID",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_F_TEID_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
3,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_f_teid_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_f_teid_4 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"F-TEID",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_F_TEID_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
4,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_f_teid_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_f_teid_5 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"F-TEID",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_F_TEID_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
5,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_f_teid_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_f_teid_6 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"F-TEID",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_F_TEID_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
6,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_f_teid_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_f_teid_7 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"F-TEID",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_F_TEID_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
7,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_f_teid_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_f_teid_8 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"F-TEID",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_F_TEID_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
8,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_f_teid_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_f_teid_9 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"F-TEID",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_F_TEID_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
9,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_f_teid_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_f_teid_10 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"F-TEID",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_F_TEID_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
10,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_f_teid_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_f_teid_11 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"F-TEID",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_F_TEID_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
11,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_f_teid_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_tmsi_0 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"TMSI",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_TMSI_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_tmsi_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_global_cn_id_0 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"Global CN-Id",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_GLOBAL_CN_ID_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_global_cn_id_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_s103pdf_0 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"S103PDF",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_S103PDF_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_s103pdf_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_s1udf_0 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"S1UDF",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_S1UDF_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_s1udf_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_delay_value_0 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
2021-10-16 08:26:30 +00:00
|
|
|
OGS_TLV_UINT8,
|
2019-09-13 12:07:47 +00:00
|
|
|
"Delay Value",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_DELAY_VALUE_TYPE,
|
2021-10-16 08:26:30 +00:00
|
|
|
1,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_delay_value_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_charging_id_0 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
2021-06-21 13:36:38 +00:00
|
|
|
OGS_TLV_UINT32,
|
2019-09-13 12:07:47 +00:00
|
|
|
"Charging ID",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_CHARGING_ID_TYPE,
|
2021-06-21 13:36:38 +00:00
|
|
|
4,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_charging_id_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_charging_characteristics_0 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"Charging Characteristics",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_CHARGING_CHARACTERISTICS_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_charging_characteristics_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_trace_information_0 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"Trace Information",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_TRACE_INFORMATION_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_trace_information_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_bearer_flags_0 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"Bearer Flags",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_BEARER_FLAGS_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_bearer_flags_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_pdn_type_0 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_UINT8,
|
|
|
|
"PDN Type",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_PDN_TYPE_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
1,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_pdn_type_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_pti_0 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
2019-12-28 12:46:30 +00:00
|
|
|
OGS_TLV_UINT8,
|
2019-09-13 12:07:47 +00:00
|
|
|
"PTI",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_PTI_TYPE,
|
2019-12-28 12:46:30 +00:00
|
|
|
1,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_pti_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_mm_context_0 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"MM Context",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_MM_CONTEXT_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_mm_context_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_pdu_numbers_0 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"PDU Numbers",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_PDU_NUMBERS_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_pdu_numbers_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_p_tmsi_0 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"P-TMSI",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_P_TMSI_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_p_tmsi_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_p_tmsi_signature_0 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"P-TMSI Signature",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_P_TMSI_SIGNATURE_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_p_tmsi_signature_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_hop_counter_0 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"Hop Counter",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_HOP_COUNTER_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_hop_counter_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_ue_time_zone_0 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"UE Time Zone",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_UE_TIME_ZONE_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_ue_time_zone_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_trace_reference_0 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"Trace Reference",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_TRACE_REFERENCE_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_trace_reference_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_complete_request_message_0 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"Complete Request Message",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_COMPLETE_REQUEST_MESSAGE_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_complete_request_message_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_guti_0 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"GUTI",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_GUTI_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_guti_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_f_container_0 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"F-Container",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_F_CONTAINER_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_f_container_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_f_cause_0 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"F-Cause",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_F_CAUSE_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_f_cause_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_plmn_id_0 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"PLMN ID",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_PLMN_ID_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_plmn_id_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_target_identification_0 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"Target Identification",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_TARGET_IDENTIFICATION_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_target_identification_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_packet_flow_id_0 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"Packet Flow ID",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_PACKET_FLOW_ID_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_packet_flow_id_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_rab_context_0 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"RAB Context",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_RAB_CONTEXT_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_rab_context_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_source_rnc_pdcp_context_info_0 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"Source RNC PDCP Context Info",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_SOURCE_RNC_PDCP_CONTEXT_INFO_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_source_rnc_pdcp_context_info_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_port_number_0 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_UINT16,
|
|
|
|
"Port Number",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_PORT_NUMBER_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
2,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_port_number_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_port_number_1 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_UINT16,
|
|
|
|
"Port Number",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_PORT_NUMBER_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
2,
|
|
|
|
1,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_port_number_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_port_number_2 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_UINT16,
|
|
|
|
"Port Number",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_PORT_NUMBER_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
2,
|
|
|
|
2,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_port_number_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_apn_restriction_0 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_UINT8,
|
|
|
|
"APN Restriction",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_APN_RESTRICTION_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
1,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_apn_restriction_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_selection_mode_0 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_UINT8,
|
|
|
|
"Selection Mode",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_SELECTION_MODE_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
1,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_selection_mode_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_source_identification_0 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"Source Identification",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_SOURCE_IDENTIFICATION_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_source_identification_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_change_reporting_action_0 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"Change Reporting Action",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_CHANGE_REPORTING_ACTION_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_change_reporting_action_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_fq_csid_0 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"FQ-CSID",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_FQ_CSID_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_fq_csid_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_fq_csid_1 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"FQ-CSID",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_FQ_CSID_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
1,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_fq_csid_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_fq_csid_2 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"FQ-CSID",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_FQ_CSID_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
2,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_fq_csid_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_fq_csid_3 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"FQ-CSID",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_FQ_CSID_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
3,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_fq_csid_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_channel_needed_0 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"Channel needed",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_CHANNEL_NEEDED_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_channel_needed_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_emlpp_priority_0 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"eMLPP Priority",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_EMLPP_PRIORITY_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_emlpp_priority_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_node_type_0 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_UINT8,
|
|
|
|
"Node Type",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_NODE_TYPE_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
1,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_node_type_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_fqdn_0 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"FQDN",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_FQDN_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_fqdn_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_fqdn_1 =
|
2020-07-01 04:22:55 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"FQDN",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_FQDN_TYPE,
|
2020-07-01 04:22:55 +00:00
|
|
|
0,
|
|
|
|
1,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_fqdn_t),
|
2020-07-01 04:22:55 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2023-03-05 03:37:14 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_fqdn_2 =
|
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"FQDN",
|
|
|
|
OGS_GTP2_FQDN_TYPE,
|
|
|
|
0,
|
|
|
|
2,
|
|
|
|
sizeof(ogs_gtp2_tlv_fqdn_t),
|
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_fqdn_3 =
|
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"FQDN",
|
|
|
|
OGS_GTP2_FQDN_TYPE,
|
|
|
|
0,
|
|
|
|
3,
|
|
|
|
sizeof(ogs_gtp2_tlv_fqdn_t),
|
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_ti_0 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"TI",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_TI_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_ti_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_mbms_session_duration_0 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"MBMS Session Duration",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_MBMS_SESSION_DURATION_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_mbms_session_duration_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_mbms_service_area_0 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"MBMS Service Area",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_MBMS_SERVICE_AREA_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_mbms_service_area_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_mbms_session_identifier_0 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"MBMS Session Identifier",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_MBMS_SESSION_IDENTIFIER_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_mbms_session_identifier_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_mbms_flow_identifier_0 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"MBMS Flow Identifier",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_MBMS_FLOW_IDENTIFIER_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_mbms_flow_identifier_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_mbms_ip_multicast_distribution_0 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"MBMS IP Multicast Distribution",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_MBMS_IP_MULTICAST_DISTRIBUTION_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_mbms_ip_multicast_distribution_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_mbms_distribution_acknowledge_0 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"MBMS Distribution Acknowledge",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_MBMS_DISTRIBUTION_ACKNOWLEDGE_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_mbms_distribution_acknowledge_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_rfsp_index_0 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"RFSP Index",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_RFSP_INDEX_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_rfsp_index_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_uci_0 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"UCI",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_UCI_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_uci_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_csg_information_reporting_action_0 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"CSG Information Reporting Action",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_CSG_INFORMATION_REPORTING_ACTION_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_csg_information_reporting_action_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_csg_id_0 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"CSG ID",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_CSG_ID_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_csg_id_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_cmi_0 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"CMI",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_CMI_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_cmi_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_service_indicator_0 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"Service indicator",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_SERVICE_INDICATOR_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_service_indicator_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_detach_type_0 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"Detach Type",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_DETACH_TYPE_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_detach_type_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_ldn_0 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"LDN",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_LDN_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_ldn_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_ldn_1 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"LDN",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_LDN_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
1,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_ldn_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_ldn_2 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"LDN",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_LDN_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
2,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_ldn_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_ldn_3 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"LDN",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_LDN_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
3,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_ldn_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_node_features_0 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
2020-03-25 21:43:02 +00:00
|
|
|
OGS_TLV_UINT8,
|
2019-09-13 12:07:47 +00:00
|
|
|
"Node Features",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_NODE_FEATURES_TYPE,
|
2020-03-25 21:43:02 +00:00
|
|
|
1,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_node_features_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_mbms_time_to_data_transfer_0 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"MBMS Time to Data Transfer",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_MBMS_TIME_TO_DATA_TRANSFER_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_mbms_time_to_data_transfer_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_throttling_0 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"Throttling",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_THROTTLING_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_throttling_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_arp_0 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"ARP",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_ARP_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_arp_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_epc_timer_0 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"EPC Timer",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_EPC_TIMER_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_epc_timer_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_signalling_priority_indication_0 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"Signalling Priority Indication",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_SIGNALLING_PRIORITY_INDICATION_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_signalling_priority_indication_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_tmgi_0 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"TMGI",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_TMGI_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_tmgi_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_additional_mm_context_for_srvcc_0 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"Additional MM context for SRVCC",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_ADDITIONAL_MM_CONTEXT_FOR_SRVCC_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_additional_mm_context_for_srvcc_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_additional_flags_for_srvcc_0 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"Additional flags for SRVCC",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_ADDITIONAL_FLAGS_FOR_SRVCC_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_additional_flags_for_srvcc_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_mdt_configuration_0 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"MDT Configuration",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_MDT_CONFIGURATION_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_mdt_configuration_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_apco_0 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"APCO",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_APCO_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_apco_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_absolute_time_of_mbms_data_transfer_0 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"Absolute Time of MBMS Data Transfer",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_ABSOLUTE_TIME_OF_MBMS_DATA_TRANSFER_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_absolute_time_of_mbms_data_transfer_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_enb_information_reporting_0 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"eNB Information Reporting",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_ENB_INFORMATION_REPORTING_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_enb_information_reporting_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_ip4cp_0 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"IP4CP",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_IP4CP_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_ip4cp_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_change_to_report_flags_0 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"Change to Report Flags",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_CHANGE_TO_REPORT_FLAGS_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_change_to_report_flags_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_action_indication_0 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"Action Indication",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_ACTION_INDICATION_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_action_indication_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_twan_identifier_0 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"TWAN Identifier",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_TWAN_IDENTIFIER_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_twan_identifier_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_twan_identifier_1 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"TWAN Identifier",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_TWAN_IDENTIFIER_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
1,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_twan_identifier_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_uli_timestamp_0 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"ULI Timestamp",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_ULI_TIMESTAMP_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_uli_timestamp_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_mbms_flags_0 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"MBMS Flags",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_MBMS_FLAGS_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_mbms_flags_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_ran_nas_cause_0 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"RAN/NAS Cause",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_RAN_NAS_CAUSE_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_ran_nas_cause_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_cn_operator_selection_entity_0 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"CN Operator Selection Entity",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_CN_OPERATOR_SELECTION_ENTITY_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_cn_operator_selection_entity_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_twmi_0 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"TWMI",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_TWMI_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_twmi_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_node_number_0 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"Node Number",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_NODE_NUMBER_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_node_number_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_node_identifier_0 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"Node Identifier",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_NODE_IDENTIFIER_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_node_identifier_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_presence_reporting_area_action_0 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"Presence Reporting Area Action",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_PRESENCE_REPORTING_AREA_ACTION_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_presence_reporting_area_action_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_presence_reporting_area_information_0 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"Presence Reporting Area Information",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_PRESENCE_REPORTING_AREA_INFORMATION_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_presence_reporting_area_information_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_twan_identifier_timestamp_0 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"TWAN Identifier Timestamp",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_TWAN_IDENTIFIER_TIMESTAMP_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_twan_identifier_timestamp_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_twan_identifier_timestamp_1 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"TWAN Identifier Timestamp",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_TWAN_IDENTIFIER_TIMESTAMP_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
1,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_twan_identifier_timestamp_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_metric_0 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"Metric",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_METRIC_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_metric_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_sequence_number_0 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"Sequence Number",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_SEQUENCE_NUMBER_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_sequence_number_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_apn_and_relative_capacity_0 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"APN and Relative Capacity",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_APN_AND_RELATIVE_CAPACITY_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_apn_and_relative_capacity_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_wlan_offloadability_indication_0 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"WLAN Offloadability Indication",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_WLAN_OFFLOADABILITY_INDICATION_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_wlan_offloadability_indication_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_paging_and_service_information_0 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"Paging and Service Information",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_PAGING_AND_SERVICE_INFORMATION_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_paging_and_service_information_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_integer_number_0 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"Integer Number",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_INTEGER_NUMBER_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_integer_number_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_millisecond_time_stamp_0 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"Millisecond Time Stamp",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_MILLISECOND_TIME_STAMP_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_millisecond_time_stamp_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_monitoring_event_information_0 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"Monitoring Event Information",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_MONITORING_EVENT_INFORMATION_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_monitoring_event_information_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_ecgi_list_0 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"ECGI List",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_ECGI_LIST_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_ecgi_list_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_remote_user_id_0 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"Remote User ID",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_REMOTE_USER_ID_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_remote_user_id_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_remote_ue_ip_information_0 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"Remote UE IP Information",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_REMOTE_UE_IP_INFORMATION_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_remote_ue_ip_information_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_ciot_optimizations_support_indication_0 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"CIoT Optimizations Support Indication",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_CIOT_OPTIMIZATIONS_SUPPORT_INDICATION_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_ciot_optimizations_support_indication_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_header_compression_configuration_0 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"Header Compression Configuration",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_HEADER_COMPRESSION_CONFIGURATION_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_header_compression_configuration_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_epco_0 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"ePCO",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_EPCO_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_epco_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_serving_plmn_rate_control_0 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"Serving PLMN Rate Control",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_SERVING_PLMN_RATE_CONTROL_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_serving_plmn_rate_control_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_counter_0 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"Counter",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_COUNTER_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_counter_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_mapped_ue_usage_type_0 =
|
2020-07-01 04:22:55 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"Mapped UE Usage Type",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_MAPPED_UE_USAGE_TYPE_TYPE,
|
2020-07-01 04:22:55 +00:00
|
|
|
0,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_mapped_ue_usage_type_t),
|
2020-07-01 04:22:55 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_secondary_rat_usage_data_report_0 =
|
2020-07-01 04:22:55 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"Secondary RAT Usage Data Report",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_SECONDARY_RAT_USAGE_DATA_REPORT_TYPE,
|
2020-07-01 04:22:55 +00:00
|
|
|
0,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_secondary_rat_usage_data_report_t),
|
2020-07-01 04:22:55 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_up_function_selection_indication_flags_0 =
|
2020-07-01 04:22:55 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"UP Function Selection Indication Flags",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_UP_FUNCTION_SELECTION_INDICATION_FLAGS_TYPE,
|
2020-07-01 04:22:55 +00:00
|
|
|
0,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_up_function_selection_indication_flags_t),
|
2020-07-01 04:22:55 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_maximum_packet_loss_rate_0 =
|
2020-07-01 04:22:55 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"Maximum Packet Loss Rate",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_MAXIMUM_PACKET_LOSS_RATE_TYPE,
|
2020-07-01 04:22:55 +00:00
|
|
|
0,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_maximum_packet_loss_rate_t),
|
2020-07-01 04:22:55 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_apn_rate_control_status_0 =
|
2020-07-01 04:22:55 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"APN Rate Control Status",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_APN_RATE_CONTROL_STATUS_TYPE,
|
2020-07-01 04:22:55 +00:00
|
|
|
0,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_apn_rate_control_status_t),
|
2020-07-01 04:22:55 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_extended_trace_information_0 =
|
2020-07-01 04:22:55 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"Extended Trace Information",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_EXTENDED_TRACE_INFORMATION_TYPE,
|
2020-07-01 04:22:55 +00:00
|
|
|
0,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_extended_trace_information_t),
|
2020-07-01 04:22:55 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_monitoring_event_extension_information_0 =
|
2020-07-01 04:22:55 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"Monitoring Event Extension Information",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_MONITORING_EVENT_EXTENSION_INFORMATION_TYPE,
|
2020-07-01 04:22:55 +00:00
|
|
|
0,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_monitoring_event_extension_information_t),
|
2020-07-01 04:22:55 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_additional_rrm_policy_index_0 =
|
2020-07-01 04:22:55 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"Additional RRM Policy Index",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_ADDITIONAL_RRM_POLICY_INDEX_TYPE,
|
2020-07-01 04:22:55 +00:00
|
|
|
0,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_additional_rrm_policy_index_t),
|
2020-07-01 04:22:55 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_services_authorized_0 =
|
2020-07-01 04:22:55 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"Services Authorized",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_SERVICES_AUTHORIZED_TYPE,
|
2020-07-01 04:22:55 +00:00
|
|
|
0,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_services_authorized_t),
|
2020-07-01 04:22:55 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_services_authorized_1 =
|
2020-07-01 04:22:55 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"Services Authorized",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_SERVICES_AUTHORIZED_TYPE,
|
2020-07-01 04:22:55 +00:00
|
|
|
0,
|
|
|
|
1,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_services_authorized_t),
|
2020-07-01 04:22:55 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_bit_rate_0 =
|
2020-07-01 04:22:55 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"Bit Rate",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_BIT_RATE_TYPE,
|
2020-07-01 04:22:55 +00:00
|
|
|
0,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_bit_rate_t),
|
2020-07-01 04:22:55 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_bit_rate_1 =
|
2020-07-01 04:22:55 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"Bit Rate",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_BIT_RATE_TYPE,
|
2020-07-01 04:22:55 +00:00
|
|
|
0,
|
|
|
|
1,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_bit_rate_t),
|
2020-07-01 04:22:55 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_pc5_qos_flow_0 =
|
2020-07-01 04:22:55 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"PC5 QoS Flow",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_PC5_QOS_FLOW_TYPE,
|
2020-07-01 04:22:55 +00:00
|
|
|
0,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_pc5_qos_flow_t),
|
2020-07-01 04:22:55 +00:00
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2023-03-05 03:37:14 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_sgi_ptp_tunnel_address_0 =
|
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"SGi PtP Tunnel Address",
|
|
|
|
OGS_GTP2_SGI_PTP_TUNNEL_ADDRESS_TYPE,
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
sizeof(ogs_gtp2_tlv_sgi_ptp_tunnel_address_t),
|
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_pgw_fqdn_0 =
|
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"PGW FQDN",
|
|
|
|
OGS_GTP2_PGW_FQDN_TYPE,
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
sizeof(ogs_gtp2_tlv_pgw_fqdn_t),
|
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_pgw_fqdn_1 =
|
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"PGW FQDN",
|
|
|
|
OGS_GTP2_PGW_FQDN_TYPE,
|
|
|
|
0,
|
|
|
|
1,
|
|
|
|
sizeof(ogs_gtp2_tlv_pgw_fqdn_t),
|
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_group_id_0 =
|
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"Group Id",
|
|
|
|
OGS_GTP2_GROUP_ID_TYPE,
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
sizeof(ogs_gtp2_tlv_group_id_t),
|
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_group_id_1 =
|
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"Group Id",
|
|
|
|
OGS_GTP2_GROUP_ID_TYPE,
|
|
|
|
0,
|
|
|
|
1,
|
|
|
|
sizeof(ogs_gtp2_tlv_group_id_t),
|
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_pscell_id_0 =
|
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"PSCell ID",
|
|
|
|
OGS_GTP2_PSCELL_ID_TYPE,
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
sizeof(ogs_gtp2_tlv_pscell_id_t),
|
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_up_security_policy_0 =
|
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"UP Security Policy",
|
|
|
|
OGS_GTP2_UP_SECURITY_POLICY_TYPE,
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
sizeof(ogs_gtp2_tlv_up_security_policy_t),
|
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_alternative_imsi_0 =
|
|
|
|
{
|
|
|
|
OGS_TLV_VAR_STR,
|
|
|
|
"Alternative IMSI",
|
|
|
|
OGS_GTP2_ALTERNATIVE_IMSI_TYPE,
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
sizeof(ogs_gtp2_tlv_alternative_imsi_t),
|
|
|
|
{ NULL }
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_pc5_qos_parameters_0 =
|
2020-07-01 04:22:55 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_COMPOUND,
|
|
|
|
"PC5 QoS Parameters",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_PC5_QOS_PARAMETERS_TYPE,
|
2020-07-01 04:22:55 +00:00
|
|
|
0,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_pc5_qos_parameters_t),
|
2020-07-01 04:22:55 +00:00
|
|
|
{
|
2022-04-12 22:07:39 +00:00
|
|
|
&ogs_gtp2_tlv_desc_pc5_qos_flow_0,
|
|
|
|
&ogs_gtp2_tlv_desc_bit_rate_0,
|
2020-07-01 04:22:55 +00:00
|
|
|
NULL,
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_remote_ue_context_0 =
|
2020-07-01 04:22:55 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_COMPOUND,
|
|
|
|
"Remote UE Context",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_REMOTE_UE_CONTEXT_TYPE,
|
2020-07-01 04:22:55 +00:00
|
|
|
0,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_remote_ue_context_t),
|
2020-07-01 04:22:55 +00:00
|
|
|
{
|
2022-04-12 22:07:39 +00:00
|
|
|
&ogs_gtp2_tlv_desc_remote_user_id_0,
|
|
|
|
&ogs_gtp2_tlv_desc_remote_ue_ip_information_0,
|
2020-07-01 04:22:55 +00:00
|
|
|
NULL,
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
2023-03-05 03:37:14 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_pgw_change_info_0 =
|
|
|
|
{
|
|
|
|
OGS_TLV_COMPOUND,
|
|
|
|
"PGW Change Info",
|
|
|
|
OGS_GTP2_PGW_CHANGE_INFO_TYPE,
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
sizeof(ogs_gtp2_tlv_pgw_change_info_t),
|
|
|
|
{
|
|
|
|
&ogs_gtp2_tlv_desc_pgw_fqdn_0,
|
|
|
|
&ogs_gtp2_tlv_desc_ip_address_0,
|
|
|
|
&ogs_gtp2_tlv_desc_pgw_fqdn_1,
|
|
|
|
&ogs_gtp2_tlv_desc_group_id_0,
|
|
|
|
&ogs_gtp2_tlv_desc_ip_address_1,
|
|
|
|
&ogs_gtp2_tlv_desc_ip_address_3,
|
|
|
|
&ogs_gtp2_tlv_desc_fq_csid_0,
|
|
|
|
&ogs_gtp2_tlv_desc_ip_address_2,
|
|
|
|
&ogs_gtp2_tlv_desc_group_id_1,
|
|
|
|
NULL,
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_v2x_context_0 =
|
2020-07-01 04:22:55 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_COMPOUND,
|
|
|
|
"V2X Context",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_V2X_CONTEXT_TYPE,
|
2020-07-01 04:22:55 +00:00
|
|
|
0,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_v2x_context_t),
|
2020-07-01 04:22:55 +00:00
|
|
|
{
|
2022-04-12 22:07:39 +00:00
|
|
|
&ogs_gtp2_tlv_desc_services_authorized_0,
|
|
|
|
&ogs_gtp2_tlv_desc_services_authorized_1,
|
|
|
|
&ogs_gtp2_tlv_desc_bit_rate_0,
|
|
|
|
&ogs_gtp2_tlv_desc_bit_rate_1,
|
|
|
|
&ogs_gtp2_tlv_desc_pc5_qos_parameters_0,
|
2020-07-01 04:22:55 +00:00
|
|
|
NULL,
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_bearer_context_0 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_COMPOUND,
|
|
|
|
"Bearer Context",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_BEARER_CONTEXT_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_bearer_context_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
2022-04-12 22:07:39 +00:00
|
|
|
&ogs_gtp2_tlv_desc_ebi_0,
|
|
|
|
&ogs_gtp2_tlv_desc_bearer_tft_0,
|
|
|
|
&ogs_gtp2_tlv_desc_f_teid_0,
|
|
|
|
&ogs_gtp2_tlv_desc_f_teid_1,
|
|
|
|
&ogs_gtp2_tlv_desc_f_teid_2,
|
|
|
|
&ogs_gtp2_tlv_desc_f_teid_3,
|
|
|
|
&ogs_gtp2_tlv_desc_f_teid_4,
|
|
|
|
&ogs_gtp2_tlv_desc_f_teid_5,
|
|
|
|
&ogs_gtp2_tlv_desc_f_teid_6,
|
|
|
|
&ogs_gtp2_tlv_desc_bearer_qos_0,
|
|
|
|
&ogs_gtp2_tlv_desc_f_teid_7,
|
|
|
|
&ogs_gtp2_tlv_desc_cause_0,
|
|
|
|
&ogs_gtp2_tlv_desc_charging_id_0,
|
|
|
|
&ogs_gtp2_tlv_desc_bearer_flags_0,
|
|
|
|
&ogs_gtp2_tlv_desc_pco_0,
|
|
|
|
&ogs_gtp2_tlv_desc_epco_0,
|
|
|
|
&ogs_gtp2_tlv_desc_maximum_packet_loss_rate_0,
|
|
|
|
&ogs_gtp2_tlv_desc_f_teid_8,
|
|
|
|
&ogs_gtp2_tlv_desc_f_teid_9,
|
|
|
|
&ogs_gtp2_tlv_desc_f_teid_10,
|
|
|
|
&ogs_gtp2_tlv_desc_f_teid_11,
|
|
|
|
&ogs_gtp2_tlv_desc_ran_nas_cause_0,
|
|
|
|
&ogs_gtp2_tlv_desc_apco_0,
|
|
|
|
&ogs_gtp2_tlv_desc_f_container_0,
|
|
|
|
&ogs_gtp2_tlv_desc_ti_0,
|
|
|
|
&ogs_gtp2_tlv_desc_packet_flow_id_0,
|
2019-09-13 12:07:47 +00:00
|
|
|
NULL,
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_bearer_context_1 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_COMPOUND,
|
|
|
|
"Bearer Context",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_BEARER_CONTEXT_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
1,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_bearer_context_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
2022-04-12 22:07:39 +00:00
|
|
|
&ogs_gtp2_tlv_desc_ebi_0,
|
|
|
|
&ogs_gtp2_tlv_desc_bearer_tft_0,
|
|
|
|
&ogs_gtp2_tlv_desc_f_teid_0,
|
|
|
|
&ogs_gtp2_tlv_desc_f_teid_1,
|
|
|
|
&ogs_gtp2_tlv_desc_f_teid_2,
|
|
|
|
&ogs_gtp2_tlv_desc_f_teid_3,
|
|
|
|
&ogs_gtp2_tlv_desc_f_teid_4,
|
|
|
|
&ogs_gtp2_tlv_desc_f_teid_5,
|
|
|
|
&ogs_gtp2_tlv_desc_f_teid_6,
|
|
|
|
&ogs_gtp2_tlv_desc_bearer_qos_0,
|
|
|
|
&ogs_gtp2_tlv_desc_f_teid_7,
|
|
|
|
&ogs_gtp2_tlv_desc_cause_0,
|
|
|
|
&ogs_gtp2_tlv_desc_charging_id_0,
|
|
|
|
&ogs_gtp2_tlv_desc_bearer_flags_0,
|
|
|
|
&ogs_gtp2_tlv_desc_pco_0,
|
|
|
|
&ogs_gtp2_tlv_desc_epco_0,
|
|
|
|
&ogs_gtp2_tlv_desc_maximum_packet_loss_rate_0,
|
|
|
|
&ogs_gtp2_tlv_desc_f_teid_8,
|
|
|
|
&ogs_gtp2_tlv_desc_f_teid_9,
|
|
|
|
&ogs_gtp2_tlv_desc_f_teid_10,
|
|
|
|
&ogs_gtp2_tlv_desc_f_teid_11,
|
|
|
|
&ogs_gtp2_tlv_desc_ran_nas_cause_0,
|
|
|
|
&ogs_gtp2_tlv_desc_apco_0,
|
|
|
|
&ogs_gtp2_tlv_desc_f_container_0,
|
|
|
|
&ogs_gtp2_tlv_desc_ti_0,
|
|
|
|
&ogs_gtp2_tlv_desc_packet_flow_id_0,
|
2019-09-13 12:07:47 +00:00
|
|
|
NULL,
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_pdn_connection_0 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_COMPOUND,
|
|
|
|
"PDN Connection",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_PDN_CONNECTION_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_pdn_connection_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
2022-04-12 22:07:39 +00:00
|
|
|
&ogs_gtp2_tlv_desc_apn_0,
|
|
|
|
&ogs_gtp2_tlv_desc_apn_restriction_0,
|
|
|
|
&ogs_gtp2_tlv_desc_selection_mode_0,
|
|
|
|
&ogs_gtp2_tlv_desc_ip_address_0,
|
|
|
|
&ogs_gtp2_tlv_desc_ip_address_1,
|
|
|
|
&ogs_gtp2_tlv_desc_ebi_0,
|
|
|
|
&ogs_gtp2_tlv_desc_f_teid_0,
|
|
|
|
&ogs_gtp2_tlv_desc_fqdn_0,
|
|
|
|
&ogs_gtp2_tlv_desc_bearer_context_0,
|
|
|
|
&ogs_gtp2_tlv_desc_ambr_0,
|
|
|
|
&ogs_gtp2_tlv_desc_charging_characteristics_0,
|
|
|
|
&ogs_gtp2_tlv_desc_change_reporting_action_0,
|
|
|
|
&ogs_gtp2_tlv_desc_csg_information_reporting_action_0,
|
|
|
|
&ogs_gtp2_tlv_desc_enb_information_reporting_0,
|
|
|
|
&ogs_gtp2_tlv_desc_indication_0,
|
|
|
|
&ogs_gtp2_tlv_desc_signalling_priority_indication_0,
|
|
|
|
&ogs_gtp2_tlv_desc_change_to_report_flags_0,
|
|
|
|
&ogs_gtp2_tlv_desc_fqdn_1,
|
|
|
|
&ogs_gtp2_tlv_desc_presence_reporting_area_action_0,
|
|
|
|
&ogs_gtp2_tlv_desc_wlan_offloadability_indication_0,
|
|
|
|
&ogs_gtp2_tlv_desc_remote_ue_context_0,
|
|
|
|
&ogs_gtp2_tlv_desc_pdn_type_0,
|
|
|
|
&ogs_gtp2_tlv_desc_header_compression_configuration_0,
|
2023-03-05 03:37:14 +00:00
|
|
|
&ogs_gtp2_tlv_desc_pgw_change_info_0,
|
|
|
|
&ogs_gtp2_tlv_desc_up_security_policy_0,
|
2019-09-13 12:07:47 +00:00
|
|
|
NULL,
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_overload_control_information_0 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_COMPOUND,
|
|
|
|
"Overload Control Information",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_OVERLOAD_CONTROL_INFORMATION_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_overload_control_information_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
2022-04-12 22:07:39 +00:00
|
|
|
&ogs_gtp2_tlv_desc_sequence_number_0,
|
|
|
|
&ogs_gtp2_tlv_desc_metric_0,
|
|
|
|
&ogs_gtp2_tlv_desc_epc_timer_0,
|
|
|
|
&ogs_gtp2_tlv_desc_apn_0,
|
2019-09-13 12:07:47 +00:00
|
|
|
NULL,
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_overload_control_information_1 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_COMPOUND,
|
|
|
|
"Overload Control Information",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_OVERLOAD_CONTROL_INFORMATION_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
1,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_overload_control_information_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
2022-04-12 22:07:39 +00:00
|
|
|
&ogs_gtp2_tlv_desc_sequence_number_0,
|
|
|
|
&ogs_gtp2_tlv_desc_metric_0,
|
|
|
|
&ogs_gtp2_tlv_desc_epc_timer_0,
|
|
|
|
&ogs_gtp2_tlv_desc_apn_0,
|
2019-09-13 12:07:47 +00:00
|
|
|
NULL,
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_overload_control_information_2 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_COMPOUND,
|
|
|
|
"Overload Control Information",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_OVERLOAD_CONTROL_INFORMATION_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
2,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_overload_control_information_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
2022-04-12 22:07:39 +00:00
|
|
|
&ogs_gtp2_tlv_desc_sequence_number_0,
|
|
|
|
&ogs_gtp2_tlv_desc_metric_0,
|
|
|
|
&ogs_gtp2_tlv_desc_epc_timer_0,
|
|
|
|
&ogs_gtp2_tlv_desc_apn_0,
|
2019-09-13 12:07:47 +00:00
|
|
|
NULL,
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_load_control_information_0 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_COMPOUND,
|
|
|
|
"Load Control Information",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_LOAD_CONTROL_INFORMATION_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_load_control_information_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
2022-04-12 22:07:39 +00:00
|
|
|
&ogs_gtp2_tlv_desc_sequence_number_0,
|
|
|
|
&ogs_gtp2_tlv_desc_metric_0,
|
|
|
|
&ogs_gtp2_tlv_desc_apn_and_relative_capacity_0,
|
2019-09-13 12:07:47 +00:00
|
|
|
NULL,
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_load_control_information_1 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_COMPOUND,
|
|
|
|
"Load Control Information",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_LOAD_CONTROL_INFORMATION_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
1,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_load_control_information_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
2022-04-12 22:07:39 +00:00
|
|
|
&ogs_gtp2_tlv_desc_sequence_number_0,
|
|
|
|
&ogs_gtp2_tlv_desc_metric_0,
|
|
|
|
&ogs_gtp2_tlv_desc_apn_and_relative_capacity_0,
|
2019-09-13 12:07:47 +00:00
|
|
|
NULL,
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_load_control_information_2 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_COMPOUND,
|
|
|
|
"Load Control Information",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_LOAD_CONTROL_INFORMATION_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
2,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_load_control_information_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
2022-04-12 22:07:39 +00:00
|
|
|
&ogs_gtp2_tlv_desc_sequence_number_0,
|
|
|
|
&ogs_gtp2_tlv_desc_metric_0,
|
|
|
|
&ogs_gtp2_tlv_desc_apn_and_relative_capacity_0,
|
2019-09-13 12:07:47 +00:00
|
|
|
NULL,
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_scef_pdn_connection_0 =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_COMPOUND,
|
|
|
|
"SCEF PDN Connection",
|
2022-04-12 22:07:39 +00:00
|
|
|
OGS_GTP2_SCEF_PDN_CONNECTION_TYPE,
|
2019-09-13 12:07:47 +00:00
|
|
|
0,
|
|
|
|
0,
|
2022-04-12 22:07:39 +00:00
|
|
|
sizeof(ogs_gtp2_tlv_scef_pdn_connection_t),
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
2022-04-12 22:07:39 +00:00
|
|
|
&ogs_gtp2_tlv_desc_apn_0,
|
|
|
|
&ogs_gtp2_tlv_desc_ebi_0,
|
|
|
|
&ogs_gtp2_tlv_desc_node_identifier_0,
|
2019-09-13 12:07:47 +00:00
|
|
|
NULL,
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_echo_request =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_MESSAGE,
|
|
|
|
"Echo Request",
|
|
|
|
0, 0, 0, 0, {
|
2022-04-12 22:07:39 +00:00
|
|
|
&ogs_gtp2_tlv_desc_recovery_0,
|
|
|
|
&ogs_gtp2_tlv_desc_node_features_0,
|
2019-09-13 12:07:47 +00:00
|
|
|
NULL,
|
|
|
|
}};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_echo_response =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_MESSAGE,
|
|
|
|
"Echo Response",
|
|
|
|
0, 0, 0, 0, {
|
2022-04-12 22:07:39 +00:00
|
|
|
&ogs_gtp2_tlv_desc_recovery_0,
|
|
|
|
&ogs_gtp2_tlv_desc_node_features_0,
|
2019-09-13 12:07:47 +00:00
|
|
|
NULL,
|
|
|
|
}};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_create_session_request =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_MESSAGE,
|
|
|
|
"Create Session Request",
|
|
|
|
0, 0, 0, 0, {
|
2022-04-12 22:07:39 +00:00
|
|
|
&ogs_gtp2_tlv_desc_imsi_0,
|
|
|
|
&ogs_gtp2_tlv_desc_msisdn_0,
|
|
|
|
&ogs_gtp2_tlv_desc_mei_0,
|
|
|
|
&ogs_gtp2_tlv_desc_uli_0,
|
|
|
|
&ogs_gtp2_tlv_desc_serving_network_0,
|
|
|
|
&ogs_gtp2_tlv_desc_rat_type_0,
|
|
|
|
&ogs_gtp2_tlv_desc_indication_0,
|
|
|
|
&ogs_gtp2_tlv_desc_f_teid_0,
|
|
|
|
&ogs_gtp2_tlv_desc_f_teid_1,
|
|
|
|
&ogs_gtp2_tlv_desc_apn_0,
|
|
|
|
&ogs_gtp2_tlv_desc_selection_mode_0,
|
|
|
|
&ogs_gtp2_tlv_desc_pdn_type_0,
|
|
|
|
&ogs_gtp2_tlv_desc_paa_0,
|
|
|
|
&ogs_gtp2_tlv_desc_apn_restriction_0,
|
|
|
|
&ogs_gtp2_tlv_desc_ambr_0,
|
|
|
|
&ogs_gtp2_tlv_desc_ebi_0,
|
|
|
|
&ogs_gtp2_tlv_desc_twmi_0,
|
|
|
|
&ogs_gtp2_tlv_desc_pco_0,
|
|
|
|
&ogs_gtp2_tlv_desc_bearer_context_0,
|
2022-05-12 13:52:36 +00:00
|
|
|
&ogs_tlv_desc_more8,
|
2022-04-12 22:07:39 +00:00
|
|
|
&ogs_gtp2_tlv_desc_bearer_context_1,
|
|
|
|
&ogs_gtp2_tlv_desc_trace_information_0,
|
|
|
|
&ogs_gtp2_tlv_desc_recovery_0,
|
|
|
|
&ogs_gtp2_tlv_desc_fq_csid_0,
|
|
|
|
&ogs_gtp2_tlv_desc_fq_csid_1,
|
|
|
|
&ogs_gtp2_tlv_desc_fq_csid_2,
|
|
|
|
&ogs_gtp2_tlv_desc_fq_csid_3,
|
|
|
|
&ogs_gtp2_tlv_desc_ue_time_zone_0,
|
|
|
|
&ogs_gtp2_tlv_desc_uci_0,
|
|
|
|
&ogs_gtp2_tlv_desc_charging_characteristics_0,
|
|
|
|
&ogs_gtp2_tlv_desc_ldn_0,
|
|
|
|
&ogs_gtp2_tlv_desc_ldn_1,
|
|
|
|
&ogs_gtp2_tlv_desc_ldn_2,
|
|
|
|
&ogs_gtp2_tlv_desc_ldn_3,
|
|
|
|
&ogs_gtp2_tlv_desc_signalling_priority_indication_0,
|
|
|
|
&ogs_gtp2_tlv_desc_ip_address_0,
|
|
|
|
&ogs_gtp2_tlv_desc_port_number_0,
|
|
|
|
&ogs_gtp2_tlv_desc_apco_0,
|
|
|
|
&ogs_gtp2_tlv_desc_ip_address_1,
|
|
|
|
&ogs_gtp2_tlv_desc_port_number_1,
|
|
|
|
&ogs_gtp2_tlv_desc_ip_address_2,
|
|
|
|
&ogs_gtp2_tlv_desc_twan_identifier_0,
|
|
|
|
&ogs_gtp2_tlv_desc_ip_address_3,
|
|
|
|
&ogs_gtp2_tlv_desc_cn_operator_selection_entity_0,
|
|
|
|
&ogs_gtp2_tlv_desc_presence_reporting_area_information_0,
|
|
|
|
&ogs_gtp2_tlv_desc_overload_control_information_0,
|
|
|
|
&ogs_gtp2_tlv_desc_overload_control_information_1,
|
|
|
|
&ogs_gtp2_tlv_desc_overload_control_information_2,
|
|
|
|
&ogs_gtp2_tlv_desc_millisecond_time_stamp_0,
|
|
|
|
&ogs_gtp2_tlv_desc_integer_number_0,
|
|
|
|
&ogs_gtp2_tlv_desc_twan_identifier_1,
|
|
|
|
&ogs_gtp2_tlv_desc_twan_identifier_timestamp_0,
|
|
|
|
&ogs_gtp2_tlv_desc_f_container_0,
|
|
|
|
&ogs_gtp2_tlv_desc_remote_ue_context_0,
|
|
|
|
&ogs_gtp2_tlv_desc_node_identifier_0,
|
|
|
|
&ogs_gtp2_tlv_desc_epco_0,
|
|
|
|
&ogs_gtp2_tlv_desc_serving_plmn_rate_control_0,
|
|
|
|
&ogs_gtp2_tlv_desc_counter_0,
|
|
|
|
&ogs_gtp2_tlv_desc_port_number_2,
|
|
|
|
&ogs_gtp2_tlv_desc_mapped_ue_usage_type_0,
|
|
|
|
&ogs_gtp2_tlv_desc_uli_1,
|
|
|
|
&ogs_gtp2_tlv_desc_fqdn_0,
|
|
|
|
&ogs_gtp2_tlv_desc_secondary_rat_usage_data_report_0,
|
|
|
|
&ogs_gtp2_tlv_desc_up_function_selection_indication_flags_0,
|
|
|
|
&ogs_gtp2_tlv_desc_apn_rate_control_status_0,
|
2019-09-13 12:07:47 +00:00
|
|
|
NULL,
|
|
|
|
}};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_create_session_response =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_MESSAGE,
|
|
|
|
"Create Session Response",
|
|
|
|
0, 0, 0, 0, {
|
2022-04-12 22:07:39 +00:00
|
|
|
&ogs_gtp2_tlv_desc_cause_0,
|
|
|
|
&ogs_gtp2_tlv_desc_change_reporting_action_0,
|
|
|
|
&ogs_gtp2_tlv_desc_csg_information_reporting_action_0,
|
|
|
|
&ogs_gtp2_tlv_desc_enb_information_reporting_0,
|
|
|
|
&ogs_gtp2_tlv_desc_f_teid_0,
|
|
|
|
&ogs_gtp2_tlv_desc_f_teid_1,
|
|
|
|
&ogs_gtp2_tlv_desc_paa_0,
|
|
|
|
&ogs_gtp2_tlv_desc_apn_restriction_0,
|
|
|
|
&ogs_gtp2_tlv_desc_ambr_0,
|
|
|
|
&ogs_gtp2_tlv_desc_ebi_0,
|
|
|
|
&ogs_gtp2_tlv_desc_pco_0,
|
|
|
|
&ogs_gtp2_tlv_desc_bearer_context_0,
|
2022-05-12 13:52:36 +00:00
|
|
|
&ogs_tlv_desc_more8,
|
2022-04-12 22:07:39 +00:00
|
|
|
&ogs_gtp2_tlv_desc_bearer_context_1,
|
|
|
|
&ogs_gtp2_tlv_desc_recovery_0,
|
|
|
|
&ogs_gtp2_tlv_desc_fqdn_0,
|
|
|
|
&ogs_gtp2_tlv_desc_ip_address_0,
|
|
|
|
&ogs_gtp2_tlv_desc_fq_csid_0,
|
|
|
|
&ogs_gtp2_tlv_desc_fq_csid_1,
|
|
|
|
&ogs_gtp2_tlv_desc_ldn_0,
|
|
|
|
&ogs_gtp2_tlv_desc_ldn_1,
|
|
|
|
&ogs_gtp2_tlv_desc_epc_timer_0,
|
|
|
|
&ogs_gtp2_tlv_desc_apco_0,
|
|
|
|
&ogs_gtp2_tlv_desc_ip4cp_0,
|
|
|
|
&ogs_gtp2_tlv_desc_indication_0,
|
|
|
|
&ogs_gtp2_tlv_desc_presence_reporting_area_action_0,
|
|
|
|
&ogs_gtp2_tlv_desc_load_control_information_0,
|
|
|
|
&ogs_gtp2_tlv_desc_load_control_information_1,
|
|
|
|
&ogs_gtp2_tlv_desc_load_control_information_2,
|
|
|
|
&ogs_gtp2_tlv_desc_overload_control_information_0,
|
|
|
|
&ogs_gtp2_tlv_desc_overload_control_information_1,
|
|
|
|
&ogs_gtp2_tlv_desc_f_container_0,
|
|
|
|
&ogs_gtp2_tlv_desc_charging_id_0,
|
|
|
|
&ogs_gtp2_tlv_desc_epco_0,
|
2023-03-05 03:37:14 +00:00
|
|
|
&ogs_gtp2_tlv_desc_fqdn_1,
|
|
|
|
&ogs_gtp2_tlv_desc_sgi_ptp_tunnel_address_0,
|
|
|
|
&ogs_gtp2_tlv_desc_pgw_change_info_0,
|
|
|
|
&ogs_gtp2_tlv_desc_fqdn_3,
|
|
|
|
&ogs_gtp2_tlv_desc_ip_address_1,
|
|
|
|
&ogs_gtp2_tlv_desc_up_security_policy_0,
|
2019-09-13 12:07:47 +00:00
|
|
|
NULL,
|
|
|
|
}};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_modify_bearer_request =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_MESSAGE,
|
|
|
|
"Modify Bearer Request",
|
|
|
|
0, 0, 0, 0, {
|
2022-04-12 22:07:39 +00:00
|
|
|
&ogs_gtp2_tlv_desc_mei_0,
|
|
|
|
&ogs_gtp2_tlv_desc_uli_0,
|
|
|
|
&ogs_gtp2_tlv_desc_serving_network_0,
|
|
|
|
&ogs_gtp2_tlv_desc_rat_type_0,
|
|
|
|
&ogs_gtp2_tlv_desc_indication_0,
|
|
|
|
&ogs_gtp2_tlv_desc_f_teid_0,
|
|
|
|
&ogs_gtp2_tlv_desc_ambr_0,
|
|
|
|
&ogs_gtp2_tlv_desc_delay_value_0,
|
|
|
|
&ogs_gtp2_tlv_desc_bearer_context_0,
|
2022-04-29 12:28:16 +00:00
|
|
|
&ogs_tlv_desc_more8,
|
2022-04-12 22:07:39 +00:00
|
|
|
&ogs_gtp2_tlv_desc_bearer_context_1,
|
|
|
|
&ogs_gtp2_tlv_desc_recovery_0,
|
|
|
|
&ogs_gtp2_tlv_desc_ue_time_zone_0,
|
|
|
|
&ogs_gtp2_tlv_desc_fq_csid_0,
|
2023-03-05 03:37:14 +00:00
|
|
|
&ogs_gtp2_tlv_desc_fq_csid_1,
|
2022-04-12 22:07:39 +00:00
|
|
|
&ogs_gtp2_tlv_desc_uci_0,
|
|
|
|
&ogs_gtp2_tlv_desc_ip_address_1,
|
|
|
|
&ogs_gtp2_tlv_desc_port_number_1,
|
|
|
|
&ogs_gtp2_tlv_desc_ldn_0,
|
|
|
|
&ogs_gtp2_tlv_desc_ldn_1,
|
|
|
|
&ogs_gtp2_tlv_desc_ip_address_0,
|
|
|
|
&ogs_gtp2_tlv_desc_port_number_0,
|
|
|
|
&ogs_gtp2_tlv_desc_ip_address_2,
|
|
|
|
&ogs_gtp2_tlv_desc_cn_operator_selection_entity_0,
|
|
|
|
&ogs_gtp2_tlv_desc_presence_reporting_area_information_0,
|
|
|
|
&ogs_gtp2_tlv_desc_overload_control_information_0,
|
|
|
|
&ogs_gtp2_tlv_desc_overload_control_information_1,
|
|
|
|
&ogs_gtp2_tlv_desc_overload_control_information_2,
|
|
|
|
&ogs_gtp2_tlv_desc_serving_plmn_rate_control_0,
|
|
|
|
&ogs_gtp2_tlv_desc_counter_0,
|
|
|
|
&ogs_gtp2_tlv_desc_imsi_0,
|
|
|
|
&ogs_gtp2_tlv_desc_uli_1,
|
|
|
|
&ogs_gtp2_tlv_desc_twan_identifier_0,
|
|
|
|
&ogs_gtp2_tlv_desc_twan_identifier_timestamp_0,
|
|
|
|
&ogs_gtp2_tlv_desc_secondary_rat_usage_data_report_0,
|
2023-03-05 03:37:14 +00:00
|
|
|
&ogs_gtp2_tlv_desc_pscell_id_0,
|
2019-09-13 12:07:47 +00:00
|
|
|
NULL,
|
|
|
|
}};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_modify_bearer_response =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_MESSAGE,
|
|
|
|
"Modify Bearer Response",
|
|
|
|
0, 0, 0, 0, {
|
2022-04-12 22:07:39 +00:00
|
|
|
&ogs_gtp2_tlv_desc_cause_0,
|
|
|
|
&ogs_gtp2_tlv_desc_msisdn_0,
|
|
|
|
&ogs_gtp2_tlv_desc_ebi_0,
|
|
|
|
&ogs_gtp2_tlv_desc_apn_restriction_0,
|
|
|
|
&ogs_gtp2_tlv_desc_pco_0,
|
|
|
|
&ogs_gtp2_tlv_desc_bearer_context_0,
|
2022-04-29 12:28:16 +00:00
|
|
|
&ogs_tlv_desc_more8,
|
2022-04-12 22:07:39 +00:00
|
|
|
&ogs_gtp2_tlv_desc_bearer_context_1,
|
|
|
|
&ogs_gtp2_tlv_desc_change_reporting_action_0,
|
|
|
|
&ogs_gtp2_tlv_desc_csg_information_reporting_action_0,
|
|
|
|
&ogs_gtp2_tlv_desc_enb_information_reporting_0,
|
|
|
|
&ogs_gtp2_tlv_desc_fqdn_0,
|
|
|
|
&ogs_gtp2_tlv_desc_ip_address_0,
|
|
|
|
&ogs_gtp2_tlv_desc_fq_csid_0,
|
|
|
|
&ogs_gtp2_tlv_desc_fq_csid_1,
|
|
|
|
&ogs_gtp2_tlv_desc_recovery_0,
|
|
|
|
&ogs_gtp2_tlv_desc_ldn_0,
|
|
|
|
&ogs_gtp2_tlv_desc_ldn_1,
|
|
|
|
&ogs_gtp2_tlv_desc_indication_0,
|
|
|
|
&ogs_gtp2_tlv_desc_presence_reporting_area_action_0,
|
|
|
|
&ogs_gtp2_tlv_desc_load_control_information_0,
|
|
|
|
&ogs_gtp2_tlv_desc_load_control_information_1,
|
|
|
|
&ogs_gtp2_tlv_desc_load_control_information_2,
|
|
|
|
&ogs_gtp2_tlv_desc_overload_control_information_0,
|
|
|
|
&ogs_gtp2_tlv_desc_overload_control_information_1,
|
|
|
|
&ogs_gtp2_tlv_desc_charging_id_0,
|
2023-03-05 03:37:14 +00:00
|
|
|
&ogs_gtp2_tlv_desc_pgw_change_info_0,
|
2019-09-13 12:07:47 +00:00
|
|
|
NULL,
|
|
|
|
}};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_delete_session_request =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_MESSAGE,
|
|
|
|
"Delete Session Request",
|
|
|
|
0, 0, 0, 0, {
|
2022-04-12 22:07:39 +00:00
|
|
|
&ogs_gtp2_tlv_desc_cause_0,
|
|
|
|
&ogs_gtp2_tlv_desc_ebi_0,
|
|
|
|
&ogs_gtp2_tlv_desc_uli_0,
|
|
|
|
&ogs_gtp2_tlv_desc_indication_0,
|
|
|
|
&ogs_gtp2_tlv_desc_pco_0,
|
|
|
|
&ogs_gtp2_tlv_desc_node_type_0,
|
|
|
|
&ogs_gtp2_tlv_desc_f_teid_0,
|
|
|
|
&ogs_gtp2_tlv_desc_ue_time_zone_0,
|
|
|
|
&ogs_gtp2_tlv_desc_uli_timestamp_0,
|
|
|
|
&ogs_gtp2_tlv_desc_ran_nas_cause_0,
|
|
|
|
&ogs_gtp2_tlv_desc_twan_identifier_0,
|
|
|
|
&ogs_gtp2_tlv_desc_twan_identifier_timestamp_0,
|
|
|
|
&ogs_gtp2_tlv_desc_overload_control_information_0,
|
|
|
|
&ogs_gtp2_tlv_desc_overload_control_information_1,
|
|
|
|
&ogs_gtp2_tlv_desc_overload_control_information_2,
|
|
|
|
&ogs_gtp2_tlv_desc_twan_identifier_1,
|
|
|
|
&ogs_gtp2_tlv_desc_twan_identifier_timestamp_1,
|
|
|
|
&ogs_gtp2_tlv_desc_ip_address_0,
|
|
|
|
&ogs_gtp2_tlv_desc_port_number_0,
|
|
|
|
&ogs_gtp2_tlv_desc_epco_0,
|
|
|
|
&ogs_gtp2_tlv_desc_port_number_1,
|
|
|
|
&ogs_gtp2_tlv_desc_secondary_rat_usage_data_report_0,
|
2023-03-05 03:37:14 +00:00
|
|
|
&ogs_gtp2_tlv_desc_pscell_id_0,
|
2019-09-13 12:07:47 +00:00
|
|
|
NULL,
|
|
|
|
}};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_delete_session_response =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_MESSAGE,
|
|
|
|
"Delete Session Response",
|
|
|
|
0, 0, 0, 0, {
|
2022-04-12 22:07:39 +00:00
|
|
|
&ogs_gtp2_tlv_desc_cause_0,
|
|
|
|
&ogs_gtp2_tlv_desc_recovery_0,
|
|
|
|
&ogs_gtp2_tlv_desc_pco_0,
|
|
|
|
&ogs_gtp2_tlv_desc_indication_0,
|
|
|
|
&ogs_gtp2_tlv_desc_load_control_information_0,
|
|
|
|
&ogs_gtp2_tlv_desc_load_control_information_1,
|
|
|
|
&ogs_gtp2_tlv_desc_load_control_information_2,
|
|
|
|
&ogs_gtp2_tlv_desc_overload_control_information_0,
|
|
|
|
&ogs_gtp2_tlv_desc_overload_control_information_1,
|
|
|
|
&ogs_gtp2_tlv_desc_epco_0,
|
|
|
|
&ogs_gtp2_tlv_desc_apn_rate_control_status_0,
|
2019-09-13 12:07:47 +00:00
|
|
|
NULL,
|
|
|
|
}};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_modify_bearer_command =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_MESSAGE,
|
|
|
|
"Modify Bearer Command",
|
|
|
|
0, 0, 0, 0, {
|
2022-04-12 22:07:39 +00:00
|
|
|
&ogs_gtp2_tlv_desc_ambr_0,
|
|
|
|
&ogs_gtp2_tlv_desc_bearer_context_0,
|
|
|
|
&ogs_gtp2_tlv_desc_overload_control_information_0,
|
|
|
|
&ogs_gtp2_tlv_desc_overload_control_information_1,
|
|
|
|
&ogs_gtp2_tlv_desc_overload_control_information_2,
|
|
|
|
&ogs_gtp2_tlv_desc_f_teid_0,
|
2019-09-13 12:07:47 +00:00
|
|
|
NULL,
|
|
|
|
}};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_modify_bearer_failure_indication =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_MESSAGE,
|
|
|
|
"Modify Bearer Failure Indication",
|
|
|
|
0, 0, 0, 0, {
|
2022-04-12 22:07:39 +00:00
|
|
|
&ogs_gtp2_tlv_desc_cause_0,
|
|
|
|
&ogs_gtp2_tlv_desc_recovery_0,
|
|
|
|
&ogs_gtp2_tlv_desc_indication_0,
|
|
|
|
&ogs_gtp2_tlv_desc_overload_control_information_0,
|
|
|
|
&ogs_gtp2_tlv_desc_overload_control_information_1,
|
2019-09-13 12:07:47 +00:00
|
|
|
NULL,
|
|
|
|
}};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_delete_bearer_command =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_MESSAGE,
|
|
|
|
"Delete Bearer Command",
|
|
|
|
0, 0, 0, 0, {
|
2022-04-12 22:07:39 +00:00
|
|
|
&ogs_gtp2_tlv_desc_bearer_context_0,
|
|
|
|
&ogs_gtp2_tlv_desc_uli_0,
|
|
|
|
&ogs_gtp2_tlv_desc_uli_timestamp_0,
|
|
|
|
&ogs_gtp2_tlv_desc_ue_time_zone_0,
|
|
|
|
&ogs_gtp2_tlv_desc_overload_control_information_0,
|
|
|
|
&ogs_gtp2_tlv_desc_overload_control_information_1,
|
|
|
|
&ogs_gtp2_tlv_desc_f_teid_0,
|
|
|
|
&ogs_gtp2_tlv_desc_secondary_rat_usage_data_report_0,
|
2023-03-05 03:37:14 +00:00
|
|
|
&ogs_gtp2_tlv_desc_pscell_id_0,
|
2019-09-13 12:07:47 +00:00
|
|
|
NULL,
|
|
|
|
}};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_delete_bearer_failure_indication =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_MESSAGE,
|
|
|
|
"Delete Bearer Failure Indication",
|
|
|
|
0, 0, 0, 0, {
|
2022-04-12 22:07:39 +00:00
|
|
|
&ogs_gtp2_tlv_desc_cause_0,
|
|
|
|
&ogs_gtp2_tlv_desc_bearer_context_0,
|
|
|
|
&ogs_gtp2_tlv_desc_recovery_0,
|
|
|
|
&ogs_gtp2_tlv_desc_indication_0,
|
|
|
|
&ogs_gtp2_tlv_desc_overload_control_information_0,
|
|
|
|
&ogs_gtp2_tlv_desc_overload_control_information_1,
|
2019-09-13 12:07:47 +00:00
|
|
|
NULL,
|
|
|
|
}};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_bearer_resource_command =
|
2019-12-28 12:46:30 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_MESSAGE,
|
|
|
|
"Bearer Resource Command",
|
|
|
|
0, 0, 0, 0, {
|
2022-04-12 22:07:39 +00:00
|
|
|
&ogs_gtp2_tlv_desc_ebi_0,
|
|
|
|
&ogs_gtp2_tlv_desc_pti_0,
|
|
|
|
&ogs_gtp2_tlv_desc_flow_qos_0,
|
|
|
|
&ogs_gtp2_tlv_desc_tad_0,
|
|
|
|
&ogs_gtp2_tlv_desc_rat_type_0,
|
|
|
|
&ogs_gtp2_tlv_desc_serving_network_0,
|
|
|
|
&ogs_gtp2_tlv_desc_uli_0,
|
|
|
|
&ogs_gtp2_tlv_desc_ebi_1,
|
|
|
|
&ogs_gtp2_tlv_desc_indication_0,
|
|
|
|
&ogs_gtp2_tlv_desc_f_teid_0,
|
|
|
|
&ogs_gtp2_tlv_desc_f_teid_1,
|
|
|
|
&ogs_gtp2_tlv_desc_pco_0,
|
|
|
|
&ogs_gtp2_tlv_desc_signalling_priority_indication_0,
|
|
|
|
&ogs_gtp2_tlv_desc_overload_control_information_0,
|
|
|
|
&ogs_gtp2_tlv_desc_overload_control_information_1,
|
|
|
|
&ogs_gtp2_tlv_desc_f_container_0,
|
|
|
|
&ogs_gtp2_tlv_desc_epco_0,
|
|
|
|
&ogs_gtp2_tlv_desc_f_teid_2,
|
2023-03-05 03:37:14 +00:00
|
|
|
&ogs_gtp2_tlv_desc_pscell_id_0,
|
2019-12-28 12:46:30 +00:00
|
|
|
NULL,
|
|
|
|
}};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_bearer_resource_failure_indication =
|
2019-12-28 12:46:30 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_MESSAGE,
|
|
|
|
"Bearer Resource Failure Indication",
|
|
|
|
0, 0, 0, 0, {
|
2022-04-12 22:07:39 +00:00
|
|
|
&ogs_gtp2_tlv_desc_cause_0,
|
|
|
|
&ogs_gtp2_tlv_desc_ebi_0,
|
|
|
|
&ogs_gtp2_tlv_desc_pti_0,
|
|
|
|
&ogs_gtp2_tlv_desc_indication_0,
|
|
|
|
&ogs_gtp2_tlv_desc_overload_control_information_0,
|
|
|
|
&ogs_gtp2_tlv_desc_overload_control_information_1,
|
|
|
|
&ogs_gtp2_tlv_desc_recovery_0,
|
|
|
|
&ogs_gtp2_tlv_desc_f_container_0,
|
2019-12-28 12:46:30 +00:00
|
|
|
NULL,
|
|
|
|
}};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_downlink_data_notification_failure_indication =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_MESSAGE,
|
|
|
|
"Downlink Data Notification Failure Indication",
|
|
|
|
0, 0, 0, 0, {
|
2022-04-12 22:07:39 +00:00
|
|
|
&ogs_gtp2_tlv_desc_cause_0,
|
|
|
|
&ogs_gtp2_tlv_desc_node_type_0,
|
|
|
|
&ogs_gtp2_tlv_desc_imsi_0,
|
2019-09-13 12:07:47 +00:00
|
|
|
NULL,
|
|
|
|
}};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_create_bearer_request =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_MESSAGE,
|
|
|
|
"Create Bearer Request",
|
|
|
|
0, 0, 0, 0, {
|
2022-04-12 22:07:39 +00:00
|
|
|
&ogs_gtp2_tlv_desc_pti_0,
|
|
|
|
&ogs_gtp2_tlv_desc_ebi_0,
|
|
|
|
&ogs_gtp2_tlv_desc_pco_0,
|
|
|
|
&ogs_gtp2_tlv_desc_bearer_context_0,
|
|
|
|
&ogs_gtp2_tlv_desc_fq_csid_0,
|
|
|
|
&ogs_gtp2_tlv_desc_fq_csid_1,
|
|
|
|
&ogs_gtp2_tlv_desc_change_reporting_action_0,
|
|
|
|
&ogs_gtp2_tlv_desc_csg_information_reporting_action_0,
|
|
|
|
&ogs_gtp2_tlv_desc_enb_information_reporting_0,
|
|
|
|
&ogs_gtp2_tlv_desc_presence_reporting_area_action_0,
|
|
|
|
&ogs_gtp2_tlv_desc_indication_0,
|
|
|
|
&ogs_gtp2_tlv_desc_load_control_information_0,
|
|
|
|
&ogs_gtp2_tlv_desc_load_control_information_1,
|
|
|
|
&ogs_gtp2_tlv_desc_load_control_information_2,
|
|
|
|
&ogs_gtp2_tlv_desc_overload_control_information_0,
|
|
|
|
&ogs_gtp2_tlv_desc_overload_control_information_1,
|
|
|
|
&ogs_gtp2_tlv_desc_f_container_0,
|
2023-03-05 03:37:14 +00:00
|
|
|
&ogs_gtp2_tlv_desc_pgw_change_info_0,
|
2019-09-13 12:07:47 +00:00
|
|
|
NULL,
|
|
|
|
}};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_create_bearer_response =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_MESSAGE,
|
|
|
|
"Create Bearer Response",
|
|
|
|
0, 0, 0, 0, {
|
2022-04-12 22:07:39 +00:00
|
|
|
&ogs_gtp2_tlv_desc_cause_0,
|
|
|
|
&ogs_gtp2_tlv_desc_bearer_context_0,
|
|
|
|
&ogs_gtp2_tlv_desc_recovery_0,
|
|
|
|
&ogs_gtp2_tlv_desc_fq_csid_0,
|
2023-03-05 03:37:14 +00:00
|
|
|
&ogs_gtp2_tlv_desc_fq_csid_1,
|
2022-04-12 22:07:39 +00:00
|
|
|
&ogs_gtp2_tlv_desc_fq_csid_2,
|
|
|
|
&ogs_gtp2_tlv_desc_fq_csid_3,
|
|
|
|
&ogs_gtp2_tlv_desc_pco_0,
|
|
|
|
&ogs_gtp2_tlv_desc_ue_time_zone_0,
|
|
|
|
&ogs_gtp2_tlv_desc_uli_0,
|
|
|
|
&ogs_gtp2_tlv_desc_twan_identifier_0,
|
|
|
|
&ogs_gtp2_tlv_desc_overload_control_information_0,
|
|
|
|
&ogs_gtp2_tlv_desc_overload_control_information_1,
|
|
|
|
&ogs_gtp2_tlv_desc_presence_reporting_area_information_0,
|
|
|
|
&ogs_gtp2_tlv_desc_ip_address_0,
|
|
|
|
&ogs_gtp2_tlv_desc_overload_control_information_2,
|
|
|
|
&ogs_gtp2_tlv_desc_twan_identifier_1,
|
|
|
|
&ogs_gtp2_tlv_desc_twan_identifier_timestamp_1,
|
|
|
|
&ogs_gtp2_tlv_desc_port_number_0,
|
|
|
|
&ogs_gtp2_tlv_desc_f_container_0,
|
|
|
|
&ogs_gtp2_tlv_desc_port_number_1,
|
2023-03-05 03:37:14 +00:00
|
|
|
&ogs_gtp2_tlv_desc_pscell_id_0,
|
2019-09-13 12:07:47 +00:00
|
|
|
NULL,
|
|
|
|
}};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_update_bearer_request =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_MESSAGE,
|
|
|
|
"Update Bearer Request",
|
|
|
|
0, 0, 0, 0, {
|
2022-04-12 22:07:39 +00:00
|
|
|
&ogs_gtp2_tlv_desc_bearer_context_0,
|
|
|
|
&ogs_gtp2_tlv_desc_pti_0,
|
|
|
|
&ogs_gtp2_tlv_desc_pco_0,
|
|
|
|
&ogs_gtp2_tlv_desc_ambr_0,
|
|
|
|
&ogs_gtp2_tlv_desc_change_reporting_action_0,
|
|
|
|
&ogs_gtp2_tlv_desc_csg_information_reporting_action_0,
|
|
|
|
&ogs_gtp2_tlv_desc_enb_information_reporting_0,
|
|
|
|
&ogs_gtp2_tlv_desc_indication_0,
|
|
|
|
&ogs_gtp2_tlv_desc_fq_csid_0,
|
|
|
|
&ogs_gtp2_tlv_desc_fq_csid_1,
|
|
|
|
&ogs_gtp2_tlv_desc_presence_reporting_area_action_0,
|
|
|
|
&ogs_gtp2_tlv_desc_load_control_information_0,
|
|
|
|
&ogs_gtp2_tlv_desc_load_control_information_1,
|
|
|
|
&ogs_gtp2_tlv_desc_load_control_information_2,
|
|
|
|
&ogs_gtp2_tlv_desc_overload_control_information_0,
|
|
|
|
&ogs_gtp2_tlv_desc_overload_control_information_1,
|
|
|
|
&ogs_gtp2_tlv_desc_f_container_0,
|
2023-03-05 03:37:14 +00:00
|
|
|
&ogs_gtp2_tlv_desc_pgw_change_info_0,
|
2019-09-13 12:07:47 +00:00
|
|
|
NULL,
|
|
|
|
}};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_update_bearer_response =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_MESSAGE,
|
|
|
|
"Update Bearer Response",
|
|
|
|
0, 0, 0, 0, {
|
2022-04-12 22:07:39 +00:00
|
|
|
&ogs_gtp2_tlv_desc_cause_0,
|
|
|
|
&ogs_gtp2_tlv_desc_bearer_context_0,
|
|
|
|
&ogs_gtp2_tlv_desc_pco_0,
|
|
|
|
&ogs_gtp2_tlv_desc_recovery_0,
|
|
|
|
&ogs_gtp2_tlv_desc_fq_csid_0,
|
|
|
|
&ogs_gtp2_tlv_desc_fq_csid_1,
|
|
|
|
&ogs_gtp2_tlv_desc_fq_csid_2,
|
|
|
|
&ogs_gtp2_tlv_desc_fq_csid_3,
|
|
|
|
&ogs_gtp2_tlv_desc_indication_0,
|
|
|
|
&ogs_gtp2_tlv_desc_ue_time_zone_0,
|
|
|
|
&ogs_gtp2_tlv_desc_uli_0,
|
|
|
|
&ogs_gtp2_tlv_desc_twan_identifier_0,
|
|
|
|
&ogs_gtp2_tlv_desc_overload_control_information_0,
|
|
|
|
&ogs_gtp2_tlv_desc_overload_control_information_1,
|
|
|
|
&ogs_gtp2_tlv_desc_presence_reporting_area_information_0,
|
|
|
|
&ogs_gtp2_tlv_desc_ip_address_0,
|
|
|
|
&ogs_gtp2_tlv_desc_overload_control_information_2,
|
|
|
|
&ogs_gtp2_tlv_desc_twan_identifier_1,
|
|
|
|
&ogs_gtp2_tlv_desc_twan_identifier_timestamp_1,
|
|
|
|
&ogs_gtp2_tlv_desc_port_number_0,
|
|
|
|
&ogs_gtp2_tlv_desc_f_container_0,
|
|
|
|
&ogs_gtp2_tlv_desc_port_number_1,
|
2023-03-05 03:37:14 +00:00
|
|
|
&ogs_gtp2_tlv_desc_pscell_id_0,
|
2019-09-13 12:07:47 +00:00
|
|
|
NULL,
|
|
|
|
}};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_delete_bearer_request =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_MESSAGE,
|
|
|
|
"Delete Bearer Request",
|
|
|
|
0, 0, 0, 0, {
|
2022-04-12 22:07:39 +00:00
|
|
|
&ogs_gtp2_tlv_desc_ebi_0,
|
|
|
|
&ogs_gtp2_tlv_desc_ebi_1,
|
|
|
|
&ogs_gtp2_tlv_desc_bearer_context_0,
|
|
|
|
&ogs_gtp2_tlv_desc_pti_0,
|
|
|
|
&ogs_gtp2_tlv_desc_pco_0,
|
|
|
|
&ogs_gtp2_tlv_desc_fq_csid_0,
|
|
|
|
&ogs_gtp2_tlv_desc_fq_csid_1,
|
|
|
|
&ogs_gtp2_tlv_desc_cause_0,
|
|
|
|
&ogs_gtp2_tlv_desc_indication_0,
|
|
|
|
&ogs_gtp2_tlv_desc_load_control_information_0,
|
|
|
|
&ogs_gtp2_tlv_desc_load_control_information_1,
|
|
|
|
&ogs_gtp2_tlv_desc_load_control_information_2,
|
|
|
|
&ogs_gtp2_tlv_desc_overload_control_information_0,
|
|
|
|
&ogs_gtp2_tlv_desc_overload_control_information_1,
|
|
|
|
&ogs_gtp2_tlv_desc_f_container_0,
|
|
|
|
&ogs_gtp2_tlv_desc_apn_rate_control_status_0,
|
|
|
|
&ogs_gtp2_tlv_desc_epco_0,
|
2023-03-05 03:37:14 +00:00
|
|
|
&ogs_gtp2_tlv_desc_pgw_change_info_0,
|
2019-09-13 12:07:47 +00:00
|
|
|
NULL,
|
|
|
|
}};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_delete_bearer_response =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_MESSAGE,
|
|
|
|
"Delete Bearer Response",
|
|
|
|
0, 0, 0, 0, {
|
2022-04-12 22:07:39 +00:00
|
|
|
&ogs_gtp2_tlv_desc_cause_0,
|
|
|
|
&ogs_gtp2_tlv_desc_ebi_0,
|
|
|
|
&ogs_gtp2_tlv_desc_bearer_context_0,
|
|
|
|
&ogs_gtp2_tlv_desc_recovery_0,
|
|
|
|
&ogs_gtp2_tlv_desc_fq_csid_0,
|
|
|
|
&ogs_gtp2_tlv_desc_fq_csid_1,
|
|
|
|
&ogs_gtp2_tlv_desc_fq_csid_2,
|
|
|
|
&ogs_gtp2_tlv_desc_fq_csid_3,
|
|
|
|
&ogs_gtp2_tlv_desc_pco_0,
|
|
|
|
&ogs_gtp2_tlv_desc_ue_time_zone_0,
|
|
|
|
&ogs_gtp2_tlv_desc_uli_0,
|
|
|
|
&ogs_gtp2_tlv_desc_uli_timestamp_0,
|
|
|
|
&ogs_gtp2_tlv_desc_twan_identifier_0,
|
|
|
|
&ogs_gtp2_tlv_desc_twan_identifier_timestamp_0,
|
|
|
|
&ogs_gtp2_tlv_desc_overload_control_information_0,
|
|
|
|
&ogs_gtp2_tlv_desc_overload_control_information_1,
|
|
|
|
&ogs_gtp2_tlv_desc_ip_address_0,
|
|
|
|
&ogs_gtp2_tlv_desc_overload_control_information_2,
|
|
|
|
&ogs_gtp2_tlv_desc_twan_identifier_1,
|
|
|
|
&ogs_gtp2_tlv_desc_twan_identifier_timestamp_1,
|
|
|
|
&ogs_gtp2_tlv_desc_port_number_0,
|
|
|
|
&ogs_gtp2_tlv_desc_f_container_0,
|
|
|
|
&ogs_gtp2_tlv_desc_port_number_1,
|
|
|
|
&ogs_gtp2_tlv_desc_secondary_rat_usage_data_report_0,
|
2023-03-05 03:37:14 +00:00
|
|
|
&ogs_gtp2_tlv_desc_pscell_id_0,
|
2019-09-13 12:07:47 +00:00
|
|
|
NULL,
|
|
|
|
}};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_create_indirect_data_forwarding_tunnel_request =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_MESSAGE,
|
|
|
|
"Create Indirect Data Forwarding Tunnel Request",
|
|
|
|
0, 0, 0, 0, {
|
2022-04-12 22:07:39 +00:00
|
|
|
&ogs_gtp2_tlv_desc_imsi_0,
|
|
|
|
&ogs_gtp2_tlv_desc_mei_0,
|
|
|
|
&ogs_gtp2_tlv_desc_indication_0,
|
|
|
|
&ogs_gtp2_tlv_desc_f_teid_0,
|
|
|
|
&ogs_gtp2_tlv_desc_bearer_context_0,
|
2020-07-09 05:38:09 +00:00
|
|
|
&ogs_tlv_desc_more8,
|
2022-04-12 22:07:39 +00:00
|
|
|
&ogs_gtp2_tlv_desc_recovery_0,
|
2019-09-13 12:07:47 +00:00
|
|
|
NULL,
|
|
|
|
}};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_create_indirect_data_forwarding_tunnel_response =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_MESSAGE,
|
|
|
|
"Create Indirect Data Forwarding Tunnel Response",
|
|
|
|
0, 0, 0, 0, {
|
2022-04-12 22:07:39 +00:00
|
|
|
&ogs_gtp2_tlv_desc_cause_0,
|
|
|
|
&ogs_gtp2_tlv_desc_f_teid_0,
|
|
|
|
&ogs_gtp2_tlv_desc_bearer_context_0,
|
2020-07-09 05:38:09 +00:00
|
|
|
&ogs_tlv_desc_more8,
|
2022-04-12 22:07:39 +00:00
|
|
|
&ogs_gtp2_tlv_desc_recovery_0,
|
2019-09-13 12:07:47 +00:00
|
|
|
NULL,
|
|
|
|
}};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_delete_indirect_data_forwarding_tunnel_request =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_MESSAGE,
|
|
|
|
"Delete Indirect Data Forwarding Tunnel Request",
|
|
|
|
0, 0, 0, 0, {
|
|
|
|
NULL,
|
|
|
|
}};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_delete_indirect_data_forwarding_tunnel_response =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_MESSAGE,
|
|
|
|
"Delete Indirect Data Forwarding Tunnel Response",
|
|
|
|
0, 0, 0, 0, {
|
2022-04-12 22:07:39 +00:00
|
|
|
&ogs_gtp2_tlv_desc_cause_0,
|
|
|
|
&ogs_gtp2_tlv_desc_recovery_0,
|
2019-09-13 12:07:47 +00:00
|
|
|
NULL,
|
|
|
|
}};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_release_access_bearers_request =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_MESSAGE,
|
|
|
|
"Release Access Bearers Request",
|
|
|
|
0, 0, 0, 0, {
|
2022-04-12 22:07:39 +00:00
|
|
|
&ogs_gtp2_tlv_desc_ebi_0,
|
|
|
|
&ogs_gtp2_tlv_desc_node_type_0,
|
|
|
|
&ogs_gtp2_tlv_desc_indication_0,
|
|
|
|
&ogs_gtp2_tlv_desc_secondary_rat_usage_data_report_0,
|
2023-03-05 03:37:14 +00:00
|
|
|
&ogs_gtp2_tlv_desc_pscell_id_0,
|
2019-09-13 12:07:47 +00:00
|
|
|
NULL,
|
|
|
|
}};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_release_access_bearers_response =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_MESSAGE,
|
|
|
|
"Release Access Bearers Response",
|
|
|
|
0, 0, 0, 0, {
|
2022-04-12 22:07:39 +00:00
|
|
|
&ogs_gtp2_tlv_desc_cause_0,
|
|
|
|
&ogs_gtp2_tlv_desc_recovery_0,
|
|
|
|
&ogs_gtp2_tlv_desc_indication_0,
|
|
|
|
&ogs_gtp2_tlv_desc_load_control_information_0,
|
|
|
|
&ogs_gtp2_tlv_desc_overload_control_information_0,
|
2019-09-13 12:07:47 +00:00
|
|
|
NULL,
|
|
|
|
}};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_downlink_data_notification =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_MESSAGE,
|
|
|
|
"Downlink Data Notification",
|
|
|
|
0, 0, 0, 0, {
|
2022-04-12 22:07:39 +00:00
|
|
|
&ogs_gtp2_tlv_desc_cause_0,
|
|
|
|
&ogs_gtp2_tlv_desc_ebi_0,
|
|
|
|
&ogs_gtp2_tlv_desc_arp_0,
|
|
|
|
&ogs_gtp2_tlv_desc_imsi_0,
|
|
|
|
&ogs_gtp2_tlv_desc_f_teid_0,
|
|
|
|
&ogs_gtp2_tlv_desc_indication_0,
|
|
|
|
&ogs_gtp2_tlv_desc_load_control_information_0,
|
|
|
|
&ogs_gtp2_tlv_desc_overload_control_information_0,
|
|
|
|
&ogs_gtp2_tlv_desc_paging_and_service_information_0,
|
|
|
|
&ogs_gtp2_tlv_desc_integer_number_0,
|
2019-09-13 12:07:47 +00:00
|
|
|
NULL,
|
|
|
|
}};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_downlink_data_notification_acknowledge =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_MESSAGE,
|
|
|
|
"Downlink Data Notification Acknowledge",
|
|
|
|
0, 0, 0, 0, {
|
2022-04-12 22:07:39 +00:00
|
|
|
&ogs_gtp2_tlv_desc_cause_0,
|
|
|
|
&ogs_gtp2_tlv_desc_delay_value_0,
|
|
|
|
&ogs_gtp2_tlv_desc_recovery_0,
|
|
|
|
&ogs_gtp2_tlv_desc_throttling_0,
|
|
|
|
&ogs_gtp2_tlv_desc_imsi_0,
|
|
|
|
&ogs_gtp2_tlv_desc_epc_timer_0,
|
|
|
|
&ogs_gtp2_tlv_desc_integer_number_0,
|
2019-09-13 12:07:47 +00:00
|
|
|
NULL,
|
|
|
|
}};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_modify_access_bearers_request =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_MESSAGE,
|
|
|
|
"Modify Access Bearers Request",
|
|
|
|
0, 0, 0, 0, {
|
2022-04-12 22:07:39 +00:00
|
|
|
&ogs_gtp2_tlv_desc_indication_0,
|
|
|
|
&ogs_gtp2_tlv_desc_f_teid_0,
|
|
|
|
&ogs_gtp2_tlv_desc_delay_value_0,
|
|
|
|
&ogs_gtp2_tlv_desc_bearer_context_0,
|
|
|
|
&ogs_gtp2_tlv_desc_bearer_context_1,
|
|
|
|
&ogs_gtp2_tlv_desc_recovery_0,
|
|
|
|
&ogs_gtp2_tlv_desc_secondary_rat_usage_data_report_0,
|
2023-03-05 03:37:14 +00:00
|
|
|
&ogs_gtp2_tlv_desc_pscell_id_0,
|
2019-09-13 12:07:47 +00:00
|
|
|
NULL,
|
|
|
|
}};
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_tlv_desc_t ogs_gtp2_tlv_desc_modify_access_bearers_response =
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
OGS_TLV_MESSAGE,
|
|
|
|
"Modify Access Bearers Response",
|
|
|
|
0, 0, 0, 0, {
|
2022-04-12 22:07:39 +00:00
|
|
|
&ogs_gtp2_tlv_desc_cause_0,
|
|
|
|
&ogs_gtp2_tlv_desc_bearer_context_0,
|
|
|
|
&ogs_gtp2_tlv_desc_bearer_context_1,
|
|
|
|
&ogs_gtp2_tlv_desc_recovery_0,
|
|
|
|
&ogs_gtp2_tlv_desc_indication_0,
|
|
|
|
&ogs_gtp2_tlv_desc_load_control_information_0,
|
|
|
|
&ogs_gtp2_tlv_desc_overload_control_information_0,
|
2019-09-13 12:07:47 +00:00
|
|
|
NULL,
|
|
|
|
}};
|
|
|
|
|
|
|
|
|
2022-04-29 12:28:16 +00:00
|
|
|
int ogs_gtp2_parse_msg(ogs_gtp2_message_t *gtp2_message, ogs_pkbuf_t *pkbuf)
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
|
|
|
int rv = OGS_ERROR;
|
2022-04-12 22:07:39 +00:00
|
|
|
ogs_gtp2_header_t *h = NULL;
|
2019-09-13 12:07:47 +00:00
|
|
|
uint16_t size = 0;
|
|
|
|
|
2022-04-29 12:28:16 +00:00
|
|
|
ogs_assert(gtp2_message);
|
2019-09-13 12:07:47 +00:00
|
|
|
ogs_assert(pkbuf);
|
|
|
|
ogs_assert(pkbuf->len);
|
|
|
|
|
2022-04-12 22:07:39 +00:00
|
|
|
h = (ogs_gtp2_header_t *)pkbuf->data;
|
2019-09-13 12:07:47 +00:00
|
|
|
ogs_assert(h);
|
2022-04-12 22:07:39 +00:00
|
|
|
|
2022-04-29 12:28:16 +00:00
|
|
|
memset(gtp2_message, 0, sizeof(ogs_gtp2_message_t));
|
2019-09-13 12:07:47 +00:00
|
|
|
|
|
|
|
if (h->teid_presence)
|
|
|
|
size = OGS_GTPV2C_HEADER_LEN;
|
|
|
|
else
|
2022-04-12 22:07:39 +00:00
|
|
|
size = OGS_GTPV2C_HEADER_LEN-OGS_GTP2_TEID_LEN;
|
2019-09-13 12:07:47 +00:00
|
|
|
|
2023-03-04 23:35:30 +00:00
|
|
|
if (ogs_pkbuf_pull(pkbuf, size) == NULL) {
|
|
|
|
ogs_error("ogs_pkbuf_pull() failed [len:%d]", pkbuf->len);
|
|
|
|
return OGS_ERROR;
|
|
|
|
}
|
2022-04-29 12:28:16 +00:00
|
|
|
memcpy(>p2_message->h, pkbuf->data - size, size);
|
2019-09-13 12:07:47 +00:00
|
|
|
|
|
|
|
if (h->teid_presence)
|
2022-04-29 12:28:16 +00:00
|
|
|
gtp2_message->h.teid = be32toh(gtp2_message->h.teid);
|
2019-09-13 12:07:47 +00:00
|
|
|
|
2020-08-13 00:31:22 +00:00
|
|
|
if (pkbuf->len == 0) {
|
|
|
|
ogs_assert(ogs_pkbuf_push(pkbuf, size));
|
2019-09-13 12:07:47 +00:00
|
|
|
return OGS_OK;
|
2020-08-13 00:31:22 +00:00
|
|
|
}
|
2019-09-13 12:07:47 +00:00
|
|
|
|
2022-04-29 12:28:16 +00:00
|
|
|
switch(gtp2_message->h.type) {
|
2022-04-12 22:07:39 +00:00
|
|
|
case OGS_GTP2_ECHO_REQUEST_TYPE:
|
2022-04-29 12:28:16 +00:00
|
|
|
rv = ogs_tlv_parse_msg(>p2_message->echo_request,
|
2022-04-12 22:07:39 +00:00
|
|
|
&ogs_gtp2_tlv_desc_echo_request, pkbuf, OGS_TLV_MODE_T1_L2_I1);
|
2019-12-01 11:14:47 +00:00
|
|
|
break;
|
2022-04-12 22:07:39 +00:00
|
|
|
case OGS_GTP2_ECHO_RESPONSE_TYPE:
|
2022-04-29 12:28:16 +00:00
|
|
|
rv = ogs_tlv_parse_msg(>p2_message->echo_response,
|
2022-04-12 22:07:39 +00:00
|
|
|
&ogs_gtp2_tlv_desc_echo_response, pkbuf, OGS_TLV_MODE_T1_L2_I1);
|
2019-12-01 11:14:47 +00:00
|
|
|
break;
|
2022-04-12 22:07:39 +00:00
|
|
|
case OGS_GTP2_CREATE_SESSION_REQUEST_TYPE:
|
2022-04-29 12:28:16 +00:00
|
|
|
rv = ogs_tlv_parse_msg(>p2_message->create_session_request,
|
2022-04-12 22:07:39 +00:00
|
|
|
&ogs_gtp2_tlv_desc_create_session_request, pkbuf, OGS_TLV_MODE_T1_L2_I1);
|
2019-12-01 11:14:47 +00:00
|
|
|
break;
|
2022-04-12 22:07:39 +00:00
|
|
|
case OGS_GTP2_CREATE_SESSION_RESPONSE_TYPE:
|
2022-04-29 12:28:16 +00:00
|
|
|
rv = ogs_tlv_parse_msg(>p2_message->create_session_response,
|
2022-04-12 22:07:39 +00:00
|
|
|
&ogs_gtp2_tlv_desc_create_session_response, pkbuf, OGS_TLV_MODE_T1_L2_I1);
|
2019-12-01 11:14:47 +00:00
|
|
|
break;
|
2022-04-12 22:07:39 +00:00
|
|
|
case OGS_GTP2_MODIFY_BEARER_REQUEST_TYPE:
|
2022-04-29 12:28:16 +00:00
|
|
|
rv = ogs_tlv_parse_msg(>p2_message->modify_bearer_request,
|
2022-04-12 22:07:39 +00:00
|
|
|
&ogs_gtp2_tlv_desc_modify_bearer_request, pkbuf, OGS_TLV_MODE_T1_L2_I1);
|
2019-12-01 11:14:47 +00:00
|
|
|
break;
|
2022-04-12 22:07:39 +00:00
|
|
|
case OGS_GTP2_MODIFY_BEARER_RESPONSE_TYPE:
|
2022-04-29 12:28:16 +00:00
|
|
|
rv = ogs_tlv_parse_msg(>p2_message->modify_bearer_response,
|
2022-04-12 22:07:39 +00:00
|
|
|
&ogs_gtp2_tlv_desc_modify_bearer_response, pkbuf, OGS_TLV_MODE_T1_L2_I1);
|
2019-12-01 11:14:47 +00:00
|
|
|
break;
|
2022-04-12 22:07:39 +00:00
|
|
|
case OGS_GTP2_DELETE_SESSION_REQUEST_TYPE:
|
2022-04-29 12:28:16 +00:00
|
|
|
rv = ogs_tlv_parse_msg(>p2_message->delete_session_request,
|
2022-04-12 22:07:39 +00:00
|
|
|
&ogs_gtp2_tlv_desc_delete_session_request, pkbuf, OGS_TLV_MODE_T1_L2_I1);
|
2019-12-01 11:14:47 +00:00
|
|
|
break;
|
2022-04-12 22:07:39 +00:00
|
|
|
case OGS_GTP2_DELETE_SESSION_RESPONSE_TYPE:
|
2022-04-29 12:28:16 +00:00
|
|
|
rv = ogs_tlv_parse_msg(>p2_message->delete_session_response,
|
2022-04-12 22:07:39 +00:00
|
|
|
&ogs_gtp2_tlv_desc_delete_session_response, pkbuf, OGS_TLV_MODE_T1_L2_I1);
|
2019-12-01 11:14:47 +00:00
|
|
|
break;
|
2022-04-12 22:07:39 +00:00
|
|
|
case OGS_GTP2_MODIFY_BEARER_COMMAND_TYPE:
|
2022-04-29 12:28:16 +00:00
|
|
|
rv = ogs_tlv_parse_msg(>p2_message->modify_bearer_command,
|
2022-04-12 22:07:39 +00:00
|
|
|
&ogs_gtp2_tlv_desc_modify_bearer_command, pkbuf, OGS_TLV_MODE_T1_L2_I1);
|
2019-12-01 11:14:47 +00:00
|
|
|
break;
|
2022-04-12 22:07:39 +00:00
|
|
|
case OGS_GTP2_MODIFY_BEARER_FAILURE_INDICATION_TYPE:
|
2022-04-29 12:28:16 +00:00
|
|
|
rv = ogs_tlv_parse_msg(>p2_message->modify_bearer_failure_indication,
|
2022-04-12 22:07:39 +00:00
|
|
|
&ogs_gtp2_tlv_desc_modify_bearer_failure_indication, pkbuf, OGS_TLV_MODE_T1_L2_I1);
|
2019-12-01 11:14:47 +00:00
|
|
|
break;
|
2022-04-12 22:07:39 +00:00
|
|
|
case OGS_GTP2_DELETE_BEARER_COMMAND_TYPE:
|
2022-04-29 12:28:16 +00:00
|
|
|
rv = ogs_tlv_parse_msg(>p2_message->delete_bearer_command,
|
2022-04-12 22:07:39 +00:00
|
|
|
&ogs_gtp2_tlv_desc_delete_bearer_command, pkbuf, OGS_TLV_MODE_T1_L2_I1);
|
2019-12-01 11:14:47 +00:00
|
|
|
break;
|
2022-04-12 22:07:39 +00:00
|
|
|
case OGS_GTP2_DELETE_BEARER_FAILURE_INDICATION_TYPE:
|
2022-04-29 12:28:16 +00:00
|
|
|
rv = ogs_tlv_parse_msg(>p2_message->delete_bearer_failure_indication,
|
2022-04-12 22:07:39 +00:00
|
|
|
&ogs_gtp2_tlv_desc_delete_bearer_failure_indication, pkbuf, OGS_TLV_MODE_T1_L2_I1);
|
2019-12-01 11:14:47 +00:00
|
|
|
break;
|
2022-04-12 22:07:39 +00:00
|
|
|
case OGS_GTP2_BEARER_RESOURCE_COMMAND_TYPE:
|
2022-04-29 12:28:16 +00:00
|
|
|
rv = ogs_tlv_parse_msg(>p2_message->bearer_resource_command,
|
2022-04-12 22:07:39 +00:00
|
|
|
&ogs_gtp2_tlv_desc_bearer_resource_command, pkbuf, OGS_TLV_MODE_T1_L2_I1);
|
2019-12-28 12:46:30 +00:00
|
|
|
break;
|
2022-04-12 22:07:39 +00:00
|
|
|
case OGS_GTP2_BEARER_RESOURCE_FAILURE_INDICATION_TYPE:
|
2022-04-29 12:28:16 +00:00
|
|
|
rv = ogs_tlv_parse_msg(>p2_message->bearer_resource_failure_indication,
|
2022-04-12 22:07:39 +00:00
|
|
|
&ogs_gtp2_tlv_desc_bearer_resource_failure_indication, pkbuf, OGS_TLV_MODE_T1_L2_I1);
|
2019-12-28 12:46:30 +00:00
|
|
|
break;
|
2022-04-12 22:07:39 +00:00
|
|
|
case OGS_GTP2_DOWNLINK_DATA_NOTIFICATION_FAILURE_INDICATION_TYPE:
|
2022-04-29 12:28:16 +00:00
|
|
|
rv = ogs_tlv_parse_msg(>p2_message->downlink_data_notification_failure_indication,
|
2022-04-12 22:07:39 +00:00
|
|
|
&ogs_gtp2_tlv_desc_downlink_data_notification_failure_indication, pkbuf, OGS_TLV_MODE_T1_L2_I1);
|
2019-12-01 11:14:47 +00:00
|
|
|
break;
|
2022-04-12 22:07:39 +00:00
|
|
|
case OGS_GTP2_CREATE_BEARER_REQUEST_TYPE:
|
2022-04-29 12:28:16 +00:00
|
|
|
rv = ogs_tlv_parse_msg(>p2_message->create_bearer_request,
|
2022-04-12 22:07:39 +00:00
|
|
|
&ogs_gtp2_tlv_desc_create_bearer_request, pkbuf, OGS_TLV_MODE_T1_L2_I1);
|
2019-12-01 11:14:47 +00:00
|
|
|
break;
|
2022-04-12 22:07:39 +00:00
|
|
|
case OGS_GTP2_CREATE_BEARER_RESPONSE_TYPE:
|
2022-04-29 12:28:16 +00:00
|
|
|
rv = ogs_tlv_parse_msg(>p2_message->create_bearer_response,
|
2022-04-12 22:07:39 +00:00
|
|
|
&ogs_gtp2_tlv_desc_create_bearer_response, pkbuf, OGS_TLV_MODE_T1_L2_I1);
|
2019-12-01 11:14:47 +00:00
|
|
|
break;
|
2022-04-12 22:07:39 +00:00
|
|
|
case OGS_GTP2_UPDATE_BEARER_REQUEST_TYPE:
|
2022-04-29 12:28:16 +00:00
|
|
|
rv = ogs_tlv_parse_msg(>p2_message->update_bearer_request,
|
2022-04-12 22:07:39 +00:00
|
|
|
&ogs_gtp2_tlv_desc_update_bearer_request, pkbuf, OGS_TLV_MODE_T1_L2_I1);
|
2019-12-01 11:14:47 +00:00
|
|
|
break;
|
2022-04-12 22:07:39 +00:00
|
|
|
case OGS_GTP2_UPDATE_BEARER_RESPONSE_TYPE:
|
2022-04-29 12:28:16 +00:00
|
|
|
rv = ogs_tlv_parse_msg(>p2_message->update_bearer_response,
|
2022-04-12 22:07:39 +00:00
|
|
|
&ogs_gtp2_tlv_desc_update_bearer_response, pkbuf, OGS_TLV_MODE_T1_L2_I1);
|
2019-12-01 11:14:47 +00:00
|
|
|
break;
|
2022-04-12 22:07:39 +00:00
|
|
|
case OGS_GTP2_DELETE_BEARER_REQUEST_TYPE:
|
2022-04-29 12:28:16 +00:00
|
|
|
rv = ogs_tlv_parse_msg(>p2_message->delete_bearer_request,
|
2022-04-12 22:07:39 +00:00
|
|
|
&ogs_gtp2_tlv_desc_delete_bearer_request, pkbuf, OGS_TLV_MODE_T1_L2_I1);
|
2019-12-01 11:14:47 +00:00
|
|
|
break;
|
2022-04-12 22:07:39 +00:00
|
|
|
case OGS_GTP2_DELETE_BEARER_RESPONSE_TYPE:
|
2022-04-29 12:28:16 +00:00
|
|
|
rv = ogs_tlv_parse_msg(>p2_message->delete_bearer_response,
|
2022-04-12 22:07:39 +00:00
|
|
|
&ogs_gtp2_tlv_desc_delete_bearer_response, pkbuf, OGS_TLV_MODE_T1_L2_I1);
|
2019-12-01 11:14:47 +00:00
|
|
|
break;
|
2022-04-12 22:07:39 +00:00
|
|
|
case OGS_GTP2_CREATE_INDIRECT_DATA_FORWARDING_TUNNEL_REQUEST_TYPE:
|
2022-04-29 12:28:16 +00:00
|
|
|
rv = ogs_tlv_parse_msg(>p2_message->create_indirect_data_forwarding_tunnel_request,
|
2022-04-12 22:07:39 +00:00
|
|
|
&ogs_gtp2_tlv_desc_create_indirect_data_forwarding_tunnel_request, pkbuf, OGS_TLV_MODE_T1_L2_I1);
|
2019-12-01 11:14:47 +00:00
|
|
|
break;
|
2022-04-12 22:07:39 +00:00
|
|
|
case OGS_GTP2_CREATE_INDIRECT_DATA_FORWARDING_TUNNEL_RESPONSE_TYPE:
|
2022-04-29 12:28:16 +00:00
|
|
|
rv = ogs_tlv_parse_msg(>p2_message->create_indirect_data_forwarding_tunnel_response,
|
2022-04-12 22:07:39 +00:00
|
|
|
&ogs_gtp2_tlv_desc_create_indirect_data_forwarding_tunnel_response, pkbuf, OGS_TLV_MODE_T1_L2_I1);
|
2019-12-01 11:14:47 +00:00
|
|
|
break;
|
2022-04-12 22:07:39 +00:00
|
|
|
case OGS_GTP2_DELETE_INDIRECT_DATA_FORWARDING_TUNNEL_REQUEST_TYPE:
|
2023-08-26 07:35:27 +00:00
|
|
|
break;
|
2022-04-12 22:07:39 +00:00
|
|
|
case OGS_GTP2_DELETE_INDIRECT_DATA_FORWARDING_TUNNEL_RESPONSE_TYPE:
|
2022-04-29 12:28:16 +00:00
|
|
|
rv = ogs_tlv_parse_msg(>p2_message->delete_indirect_data_forwarding_tunnel_response,
|
2022-04-12 22:07:39 +00:00
|
|
|
&ogs_gtp2_tlv_desc_delete_indirect_data_forwarding_tunnel_response, pkbuf, OGS_TLV_MODE_T1_L2_I1);
|
2019-12-01 11:14:47 +00:00
|
|
|
break;
|
2022-04-12 22:07:39 +00:00
|
|
|
case OGS_GTP2_RELEASE_ACCESS_BEARERS_REQUEST_TYPE:
|
2022-04-29 12:28:16 +00:00
|
|
|
rv = ogs_tlv_parse_msg(>p2_message->release_access_bearers_request,
|
2022-04-12 22:07:39 +00:00
|
|
|
&ogs_gtp2_tlv_desc_release_access_bearers_request, pkbuf, OGS_TLV_MODE_T1_L2_I1);
|
2019-12-01 11:14:47 +00:00
|
|
|
break;
|
2022-04-12 22:07:39 +00:00
|
|
|
case OGS_GTP2_RELEASE_ACCESS_BEARERS_RESPONSE_TYPE:
|
2022-04-29 12:28:16 +00:00
|
|
|
rv = ogs_tlv_parse_msg(>p2_message->release_access_bearers_response,
|
2022-04-12 22:07:39 +00:00
|
|
|
&ogs_gtp2_tlv_desc_release_access_bearers_response, pkbuf, OGS_TLV_MODE_T1_L2_I1);
|
2019-12-01 11:14:47 +00:00
|
|
|
break;
|
2022-04-12 22:07:39 +00:00
|
|
|
case OGS_GTP2_DOWNLINK_DATA_NOTIFICATION_TYPE:
|
2022-04-29 12:28:16 +00:00
|
|
|
rv = ogs_tlv_parse_msg(>p2_message->downlink_data_notification,
|
2022-04-12 22:07:39 +00:00
|
|
|
&ogs_gtp2_tlv_desc_downlink_data_notification, pkbuf, OGS_TLV_MODE_T1_L2_I1);
|
2019-12-01 11:14:47 +00:00
|
|
|
break;
|
2022-04-12 22:07:39 +00:00
|
|
|
case OGS_GTP2_DOWNLINK_DATA_NOTIFICATION_ACKNOWLEDGE_TYPE:
|
2022-04-29 12:28:16 +00:00
|
|
|
rv = ogs_tlv_parse_msg(>p2_message->downlink_data_notification_acknowledge,
|
2022-04-12 22:07:39 +00:00
|
|
|
&ogs_gtp2_tlv_desc_downlink_data_notification_acknowledge, pkbuf, OGS_TLV_MODE_T1_L2_I1);
|
2019-12-01 11:14:47 +00:00
|
|
|
break;
|
2022-04-12 22:07:39 +00:00
|
|
|
case OGS_GTP2_MODIFY_ACCESS_BEARERS_REQUEST_TYPE:
|
2022-04-29 12:28:16 +00:00
|
|
|
rv = ogs_tlv_parse_msg(>p2_message->modify_access_bearers_request,
|
2022-04-12 22:07:39 +00:00
|
|
|
&ogs_gtp2_tlv_desc_modify_access_bearers_request, pkbuf, OGS_TLV_MODE_T1_L2_I1);
|
2019-12-01 11:14:47 +00:00
|
|
|
break;
|
2022-04-12 22:07:39 +00:00
|
|
|
case OGS_GTP2_MODIFY_ACCESS_BEARERS_RESPONSE_TYPE:
|
2022-04-29 12:28:16 +00:00
|
|
|
rv = ogs_tlv_parse_msg(>p2_message->modify_access_bearers_response,
|
2022-04-12 22:07:39 +00:00
|
|
|
&ogs_gtp2_tlv_desc_modify_access_bearers_response, pkbuf, OGS_TLV_MODE_T1_L2_I1);
|
2019-12-01 11:14:47 +00:00
|
|
|
break;
|
|
|
|
default:
|
2022-08-24 12:02:28 +00:00
|
|
|
ogs_warn("Not implemented(type:%d)", gtp2_message->h.type);
|
2019-12-01 11:14:47 +00:00
|
|
|
break;
|
2019-09-13 12:07:47 +00:00
|
|
|
}
|
|
|
|
|
2020-08-13 00:31:22 +00:00
|
|
|
ogs_assert(ogs_pkbuf_push(pkbuf, size));
|
|
|
|
|
2019-09-13 12:07:47 +00:00
|
|
|
return rv;
|
|
|
|
}
|
|
|
|
|
2022-04-29 12:28:16 +00:00
|
|
|
ogs_pkbuf_t *ogs_gtp2_build_msg(ogs_gtp2_message_t *gtp2_message)
|
2019-09-13 12:07:47 +00:00
|
|
|
{
|
2019-11-30 07:45:09 +00:00
|
|
|
ogs_pkbuf_t *pkbuf = NULL;
|
2019-09-13 12:07:47 +00:00
|
|
|
|
2022-04-29 12:28:16 +00:00
|
|
|
ogs_assert(gtp2_message);
|
|
|
|
switch(gtp2_message->h.type) {
|
2022-04-12 22:07:39 +00:00
|
|
|
case OGS_GTP2_ECHO_REQUEST_TYPE:
|
|
|
|
pkbuf = ogs_tlv_build_msg(&ogs_gtp2_tlv_desc_echo_request,
|
2022-04-29 12:28:16 +00:00
|
|
|
>p2_message->echo_request, OGS_TLV_MODE_T1_L2_I1);
|
2019-11-30 07:45:09 +00:00
|
|
|
break;
|
2022-04-12 22:07:39 +00:00
|
|
|
case OGS_GTP2_ECHO_RESPONSE_TYPE:
|
|
|
|
pkbuf = ogs_tlv_build_msg(&ogs_gtp2_tlv_desc_echo_response,
|
2022-04-29 12:28:16 +00:00
|
|
|
>p2_message->echo_response, OGS_TLV_MODE_T1_L2_I1);
|
2019-11-30 07:45:09 +00:00
|
|
|
break;
|
2022-04-12 22:07:39 +00:00
|
|
|
case OGS_GTP2_CREATE_SESSION_REQUEST_TYPE:
|
|
|
|
pkbuf = ogs_tlv_build_msg(&ogs_gtp2_tlv_desc_create_session_request,
|
2022-04-29 12:28:16 +00:00
|
|
|
>p2_message->create_session_request, OGS_TLV_MODE_T1_L2_I1);
|
2019-11-30 07:45:09 +00:00
|
|
|
break;
|
2022-04-12 22:07:39 +00:00
|
|
|
case OGS_GTP2_CREATE_SESSION_RESPONSE_TYPE:
|
|
|
|
pkbuf = ogs_tlv_build_msg(&ogs_gtp2_tlv_desc_create_session_response,
|
2022-04-29 12:28:16 +00:00
|
|
|
>p2_message->create_session_response, OGS_TLV_MODE_T1_L2_I1);
|
2019-11-30 07:45:09 +00:00
|
|
|
break;
|
2022-04-12 22:07:39 +00:00
|
|
|
case OGS_GTP2_MODIFY_BEARER_REQUEST_TYPE:
|
|
|
|
pkbuf = ogs_tlv_build_msg(&ogs_gtp2_tlv_desc_modify_bearer_request,
|
2022-04-29 12:28:16 +00:00
|
|
|
>p2_message->modify_bearer_request, OGS_TLV_MODE_T1_L2_I1);
|
2019-11-30 07:45:09 +00:00
|
|
|
break;
|
2022-04-12 22:07:39 +00:00
|
|
|
case OGS_GTP2_MODIFY_BEARER_RESPONSE_TYPE:
|
|
|
|
pkbuf = ogs_tlv_build_msg(&ogs_gtp2_tlv_desc_modify_bearer_response,
|
2022-04-29 12:28:16 +00:00
|
|
|
>p2_message->modify_bearer_response, OGS_TLV_MODE_T1_L2_I1);
|
2019-11-30 07:45:09 +00:00
|
|
|
break;
|
2022-04-12 22:07:39 +00:00
|
|
|
case OGS_GTP2_DELETE_SESSION_REQUEST_TYPE:
|
|
|
|
pkbuf = ogs_tlv_build_msg(&ogs_gtp2_tlv_desc_delete_session_request,
|
2022-04-29 12:28:16 +00:00
|
|
|
>p2_message->delete_session_request, OGS_TLV_MODE_T1_L2_I1);
|
2019-11-30 07:45:09 +00:00
|
|
|
break;
|
2022-04-12 22:07:39 +00:00
|
|
|
case OGS_GTP2_DELETE_SESSION_RESPONSE_TYPE:
|
|
|
|
pkbuf = ogs_tlv_build_msg(&ogs_gtp2_tlv_desc_delete_session_response,
|
2022-04-29 12:28:16 +00:00
|
|
|
>p2_message->delete_session_response, OGS_TLV_MODE_T1_L2_I1);
|
2019-11-30 07:45:09 +00:00
|
|
|
break;
|
2022-04-12 22:07:39 +00:00
|
|
|
case OGS_GTP2_MODIFY_BEARER_COMMAND_TYPE:
|
|
|
|
pkbuf = ogs_tlv_build_msg(&ogs_gtp2_tlv_desc_modify_bearer_command,
|
2022-04-29 12:28:16 +00:00
|
|
|
>p2_message->modify_bearer_command, OGS_TLV_MODE_T1_L2_I1);
|
2019-11-30 07:45:09 +00:00
|
|
|
break;
|
2022-04-12 22:07:39 +00:00
|
|
|
case OGS_GTP2_MODIFY_BEARER_FAILURE_INDICATION_TYPE:
|
|
|
|
pkbuf = ogs_tlv_build_msg(&ogs_gtp2_tlv_desc_modify_bearer_failure_indication,
|
2022-04-29 12:28:16 +00:00
|
|
|
>p2_message->modify_bearer_failure_indication, OGS_TLV_MODE_T1_L2_I1);
|
2019-11-30 07:45:09 +00:00
|
|
|
break;
|
2022-04-12 22:07:39 +00:00
|
|
|
case OGS_GTP2_DELETE_BEARER_COMMAND_TYPE:
|
|
|
|
pkbuf = ogs_tlv_build_msg(&ogs_gtp2_tlv_desc_delete_bearer_command,
|
2022-04-29 12:28:16 +00:00
|
|
|
>p2_message->delete_bearer_command, OGS_TLV_MODE_T1_L2_I1);
|
2019-11-30 07:45:09 +00:00
|
|
|
break;
|
2022-04-12 22:07:39 +00:00
|
|
|
case OGS_GTP2_DELETE_BEARER_FAILURE_INDICATION_TYPE:
|
|
|
|
pkbuf = ogs_tlv_build_msg(&ogs_gtp2_tlv_desc_delete_bearer_failure_indication,
|
2022-04-29 12:28:16 +00:00
|
|
|
>p2_message->delete_bearer_failure_indication, OGS_TLV_MODE_T1_L2_I1);
|
2019-11-30 07:45:09 +00:00
|
|
|
break;
|
2022-04-12 22:07:39 +00:00
|
|
|
case OGS_GTP2_BEARER_RESOURCE_COMMAND_TYPE:
|
|
|
|
pkbuf = ogs_tlv_build_msg(&ogs_gtp2_tlv_desc_bearer_resource_command,
|
2022-04-29 12:28:16 +00:00
|
|
|
>p2_message->bearer_resource_command, OGS_TLV_MODE_T1_L2_I1);
|
2019-12-28 12:46:30 +00:00
|
|
|
break;
|
2022-04-12 22:07:39 +00:00
|
|
|
case OGS_GTP2_BEARER_RESOURCE_FAILURE_INDICATION_TYPE:
|
|
|
|
pkbuf = ogs_tlv_build_msg(&ogs_gtp2_tlv_desc_bearer_resource_failure_indication,
|
2022-04-29 12:28:16 +00:00
|
|
|
>p2_message->bearer_resource_failure_indication, OGS_TLV_MODE_T1_L2_I1);
|
2019-12-28 12:46:30 +00:00
|
|
|
break;
|
2022-04-12 22:07:39 +00:00
|
|
|
case OGS_GTP2_DOWNLINK_DATA_NOTIFICATION_FAILURE_INDICATION_TYPE:
|
|
|
|
pkbuf = ogs_tlv_build_msg(&ogs_gtp2_tlv_desc_downlink_data_notification_failure_indication,
|
2022-04-29 12:28:16 +00:00
|
|
|
>p2_message->downlink_data_notification_failure_indication, OGS_TLV_MODE_T1_L2_I1);
|
2019-11-30 07:45:09 +00:00
|
|
|
break;
|
2022-04-12 22:07:39 +00:00
|
|
|
case OGS_GTP2_CREATE_BEARER_REQUEST_TYPE:
|
|
|
|
pkbuf = ogs_tlv_build_msg(&ogs_gtp2_tlv_desc_create_bearer_request,
|
2022-04-29 12:28:16 +00:00
|
|
|
>p2_message->create_bearer_request, OGS_TLV_MODE_T1_L2_I1);
|
2019-11-30 07:45:09 +00:00
|
|
|
break;
|
2022-04-12 22:07:39 +00:00
|
|
|
case OGS_GTP2_CREATE_BEARER_RESPONSE_TYPE:
|
|
|
|
pkbuf = ogs_tlv_build_msg(&ogs_gtp2_tlv_desc_create_bearer_response,
|
2022-04-29 12:28:16 +00:00
|
|
|
>p2_message->create_bearer_response, OGS_TLV_MODE_T1_L2_I1);
|
2019-11-30 07:45:09 +00:00
|
|
|
break;
|
2022-04-12 22:07:39 +00:00
|
|
|
case OGS_GTP2_UPDATE_BEARER_REQUEST_TYPE:
|
|
|
|
pkbuf = ogs_tlv_build_msg(&ogs_gtp2_tlv_desc_update_bearer_request,
|
2022-04-29 12:28:16 +00:00
|
|
|
>p2_message->update_bearer_request, OGS_TLV_MODE_T1_L2_I1);
|
2019-11-30 07:45:09 +00:00
|
|
|
break;
|
2022-04-12 22:07:39 +00:00
|
|
|
case OGS_GTP2_UPDATE_BEARER_RESPONSE_TYPE:
|
|
|
|
pkbuf = ogs_tlv_build_msg(&ogs_gtp2_tlv_desc_update_bearer_response,
|
2022-04-29 12:28:16 +00:00
|
|
|
>p2_message->update_bearer_response, OGS_TLV_MODE_T1_L2_I1);
|
2019-11-30 07:45:09 +00:00
|
|
|
break;
|
2022-04-12 22:07:39 +00:00
|
|
|
case OGS_GTP2_DELETE_BEARER_REQUEST_TYPE:
|
|
|
|
pkbuf = ogs_tlv_build_msg(&ogs_gtp2_tlv_desc_delete_bearer_request,
|
2022-04-29 12:28:16 +00:00
|
|
|
>p2_message->delete_bearer_request, OGS_TLV_MODE_T1_L2_I1);
|
2019-11-30 07:45:09 +00:00
|
|
|
break;
|
2022-04-12 22:07:39 +00:00
|
|
|
case OGS_GTP2_DELETE_BEARER_RESPONSE_TYPE:
|
|
|
|
pkbuf = ogs_tlv_build_msg(&ogs_gtp2_tlv_desc_delete_bearer_response,
|
2022-04-29 12:28:16 +00:00
|
|
|
>p2_message->delete_bearer_response, OGS_TLV_MODE_T1_L2_I1);
|
2019-11-30 07:45:09 +00:00
|
|
|
break;
|
2022-04-12 22:07:39 +00:00
|
|
|
case OGS_GTP2_CREATE_INDIRECT_DATA_FORWARDING_TUNNEL_REQUEST_TYPE:
|
|
|
|
pkbuf = ogs_tlv_build_msg(&ogs_gtp2_tlv_desc_create_indirect_data_forwarding_tunnel_request,
|
2022-04-29 12:28:16 +00:00
|
|
|
>p2_message->create_indirect_data_forwarding_tunnel_request, OGS_TLV_MODE_T1_L2_I1);
|
2019-11-30 07:45:09 +00:00
|
|
|
break;
|
2022-04-12 22:07:39 +00:00
|
|
|
case OGS_GTP2_CREATE_INDIRECT_DATA_FORWARDING_TUNNEL_RESPONSE_TYPE:
|
|
|
|
pkbuf = ogs_tlv_build_msg(&ogs_gtp2_tlv_desc_create_indirect_data_forwarding_tunnel_response,
|
2022-04-29 12:28:16 +00:00
|
|
|
>p2_message->create_indirect_data_forwarding_tunnel_response, OGS_TLV_MODE_T1_L2_I1);
|
2019-11-30 07:45:09 +00:00
|
|
|
break;
|
2022-04-12 22:07:39 +00:00
|
|
|
case OGS_GTP2_DELETE_INDIRECT_DATA_FORWARDING_TUNNEL_REQUEST_TYPE:
|
|
|
|
pkbuf = ogs_tlv_build_msg(&ogs_gtp2_tlv_desc_delete_indirect_data_forwarding_tunnel_request,
|
2022-04-29 12:28:16 +00:00
|
|
|
>p2_message->delete_indirect_data_forwarding_tunnel_request, OGS_TLV_MODE_T1_L2_I1);
|
2019-11-30 07:45:09 +00:00
|
|
|
break;
|
2022-04-12 22:07:39 +00:00
|
|
|
case OGS_GTP2_DELETE_INDIRECT_DATA_FORWARDING_TUNNEL_RESPONSE_TYPE:
|
|
|
|
pkbuf = ogs_tlv_build_msg(&ogs_gtp2_tlv_desc_delete_indirect_data_forwarding_tunnel_response,
|
2022-04-29 12:28:16 +00:00
|
|
|
>p2_message->delete_indirect_data_forwarding_tunnel_response, OGS_TLV_MODE_T1_L2_I1);
|
2019-11-30 07:45:09 +00:00
|
|
|
break;
|
2022-04-12 22:07:39 +00:00
|
|
|
case OGS_GTP2_RELEASE_ACCESS_BEARERS_REQUEST_TYPE:
|
|
|
|
pkbuf = ogs_tlv_build_msg(&ogs_gtp2_tlv_desc_release_access_bearers_request,
|
2022-04-29 12:28:16 +00:00
|
|
|
>p2_message->release_access_bearers_request, OGS_TLV_MODE_T1_L2_I1);
|
2019-11-30 07:45:09 +00:00
|
|
|
break;
|
2022-04-12 22:07:39 +00:00
|
|
|
case OGS_GTP2_RELEASE_ACCESS_BEARERS_RESPONSE_TYPE:
|
|
|
|
pkbuf = ogs_tlv_build_msg(&ogs_gtp2_tlv_desc_release_access_bearers_response,
|
2022-04-29 12:28:16 +00:00
|
|
|
>p2_message->release_access_bearers_response, OGS_TLV_MODE_T1_L2_I1);
|
2019-11-30 07:45:09 +00:00
|
|
|
break;
|
2022-04-12 22:07:39 +00:00
|
|
|
case OGS_GTP2_DOWNLINK_DATA_NOTIFICATION_TYPE:
|
|
|
|
pkbuf = ogs_tlv_build_msg(&ogs_gtp2_tlv_desc_downlink_data_notification,
|
2022-04-29 12:28:16 +00:00
|
|
|
>p2_message->downlink_data_notification, OGS_TLV_MODE_T1_L2_I1);
|
2019-11-30 07:45:09 +00:00
|
|
|
break;
|
2022-04-12 22:07:39 +00:00
|
|
|
case OGS_GTP2_DOWNLINK_DATA_NOTIFICATION_ACKNOWLEDGE_TYPE:
|
|
|
|
pkbuf = ogs_tlv_build_msg(&ogs_gtp2_tlv_desc_downlink_data_notification_acknowledge,
|
2022-04-29 12:28:16 +00:00
|
|
|
>p2_message->downlink_data_notification_acknowledge, OGS_TLV_MODE_T1_L2_I1);
|
2019-11-30 07:45:09 +00:00
|
|
|
break;
|
2022-04-12 22:07:39 +00:00
|
|
|
case OGS_GTP2_MODIFY_ACCESS_BEARERS_REQUEST_TYPE:
|
|
|
|
pkbuf = ogs_tlv_build_msg(&ogs_gtp2_tlv_desc_modify_access_bearers_request,
|
2022-04-29 12:28:16 +00:00
|
|
|
>p2_message->modify_access_bearers_request, OGS_TLV_MODE_T1_L2_I1);
|
2019-11-30 07:45:09 +00:00
|
|
|
break;
|
2022-04-12 22:07:39 +00:00
|
|
|
case OGS_GTP2_MODIFY_ACCESS_BEARERS_RESPONSE_TYPE:
|
|
|
|
pkbuf = ogs_tlv_build_msg(&ogs_gtp2_tlv_desc_modify_access_bearers_response,
|
2022-04-29 12:28:16 +00:00
|
|
|
>p2_message->modify_access_bearers_response, OGS_TLV_MODE_T1_L2_I1);
|
2019-11-30 07:45:09 +00:00
|
|
|
break;
|
|
|
|
default:
|
2022-08-24 12:02:28 +00:00
|
|
|
ogs_warn("Not implemented(type:%d)", gtp2_message->h.type);
|
2019-11-30 07:45:09 +00:00
|
|
|
break;
|
2019-09-13 12:07:47 +00:00
|
|
|
}
|
|
|
|
|
2019-11-30 07:45:09 +00:00
|
|
|
return pkbuf;
|
2019-09-13 12:07:47 +00:00
|
|
|
}
|