blob: 55c95b89d7c7b46c1c44737a199f4d136bfc0e76 [file] [log] [blame]
Pau Espin Pedrol35f0e662019-09-02 18:27:27 +02001#pragma once
2
3#include <osmocom/core/msgb.h>
4#include <osmocom/sgsn/gprs_sgsn.h>
5
6int gsm48_tx_gsm_deact_pdp_req(struct sgsn_pdp_ctx *pdp, uint8_t sm_cause, bool teardown);
7int gsm48_tx_gsm_act_pdp_rej(struct sgsn_mm_ctx *mm, uint8_t tid,
8 uint8_t cause, uint8_t pco_len, uint8_t *pco_v);
9int gsm48_tx_gsm_act_pdp_acc(struct sgsn_pdp_ctx *pdp);
10int gsm48_tx_gsm_deact_pdp_acc(struct sgsn_pdp_ctx *pdp);
11
12void pdp_ctx_detach_mm_ctx(struct sgsn_pdp_ctx *pdp);
13
14int gsm0408_rcv_gsm(struct sgsn_mm_ctx *mmctx, struct msgb *msg,
15 struct gprs_llc_llme *llme);