mirror of
https://gitea.osmocom.org/cellular-infrastructure/osmo-mgw.git
synced 2025-10-23 08:12:01 +00:00
rename gsm0408_gprs_rcvmsg() to gsm0408_gprs_rcvmsg_gb()
This is the entry point for GMM from Gb. We will create a new one for Iu, so let's be explicit rather than implicit.
This commit is contained in:
committed by
Neels Hofmeyr
parent
692f31446e
commit
aefb0c45e9
@@ -10,7 +10,7 @@ int gsm48_tx_gsm_act_pdp_rej(struct sgsn_mm_ctx *mm, uint8_t tid,
|
||||
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 gsm0408_gprs_rcvmsg(struct msgb *msg, struct gprs_llc_llme *llme);
|
||||
int gsm0408_gprs_rcvmsg_gb(struct msgb *msg, struct gprs_llc_llme *llme);
|
||||
int gsm0408_gprs_force_reattach(struct sgsn_mm_ctx *mmctx);
|
||||
int gsm0408_gprs_force_reattach_oldmsg(struct msgb *msg);
|
||||
void gsm0408_gprs_access_granted(struct sgsn_mm_ctx *mmctx);
|
||||
|
@@ -2085,8 +2085,8 @@ int gsm0408_gprs_force_reattach(struct sgsn_mm_ctx *mmctx)
|
||||
return rc;
|
||||
}
|
||||
|
||||
/* Main entry point for incoming 04.08 GPRS messages */
|
||||
int gsm0408_gprs_rcvmsg(struct msgb *msg, struct gprs_llc_llme *llme)
|
||||
/* Main entry point for incoming 04.08 GPRS messages from Gb */
|
||||
int gsm0408_gprs_rcvmsg_gb(struct msgb *msg, struct gprs_llc_llme *llme)
|
||||
{
|
||||
struct gsm48_hdr *gh = (struct gsm48_hdr *) msgb_gmmh(msg);
|
||||
uint8_t pdisc = gh->proto_discr & 0x0f;
|
||||
|
@@ -663,7 +663,7 @@ int gprs_llc_rcvmsg(struct msgb *msg, struct tlv_parsed *tv)
|
||||
switch (llhp.sapi) {
|
||||
case GPRS_SAPI_GMM:
|
||||
/* send LL_UNITDATA_IND to GMM */
|
||||
rc = gsm0408_gprs_rcvmsg(msg, lle->llme);
|
||||
rc = gsm0408_gprs_rcvmsg_gb(msg, lle->llme);
|
||||
break;
|
||||
case GPRS_SAPI_SNDCP3:
|
||||
case GPRS_SAPI_SNDCP5:
|
||||
|
Reference in New Issue
Block a user