aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAlexander Couzens <lynxis@fe80.eu>2021-02-17 02:30:33 +0100
committerlaforge <laforge@osmocom.org>2021-03-01 19:44:02 +0000
commit7819ff695925ded6f6661b493c29a060802ac84a (patch)
tree062cbc1a907a709882a8f6e1aad7d0f19e75e060 /include
parentb76811b1da65dee41bde6154b2cb97d30fa46337 (diff)
gprs_bssgp: add support for SGSN oriented RESET
To support SGSN oriented RESET introduce a role flag to track what's running the gprs_bssgp (local side). Related: OS#3879 Change-Id: Ibcbaffa94cbdc4296a8a7c372304ac11d50d9559
Diffstat (limited to 'include')
-rw-r--r--include/osmocom/gprs/gprs_bssgp.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/osmocom/gprs/gprs_bssgp.h b/include/osmocom/gprs/gprs_bssgp.h
index e55fa527..09f640dc 100644
--- a/include/osmocom/gprs/gprs_bssgp.h
+++ b/include/osmocom/gprs/gprs_bssgp.h
@@ -125,6 +125,8 @@ struct bssgp_bvc_ctx {
/*! default bucket leak rate of per-MS bucket in octests/s */
uint32_t r_default_ms;
+ /*! BSS or SGSN. This defines the local state. */
+ bool is_sgsn;
/* we might want to add this as a shortcut later, avoiding the NSVC
* lookup for every packet, similar to a routing cache */
//struct gprs_nsvc *nsvc;