aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPhilipp Maier <pmaier@sysmocom.de>2020-12-14 23:27:47 +0100
committerPhilipp Maier <pmaier@sysmocom.de>2021-01-28 23:20:31 +0100
commit2ce050ba4629059221a3e689845024f474074f9d (patch)
treede92eb089ccc3dacef288968e5a945f16155bfa6 /include
parent43e5f8a2c6c393dfb636783212987c74d7cb9290 (diff)
sgsn_rim: Add routing for (GERAN) BSSGP RIM messages
The SGSN currently does not forward BSSGP RIM messages. Related: SYS#5103 Depends: libosmocore Icd667f41d5735de56cd9fb257670337c679dd258 Change-Id: I6fde8ab8955660b48000ca1b650cfc7c7b2e24ba
Diffstat (limited to 'include')
-rw-r--r--include/osmocom/sgsn/Makefile.am1
-rw-r--r--include/osmocom/sgsn/debug.h1
-rw-r--r--include/osmocom/sgsn/sgsn_rim.h3
3 files changed, 5 insertions, 0 deletions
diff --git a/include/osmocom/sgsn/Makefile.am b/include/osmocom/sgsn/Makefile.am
index 3fdb6b348..95c811aa5 100644
--- a/include/osmocom/sgsn/Makefile.am
+++ b/include/osmocom/sgsn/Makefile.am
@@ -24,6 +24,7 @@ noinst_HEADERS = \
gprs_utils.h \
gtphub.h \
sgsn.h \
+ sgsn_rim.h \
signal.h \
slhc.h \
v42bis.h \
diff --git a/include/osmocom/sgsn/debug.h b/include/osmocom/sgsn/debug.h
index 9a686cb68..37e4a097d 100644
--- a/include/osmocom/sgsn/debug.h
+++ b/include/osmocom/sgsn/debug.h
@@ -27,6 +27,7 @@ enum {
DSIGTRAN,
DGTP,
DOBJ,
+ DRIM,
Debug_LastEntry,
};
diff --git a/include/osmocom/sgsn/sgsn_rim.h b/include/osmocom/sgsn/sgsn_rim.h
new file mode 100644
index 000000000..ca3660bd3
--- /dev/null
+++ b/include/osmocom/sgsn/sgsn_rim.h
@@ -0,0 +1,3 @@
+#pragma once
+
+int sgsn_rim_rx(struct osmo_bssgp_prim *bp, struct msgb *msg);