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_gmm.h | |
parent | 31c4657c971e40407163034526aafeb9b5a83460 (diff) |
Split out GPRS SM layer into its own file
Change-Id: Ie61d22e7868af6de73cdf9c731f07130b282599d
Diffstat (limited to 'include/osmocom/sgsn/gprs_gmm.h')
-rw-r--r-- | include/osmocom/sgsn/gprs_gmm.h | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/include/osmocom/sgsn/gprs_gmm.h b/include/osmocom/sgsn/gprs_gmm.h index 982cd93d6..e2b17d217 100644 --- a/include/osmocom/sgsn/gprs_gmm.h +++ b/include/osmocom/sgsn/gprs_gmm.h @@ -6,21 +6,16 @@ #include <stdbool.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); int gsm48_tx_gmm_auth_ciph_req(struct sgsn_mm_ctx *mm, const struct osmo_auth_vector *vec, uint8_t key_seq, bool force_standby); int gsm0408_gprs_rcvmsg_gb(struct msgb *msg, struct gprs_llc_llme *llme, bool drop_cipherable); -int gsm0408_rcv_gsm(struct sgsn_mm_ctx *mmctx, struct msgb *msg, - struct gprs_llc_llme *llme); int gsm0408_rcv_gmm(struct sgsn_mm_ctx *mmctx, struct msgb *msg, struct gprs_llc_llme *llme, bool drop_cipherable); +int gsm48_gmm_sendmsg(struct msgb *msg, int command, + struct sgsn_mm_ctx *mm, bool encryptable); int gsm0408_gprs_force_reattach(struct sgsn_mm_ctx *mmctx); int gsm0408_gprs_force_reattach_oldmsg(struct msgb *msg, struct gprs_llc_llme *llme); @@ -47,7 +42,6 @@ int gsm48_gmm_authorize(struct sgsn_mm_ctx *ctx); void extract_subscr_msisdn(struct sgsn_mm_ctx *ctx); void extract_subscr_hlr(struct sgsn_mm_ctx *ctx); -void pdp_ctx_detach_mm_ctx(struct sgsn_pdp_ctx *pdp); - void msgid2mmctx(struct sgsn_mm_ctx *mm, const struct msgb *msg); +void mmctx2msgid(struct msgb *msg, const struct sgsn_mm_ctx *mm); #endif /* _GPRS_GMM_H */ |