aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc/sgsn.h
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2010-05-18 10:35:06 +0200
committerHarald Welte <laforge@gnumonks.org>2010-05-18 10:35:06 +0200
commit6abf94e4206fa97c7dfd72f481c278d9e2873958 (patch)
treeb18b638e78d561a77fa0957b56a889559d7a475d /openbsc/include/openbsc/sgsn.h
parentd2a9ed22859dfc4b99bfac7c0010539db3e12a0d (diff)
[GPRS] Properly connect GPRS SM with LIBGTP for PDP context activation
* store LLC SAPI as part of PDP ctx * store NSEI + BVCI as part of MM ctx * export gsm48_tx_gsm_act_pdp_acc() and call it from sgsn_libgtp.c * create and use gsm48_tx_gsm_act_pdp_rej for error cases * print SAPI as part of VTY show pdp
Diffstat (limited to 'openbsc/include/openbsc/sgsn.h')
-rw-r--r--openbsc/include/openbsc/sgsn.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/sgsn.h b/openbsc/include/openbsc/sgsn.h
index b2625dbac..1633b834d 100644
--- a/openbsc/include/openbsc/sgsn.h
+++ b/openbsc/include/openbsc/sgsn.h
@@ -6,6 +6,7 @@
#include <osmocore/msgb.h>
#include <openbsc/gprs_ns.h>
+#include <openbsc/gprs_sgsn.h>
struct sgsn_config {
/* parsed from config file */
@@ -44,4 +45,9 @@ int sgsn_parse_config(const char *config_file, struct sgsn_config *cfg);
/* Main input function for Gb proxy */
int sgsn_rcvmsg(struct msgb *msg, struct gprs_nsvc *nsvc, uint16_t ns_bvci);
+
+struct sgsn_pdp_ctx *sgsn_create_pdp_ctx(struct ggsn_ctx *ggsn,
+ struct sgsn_mm_ctx *mmctx,
+ uint16_t nsapi,
+ struct tlv_parsed *tp);
#endif