2019-08-29 17:26:12 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <stdbool.h>
|
|
|
|
|
|
|
|
#include <osmocom/core/msgb.h>
|
2019-09-16 00:44:58 +00:00
|
|
|
#include <osmocom/sgsn/gprs_llc.h>
|
2019-08-29 17:26:12 +00:00
|
|
|
|
|
|
|
int gsm0408_gprs_rcvmsg_gb(struct msgb *msg, struct gprs_llc_llme *llme,
|
|
|
|
bool drop_cipherable);
|
2019-09-16 00:44:58 +00:00
|
|
|
/* Has to be called whenever any PDU (signaling, data, ...) has been received */
|
2021-02-16 12:59:05 +00:00
|
|
|
void gprs_gb_recv_pdu(struct sgsn_mm_ctx *mmctx, const struct msgb *msg);
|
2019-09-16 23:43:50 +00:00
|
|
|
|
|
|
|
/* page a MS in its routing area */
|
|
|
|
int gprs_gb_page_ps_ra(struct sgsn_mm_ctx *mmctx);
|
2020-07-27 20:39:58 +00:00
|
|
|
|
|
|
|
/* called by the bssgp layer to send NS PDUs */
|
|
|
|
int gprs_gb_send_cb(void *ctx, struct msgb *msg);
|
|
|
|
|
|
|
|
/* called by the ns layer */
|
|
|
|
int gprs_ns_prim_cb(struct osmo_prim_hdr *oph, void *ctx);
|