aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc/gprs_gb_parse.h
diff options
context:
space:
mode:
authorJacob Erlbeck <jerlbeck@sysmocom.de>2014-09-12 15:09:56 +0200
committerJacob Erlbeck <jerlbeck@sysmocom.de>2014-09-19 10:46:23 +0200
commit7430da621a25337d614cd08acb578905aa52337d (patch)
tree0def31a783b198da3bf6b4c894377191743ce9f6 /openbsc/include/openbsc/gprs_gb_parse.h
parentcba4c0cc600da7b9548e9267cb0486806820a9ef (diff)
gbproxy: Keep tlli_info after detach
Currently a tlli_info entry is deleted when the TLLI gets invalidated by a Detach message. This patch introduces the possibility to keep tlli_info entries in the list. Those entries then have cleared TLLI fields, are marked as de-registered, and can only be retrieved by a message containing an IMSI or a P-TMSI. The following VTY configuration commands are added to the gbproxy node: - tlli-list keep-mode never : Don't keep the entries (default) - tlli-list keep-mode re-attach : Only keep them, when a Detach message with re-attach required has been received - tlli-list keep-mode identified : Only keep entries which are associated with an IMSI - tlli-list keep-mode always : Keep all entries Note that at least one of max-length or max-age should be set when this feature is used to limit the number of entries. Sponsored-by: On-Waves ehf
Diffstat (limited to 'openbsc/include/openbsc/gprs_gb_parse.h')
-rw-r--r--openbsc/include/openbsc/gprs_gb_parse.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/gprs_gb_parse.h b/openbsc/include/openbsc/gprs_gb_parse.h
index eb9776339..3aa17fd8b 100644
--- a/openbsc/include/openbsc/gprs_gb_parse.h
+++ b/openbsc/include/openbsc/gprs_gb_parse.h
@@ -34,6 +34,7 @@ struct gprs_gb_parse_context {
/* General info */
const char *llc_msg_name;
int invalidate_tlli;
+ int await_reattach;
int need_decryption;
uint32_t tlli;
int pdu_type;