From 6abf94e4206fa97c7dfd72f481c278d9e2873958 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Tue, 18 May 2010 10:35:06 +0200 Subject: [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 --- openbsc/include/openbsc/sgsn.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'openbsc/include/openbsc/sgsn.h') 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 #include +#include 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 -- cgit v1.2.3