diff options
author | Harald Welte <laforge@gnumonks.org> | 2010-05-18 14:32:29 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2010-05-18 14:32:29 +0200 |
commit | 77289c202f1e0a748a31d473f7b64c6728377950 (patch) | |
tree | f92678140fbbf5625adb5d2ae0db2001938ca4e6 /openbsc/include/openbsc/gprs_sgsn.h | |
parent | 55e0df7c431b6c2e8114c663092ab2c2f1a3e8d8 (diff) |
[GPRS] SGSN: properly delete a PDP context after receiving PDP CTX DEACT REQ
Diffstat (limited to 'openbsc/include/openbsc/gprs_sgsn.h')
-rw-r--r-- | openbsc/include/openbsc/gprs_sgsn.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/openbsc/include/openbsc/gprs_sgsn.h b/openbsc/include/openbsc/gprs_sgsn.h index 59bf5c097..b7e0a1b96 100644 --- a/openbsc/include/openbsc/gprs_sgsn.h +++ b/openbsc/include/openbsc/gprs_sgsn.h @@ -148,12 +148,14 @@ struct sgsn_pdp_ctx { struct sgsn_pdp_ctx *sgsn_pdp_ctx_by_nsapi(const struct sgsn_mm_ctx *mm, uint8_t nsapi); +struct sgsn_pdp_ctx *sgsn_pdp_ctx_by_tid(const struct sgsn_mm_ctx *mm, + uint8_t tid); struct sgsn_pdp_ctx *sgsn_pdp_ctx_alloc(struct sgsn_mm_ctx *mm, uint8_t nsapi); void sgsn_pdp_ctx_free(struct sgsn_pdp_ctx *pdp); -struct ggsn_ctx { +struct sgsn_ggsn_ctx { struct llist_head list; uint32_t id; unsigned int gtp_version; @@ -166,7 +168,7 @@ struct ggsn_ctx *ggsn_ctx_find_alloc(uint32_t id); struct apn_ctx { struct llist_head list; - struct ggsn_ctx *ggsn; + struct sgsn_ggsn_ctx *ggsn; char *name; char *description; }; |