diff options
author | Daniel Willmann <dwillmann@sysmocom.de> | 2016-02-03 15:20:28 +0100 |
---|---|---|
committer | Daniel Willmann <dwillmann@sysmocom.de> | 2016-02-04 15:52:19 +0100 |
commit | 3e85daedf29161ba250824241daf041ebb62350c (patch) | |
tree | 9db9532e100950467ded731efe8059ca9a5ae961 /openbsc/include/openbsc/gprs_sgsn.h | |
parent | fdf2d9183e42f0fa1881218586d75ad9ef9d86d5 (diff) |
sgsn: Add a function to return the pdp ctx for an mm ctx and tei
Diffstat (limited to 'openbsc/include/openbsc/gprs_sgsn.h')
-rw-r--r-- | openbsc/include/openbsc/gprs_sgsn.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/gprs_sgsn.h b/openbsc/include/openbsc/gprs_sgsn.h index e449ccea0..7d461ecb0 100644 --- a/openbsc/include/openbsc/gprs_sgsn.h +++ b/openbsc/include/openbsc/gprs_sgsn.h @@ -299,6 +299,9 @@ struct sgsn_pdp_ctx *sgsn_pdp_ctx_by_nsapi(const struct sgsn_mm_ctx *mm, /* look up PDP context by MM context and transaction ID */ struct sgsn_pdp_ctx *sgsn_pdp_ctx_by_tid(const struct sgsn_mm_ctx *mm, uint8_t tid); +/* look up PDP context by MM context and gtp TEI */ +struct sgsn_pdp_ctx *sgsn_pdp_ctx_by_tei(const struct sgsn_mm_ctx *mm, + uint32_t tei); struct sgsn_pdp_ctx *sgsn_pdp_ctx_alloc(struct sgsn_mm_ctx *mm, uint8_t nsapi); |