diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2019-09-02 18:27:27 +0200 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2019-09-03 15:22:15 +0200 |
commit | 35f0e664bf2a1c98ebd065f4d4483e542c4c7861 (patch) | |
tree | 74e71f53a96195da518ef93ccd0cf694ad45aa96 /include/osmocom/sgsn/gprs_sm.h | |
parent | 31c4657c971e40407163034526aafeb9b5a83460 (diff) |
Split out GPRS SM layer into its own file
Change-Id: Ie61d22e7868af6de73cdf9c731f07130b282599d
Diffstat (limited to 'include/osmocom/sgsn/gprs_sm.h')
-rw-r--r-- | include/osmocom/sgsn/gprs_sm.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/include/osmocom/sgsn/gprs_sm.h b/include/osmocom/sgsn/gprs_sm.h new file mode 100644 index 000000000..55c95b89d --- /dev/null +++ b/include/osmocom/sgsn/gprs_sm.h @@ -0,0 +1,15 @@ +#pragma once + +#include <osmocom/core/msgb.h> +#include <osmocom/sgsn/gprs_sgsn.h> + +int gsm48_tx_gsm_deact_pdp_req(struct sgsn_pdp_ctx *pdp, uint8_t sm_cause, bool teardown); +int gsm48_tx_gsm_act_pdp_rej(struct sgsn_mm_ctx *mm, uint8_t tid, + uint8_t cause, uint8_t pco_len, uint8_t *pco_v); +int gsm48_tx_gsm_act_pdp_acc(struct sgsn_pdp_ctx *pdp); +int gsm48_tx_gsm_deact_pdp_acc(struct sgsn_pdp_ctx *pdp); + +void pdp_ctx_detach_mm_ctx(struct sgsn_pdp_ctx *pdp); + +int gsm0408_rcv_gsm(struct sgsn_mm_ctx *mmctx, struct msgb *msg, + struct gprs_llc_llme *llme); |