[TLV] Oops! Fixed my mistake on pull #2549

This commit is contained in:
Sukchan Lee 2023-08-26 16:35:27 +09:00
parent 5c726684b3
commit 7a3d551752
6 changed files with 9 additions and 6 deletions

View File

@ -22,7 +22,7 @@
/*******************************************************************************
* This file had been created by gtp1-tlv.py script v0.1.0
* Please do not modify this file but regenerate it via script.
* Created on: 2023-08-26 16:26:00.627882 by acetcom
* Created on: 2023-08-26 16:35:02.182792 by acetcom
* from 29060-h40.docx
******************************************************************************/
@ -2314,6 +2314,7 @@ int ogs_gtp1_parse_msg(ogs_gtp1_message_t *gtp1_message, ogs_pkbuf_t *pkbuf)
switch(gtp1_message->h.type) {
case OGS_GTP1_ECHO_REQUEST_TYPE:
break;
case OGS_GTP1_ECHO_RESPONSE_TYPE:
rv = ogs_tlv_parse_msg_desc(&gtp1_message->echo_response,
&ogs_gtp1_tlv_desc_echo_response, pkbuf, OGS_TLV_MODE_T1_L2);
@ -2423,6 +2424,7 @@ int ogs_gtp1_parse_msg(ogs_gtp1_message_t *gtp1_message, ogs_pkbuf_t *pkbuf)
&ogs_gtp1_tlv_desc_forward_relocation_response, pkbuf, OGS_TLV_MODE_T1_L2);
break;
case OGS_GTP1_FORWARD_RELOCATION_COMPLETE_TYPE:
break;
case OGS_GTP1_RELOCATION_CANCEL_REQUEST_TYPE:
rv = ogs_tlv_parse_msg_desc(&gtp1_message->relocation_cancel_request,
&ogs_gtp1_tlv_desc_relocation_cancel_request, pkbuf, OGS_TLV_MODE_T1_L2);

View File

@ -22,7 +22,7 @@
/*******************************************************************************
* This file had been created by gtp1-tlv.py script v0.1.0
* Please do not modify this file but regenerate it via script.
* Created on: 2023-08-26 16:26:00.621752 by acetcom
* Created on: 2023-08-26 16:35:02.176563 by acetcom
* from 29060-h40.docx
******************************************************************************/

View File

@ -638,7 +638,7 @@ for (k, v) in sorted_msg_list:
if k != "Echo Request" and k != "Forward Relocation Complete":
f.write(" rv = ogs_tlv_parse_msg_desc(&gtp1_message->%s,\n" % v_lower(k))
f.write(" &ogs_gtp1_tlv_desc_%s, pkbuf, OGS_TLV_MODE_T1_L2);\n" % v_lower(k))
f.write(" break;\n")
f.write(" break;\n")
f.write(""" default:
ogs_warn("Not implemented(type:%d)", gtp1_message->h.type);
break;

View File

@ -20,7 +20,7 @@
/*******************************************************************************
* This file had been created by gtp-tlv.py script v0.1.0
* Please do not modify this file but regenerate it via script.
* Created on: 2023-08-26 16:22:05.130327 by acetcom
* Created on: 2023-08-26 16:35:12.648272 by acetcom
* from 29274-h70.docx
******************************************************************************/
@ -2983,6 +2983,7 @@ int ogs_gtp2_parse_msg(ogs_gtp2_message_t *gtp2_message, ogs_pkbuf_t *pkbuf)
&ogs_gtp2_tlv_desc_create_indirect_data_forwarding_tunnel_response, pkbuf, OGS_TLV_MODE_T1_L2_I1);
break;
case OGS_GTP2_DELETE_INDIRECT_DATA_FORWARDING_TUNNEL_REQUEST_TYPE:
break;
case OGS_GTP2_DELETE_INDIRECT_DATA_FORWARDING_TUNNEL_RESPONSE_TYPE:
rv = ogs_tlv_parse_msg(&gtp2_message->delete_indirect_data_forwarding_tunnel_response,
&ogs_gtp2_tlv_desc_delete_indirect_data_forwarding_tunnel_response, pkbuf, OGS_TLV_MODE_T1_L2_I1);

View File

@ -20,7 +20,7 @@
/*******************************************************************************
* This file had been created by gtp-tlv.py script v0.1.0
* Please do not modify this file but regenerate it via script.
* Created on: 2023-08-26 16:22:05.124502 by acetcom
* Created on: 2023-08-26 16:35:12.642445 by acetcom
* from 29274-h70.docx
******************************************************************************/

View File

@ -726,7 +726,7 @@ for (k, v) in sorted_msg_list:
if k != "Delete Indirect Data Forwarding Tunnel Request":
f.write(" rv = ogs_tlv_parse_msg(&gtp2_message->%s,\n" % v_lower(k))
f.write(" &ogs_gtp2_tlv_desc_%s, pkbuf, OGS_TLV_MODE_T1_L2_I1);\n" % v_lower(k))
f.write(" break;\n")
f.write(" break;\n")
f.write(""" default:
ogs_warn("Not implemented(type:%d)", gtp2_message->h.type);
break;