aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc/gprs_sgsn.h
diff options
context:
space:
mode:
authorJacob Erlbeck <jerlbeck@sysmocom.de>2014-12-02 11:28:38 +0100
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2014-12-09 10:01:08 +0100
commita1e0373224e02784f85eb47306a689fce45fb9e3 (patch)
treede1601fd704b93e9b747afc1c6f854896e8345d2 /openbsc/include/openbsc/gprs_sgsn.h
parent207f4a5deba610b34d5e140f512e538e34a7115f (diff)
sgsn: Put SGSN related subscriber data into separate struct
There will be an increasing number of SGSN related fields per subscriber. Instead of extending gsm_subscriber accordingly, a single struct sgsn_subscriber_data object is assigned to it. The talloc context used to allocated that object is the subscr object itself. Therefore it will be freed automatically along with the subscr object. Sponsored-by: On-Waves ehf
Diffstat (limited to 'openbsc/include/openbsc/gprs_sgsn.h')
-rw-r--r--openbsc/include/openbsc/gprs_sgsn.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/gprs_sgsn.h b/openbsc/include/openbsc/gprs_sgsn.h
index b1358131a..464982e2b 100644
--- a/openbsc/include/openbsc/gprs_sgsn.h
+++ b/openbsc/include/openbsc/gprs_sgsn.h
@@ -271,6 +271,7 @@ struct imsi_acl_entry {
};
struct sgsn_subscriber_data {
+ struct sgsn_mm_ctx *mm;
enum sgsn_auth_state auth_state;
};