delete indirect tunnel done..

This commit is contained in:
Sukchan Lee 2017-09-14 14:18:47 +09:00
parent 345f055dd7
commit 7a324ec8e9
19 changed files with 238 additions and 631 deletions

Binary file not shown.

View file

@ -14,16 +14,5 @@ ies.append({ "ie_type" : "Bearer Context", "ie_value" : "Bearer Context 7", "pre
ies.append({ "ie_type" : "Bearer Context", "ie_value" : "Bearer Context 8", "presence" : "O", "instance" : "8", "comment" : "Several IEs with this type and instance value may be included as necessary to represent a list of Bearers"})
ies.append({ "ie_type" : "Bearer Context", "ie_value" : "Bearer Context 9", "presence" : "O", "instance" : "9", "comment" : "Several IEs with this type and instance value may be included as necessary to represent a list of Bearers"})
ies.append({ "ie_type" : "Bearer Context", "ie_value" : "Bearer Context 10", "presence" : "O", "instance" : "10", "comment" : "Several IEs with this type and instance value may be included as necessary to represent a list of Bearers"})
ies.append({ "ie_type" : "Bearer Context", "ie_value" : "Bearer Context 11", "presence" : "O", "instance" : "11", "comment" : "Several IEs with this type and instance value may be included as necessary to represent a list of Bearers"})
ies.append({ "ie_type" : "Bearer Context", "ie_value" : "Bearer Context 12", "presence" : "O", "instance" : "12", "comment" : "Several IEs with this type and instance value may be included as necessary to represent a list of Bearers"})
ies.append({ "ie_type" : "Bearer Context", "ie_value" : "Bearer Context 13", "presence" : "O", "instance" : "13", "comment" : "Several IEs with this type and instance value may be included as necessary to represent a list of Bearers"})
ies.append({ "ie_type" : "Bearer Context", "ie_value" : "Bearer Context 14", "presence" : "O", "instance" : "14", "comment" : "Several IEs with this type and instance value may be included as necessary to represent a list of Bearers"})
ies.append({ "ie_type" : "Bearer Context", "ie_value" : "Bearer Context 15", "presence" : "O", "instance" : "15", "comment" : "Several IEs with this type and instance value may be included as necessary to represent a list of Bearers"})
ies.append({ "ie_type" : "Bearer Context", "ie_value" : "Bearer Context 16", "presence" : "O", "instance" : "16", "comment" : "Several IEs with this type and instance value may be included as necessary to represent a list of Bearers"})
ies.append({ "ie_type" : "Bearer Context", "ie_value" : "Bearer Context 17", "presence" : "O", "instance" : "17", "comment" : "Several IEs with this type and instance value may be included as necessary to represent a list of Bearers"})
ies.append({ "ie_type" : "Bearer Context", "ie_value" : "Bearer Context 18", "presence" : "O", "instance" : "18", "comment" : "Several IEs with this type and instance value may be included as necessary to represent a list of Bearers"})
ies.append({ "ie_type" : "Bearer Context", "ie_value" : "Bearer Context 19", "presence" : "O", "instance" : "19", "comment" : "Several IEs with this type and instance value may be included as necessary to represent a list of Bearers"})
ies.append({ "ie_type" : "Bearer Context", "ie_value" : "Bearer Context 20", "presence" : "O", "instance" : "20", "comment" : "Several IEs with this type and instance value may be included as necessary to represent a list of Bearers"})
ies.append({ "ie_type" : "Bearer Context", "ie_value" : "Bearer Context 21", "presence" : "O", "instance" : "21", "comment" : "Several IEs with this type and instance value may be included as necessary to represent a list of Bearers"})
ies.append({ "ie_type" : "Recovery", "ie_value" : "Recovery", "presence" : "CO", "instance" : "0", "comment" : "This IE shall be included if contacting the peer for the first time."})
msg_list[key]["ies"] = ies

View file

@ -21,27 +21,5 @@ type_list["Bearer Context"]["max_instance"] = "9"
ies.append({ "ie_type" : "Bearer Context", "ie_value" : "Bearer Context 9", "presence" : "O", "instance" : "9", "comment" : "Several IEs with this type and instance value may be included as necessary to represent a list of Bearers"})
type_list["Bearer Context"]["max_instance"] = "10"
ies.append({ "ie_type" : "Bearer Context", "ie_value" : "Bearer Context 10", "presence" : "O", "instance" : "10", "comment" : "Several IEs with this type and instance value may be included as necessary to represent a list of Bearers"})
type_list["Bearer Context"]["max_instance"] = "11"
ies.append({ "ie_type" : "Bearer Context", "ie_value" : "Bearer Context 11", "presence" : "O", "instance" : "11", "comment" : "Several IEs with this type and instance value may be included as necessary to represent a list of Bearers"})
type_list["Bearer Context"]["max_instance"] = "12"
ies.append({ "ie_type" : "Bearer Context", "ie_value" : "Bearer Context 12", "presence" : "O", "instance" : "12", "comment" : "Several IEs with this type and instance value may be included as necessary to represent a list of Bearers"})
type_list["Bearer Context"]["max_instance"] = "13"
ies.append({ "ie_type" : "Bearer Context", "ie_value" : "Bearer Context 13", "presence" : "O", "instance" : "13", "comment" : "Several IEs with this type and instance value may be included as necessary to represent a list of Bearers"})
type_list["Bearer Context"]["max_instance"] = "14"
ies.append({ "ie_type" : "Bearer Context", "ie_value" : "Bearer Context 14", "presence" : "O", "instance" : "14", "comment" : "Several IEs with this type and instance value may be included as necessary to represent a list of Bearers"})
type_list["Bearer Context"]["max_instance"] = "15"
ies.append({ "ie_type" : "Bearer Context", "ie_value" : "Bearer Context 15", "presence" : "O", "instance" : "15", "comment" : "Several IEs with this type and instance value may be included as necessary to represent a list of Bearers"})
type_list["Bearer Context"]["max_instance"] = "16"
ies.append({ "ie_type" : "Bearer Context", "ie_value" : "Bearer Context 16", "presence" : "O", "instance" : "16", "comment" : "Several IEs with this type and instance value may be included as necessary to represent a list of Bearers"})
type_list["Bearer Context"]["max_instance"] = "17"
ies.append({ "ie_type" : "Bearer Context", "ie_value" : "Bearer Context 17", "presence" : "O", "instance" : "17", "comment" : "Several IEs with this type and instance value may be included as necessary to represent a list of Bearers"})
type_list["Bearer Context"]["max_instance"] = "18"
ies.append({ "ie_type" : "Bearer Context", "ie_value" : "Bearer Context 18", "presence" : "O", "instance" : "18", "comment" : "Several IEs with this type and instance value may be included as necessary to represent a list of Bearers"})
type_list["Bearer Context"]["max_instance"] = "19"
ies.append({ "ie_type" : "Bearer Context", "ie_value" : "Bearer Context 19", "presence" : "O", "instance" : "19", "comment" : "Several IEs with this type and instance value may be included as necessary to represent a list of Bearers"})
type_list["Bearer Context"]["max_instance"] = "20"
ies.append({ "ie_type" : "Bearer Context", "ie_value" : "Bearer Context 20", "presence" : "O", "instance" : "20", "comment" : "Several IEs with this type and instance value may be included as necessary to represent a list of Bearers"})
type_list["Bearer Context"]["max_instance"] = "21"
ies.append({ "ie_type" : "Bearer Context", "ie_value" : "Bearer Context 21", "presence" : "O", "instance" : "21", "comment" : "Several IEs with this type and instance value may be included as necessary to represent a list of Bearers"})
ies.append({ "ie_type" : "Recovery", "ie_value" : "Recovery", "presence" : "CO", "instance" : "0", "comment" : "This IE shall be included if contacting the peer for the first time"})
msg_list[key]["ies"] = ies

View file

@ -638,6 +638,9 @@ f.write("""status_t gtp_parse_msg(gtp_message_t *gtp_message, pkbuf_t *pkbuf)
if (h->teid_presence)
gtp_message->h.teid = ntohl(gtp_message->h.teid);
if (pkbuf->len == 0)
return CORE_OK;
switch(gtp_message->h.type)
{
""")