aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmocom
diff options
context:
space:
mode:
authorHarald Welte <laforge@osmocom.org>2020-11-18 11:57:42 +0100
committerHarald Welte <laforge@osmocom.org>2020-11-24 11:33:16 +0100
commit952fbf20c9f14afbf0f9ccc9d7d7bdf9c15e86e5 (patch)
tree050b6bb3689ef1dc493e8e96ef6d18f640a3b6a3 /include/osmocom
parent8553f5532ac7182506845abea0f40e92d5149f24 (diff)
gprs_gb_parse: Add function to determine TLLI from encoded BSSGP
This will be needed to use the TLLI as link selector parameter in osmo-gbproxy in an upcoming patch. Depends: libosmocore.git I397b32a6e6ea3e9d218446138cceafa9b27685dd Change-Id: Ia6d5300e63ad23987cbdca824db620305bd583d7
Diffstat (limited to 'include/osmocom')
-rw-r--r--include/osmocom/sgsn/gprs_gb_parse.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/osmocom/sgsn/gprs_gb_parse.h b/include/osmocom/sgsn/gprs_gb_parse.h
index 9f43faed6..58de17f81 100644
--- a/include/osmocom/sgsn/gprs_gb_parse.h
+++ b/include/osmocom/sgsn/gprs_gb_parse.h
@@ -51,6 +51,8 @@ int gprs_gb_parse_llc(uint8_t *llc, size_t llc_len,
int gprs_gb_parse_bssgp(uint8_t *bssgp, size_t bssgp_len,
struct gprs_gb_parse_context *parse_ctx);
+int gprs_gb_parse_tlli(const uint8_t *bssgp, size_t bssgp_len, uint32_t *tlli);
+
const char *gprs_gb_message_name(const struct gprs_gb_parse_context *parse_ctx,
const char *default_msg_name);