aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmocom/sgsn/gprs_gb.h
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2019-08-29 19:26:12 +0200
committerpespin <pespin@sysmocom.de>2019-09-02 09:42:21 +0000
commit8333ef10c9e2a3806e04dd9512dbb141d6cb13cc (patch)
tree73999d59765769dfdc6ef1547ee30732de128eee /include/osmocom/sgsn/gprs_gb.h
parent6dfb5fef4072c177fc58149d48cec74b7a501f47 (diff)
Move llc->MM/SM Gb specific glue code to its own file
Now that we have RANAP/Iu handling specificities in its own file, let's have also Gb specific glue code for messages coming from llc up to MM/SM layer in its own file. This way same entry points in gprs_gmm.c are used by Gb and Iu: gsm0408_rcv_gmm() (for MM) and gsm0408_rcv_gsm() (for SM). Change-Id: Iaf57922a0970c1d03f6f1d6337d27ae3d4aaf32c
Diffstat (limited to 'include/osmocom/sgsn/gprs_gb.h')
-rw-r--r--include/osmocom/sgsn/gprs_gb.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/osmocom/sgsn/gprs_gb.h b/include/osmocom/sgsn/gprs_gb.h
new file mode 100644
index 000000000..3bc367613
--- /dev/null
+++ b/include/osmocom/sgsn/gprs_gb.h
@@ -0,0 +1,9 @@
+#pragma once
+
+#include <stdbool.h>
+
+#include <osmocom/core/msgb.h>
+#include <osmocom/sgsn/gprs_rllc.h>
+
+int gsm0408_gprs_rcvmsg_gb(struct msgb *msg, struct gprs_llc_llme *llme,
+ bool drop_cipherable);