aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc/gb_proxy.h
diff options
context:
space:
mode:
Diffstat (limited to 'openbsc/include/openbsc/gb_proxy.h')
-rw-r--r--openbsc/include/openbsc/gb_proxy.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/gb_proxy.h b/openbsc/include/openbsc/gb_proxy.h
index 4a20bfb50..d9731a729 100644
--- a/openbsc/include/openbsc/gb_proxy.h
+++ b/openbsc/include/openbsc/gb_proxy.h
@@ -50,6 +50,13 @@ enum gbproxy_peer_ctr {
GBPROX_PEER_CTR_TLLI_CACHE_SIZE,
};
+enum gbproxy_keep_mode {
+ GBPROX_KEEP_NEVER,
+ GBPROX_KEEP_REATTACH,
+ GBPROX_KEEP_IDENTIFIED,
+ GBPROX_KEEP_ALWAYS,
+};
+
struct gbproxy_config {
/* parsed from config file */
uint16_t nsip_sgsn_nsei;
@@ -77,6 +84,7 @@ struct gbproxy_config {
int acquire_imsi;
int route_to_sgsn2;
uint16_t nsip_sgsn2_nsei;
+ enum gbproxy_keep_mode keep_tlli_infos;
/* IMSI checking/matching */
int check_imsi;
@@ -141,6 +149,8 @@ struct gbproxy_tlli_info {
struct llist_head stored_msgs;
int imsi_acq_retries;
+ int is_deregistered;
+
int enable_patching;
};