osmo-ggsn/gtp
Pau Espin 8e8c7ef3c7 gtp: Add new API to avoid freeing pdp contexts during DEL CTX REQ
With this API, user is expectd to free the PDP ctx when the confirmation
for the release has been received (cb_conf time). This way user can
maintain the pdp ctx alive during all this time. Extra code is added to
gtp_delete_pdp_resp() since it's now possible to match it and push it up
to the user cb_conf.

This way, cb_conf() can be used for locally-initiated DEL CTX REQ, while
delete_context() cb is left for remotely-initiated DEL CTX REQ. In this
later case, when the DEL CTX RESP is sent the ctx is deleted and the
delete_context() is called, where the user can do related actions or
trigger consequence events (in the case of SGSN, it will drop all
related GGSN bits for that PDP ctx and forward the DEACT PDP CTX to the
MS).

Change-Id: I29d366253bb98dcba328c7ce8aa3e4daf8f75e6c
2018-07-21 17:22:54 +00:00
..
Makefile.am debian/rules: Fix debian packaging after 1.2.0 release 2018-05-04 11:28:24 +02:00
gtp.c gtp: Add new API to avoid freeing pdp contexts during DEL CTX REQ 2018-07-21 17:22:54 +00:00
gtp.h gtp: Add new API to avoid freeing pdp contexts during DEL CTX REQ 2018-07-21 17:22:54 +00:00
gtpie.c gtpie_{encaps,encaps2}(): RAI is a fixe 6-byte length field, not 8 bytes 2017-10-14 07:59:07 +02:00
gtpie.h gtpie.h: Add IE identifier definitions up to 29.60 v11.8.0 Release 11 2017-10-14 07:49:15 +02:00
lookupa.c Convert all code to Linux coding style 2011-11-02 13:06:18 +01:00
lookupa.h Convert all code to Linux coding style 2011-11-02 13:06:18 +01:00
pdp.c gtp/pdp: Remove unused APIs pdp_ntoeua pdp_euaton 2018-01-25 18:09:51 +01:00
pdp.h gtp/pdp: Remove unused APIs pdp_ntoeua pdp_euaton 2018-01-25 18:09:51 +01:00
queue.c Rename OpenGGSN to OsmoGGSN 2017-09-06 09:17:15 +02:00
queue.h Rename OpenGGSN to OsmoGGSN 2017-09-06 09:17:15 +02:00