diff options
author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2015-05-02 19:55:38 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2015-05-06 17:14:51 +0200 |
commit | b100895557af0980d5910a3dc81903179dea615e (patch) | |
tree | 72b97e900680fad022778dc24f42c0ff44cdb7f5 /openbsc/include/openbsc/signal.h | |
parent | 20de3ae17cbb61f831ca8f06a4cf7436441cfdc6 (diff) |
sgsn: Add various signals consumed by CDR or other client code
Diffstat (limited to 'openbsc/include/openbsc/signal.h')
-rw-r--r-- | openbsc/include/openbsc/signal.h | 21 |
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 |