aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc
diff options
context:
space:
mode:
Diffstat (limited to 'openbsc/include/openbsc')
-rw-r--r--openbsc/include/openbsc/gb_proxy.h10
-rw-r--r--openbsc/include/openbsc/gprs_gb_parse.h1
2 files changed, 11 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;
};
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;