aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc/signal.h
diff options
context:
space:
mode:
Diffstat (limited to 'openbsc/include/openbsc/signal.h')
-rw-r--r--openbsc/include/openbsc/signal.h21
1 files changed, 20 insertions, 1 deletions
diff --git a/openbsc/include/openbsc/signal.h b/openbsc/include/openbsc/signal.h
index 39319f1c9..8f27b3831 100644
--- a/openbsc/include/openbsc/signal.h
+++ b/openbsc/include/openbsc/signal.h
@@ -1,5 +1,5 @@
/* Generic signalling/notification infrastructure */
-/* (C) 2009-2010 by Holger Hans Peter Freyther <zecke@selfish.org>
+/* (C) 2009-2010, 2015 by Holger Hans Peter Freyther <zecke@selfish.org>
* (C) 2009 by Harald Welte <laforge@gnumonks.org>
* (C) 2010 by On-Waves
* All Rights Reserved
@@ -46,6 +46,7 @@ enum signal_subsystems {
SS_MSC,
SS_HO,
SS_CCCH,
+ SS_SGSN,
};
/* SS_PAGING signals */
@@ -241,4 +242,22 @@ struct ccch_signal_data {
uint16_t rach_access_count;
};
+/* GPRS SGSN signals SS_SGSN */
+enum signal_sgsn {
+ S_SGSN_ATTACH,
+ S_SGSN_DETACH,
+ S_SGSN_UPDATE,
+ S_SGSN_PDP_ACT,
+ S_SGSN_PDP_DEACT,
+ S_SGSN_PDP_TERMINATE,
+ S_SGSN_PDP_FREE,
+ S_SGSN_MM_FREE,
+};
+
+struct sgsn_mm_ctx;
+struct sgsn_signal_data {
+ struct sgsn_mm_ctx *mm;
+ struct sgsn_pdp_ctx *pdp; /* non-NULL for PDP_ACT, PDP_DEACT, PDP_FREE */
+};
+
#endif