path: root/osmo-gsup-hlr/src/gsup_router.h
diff options
authorHarald Welte <>2016-05-03 18:49:27 +0200
committerHarald Welte <>2016-05-03 18:49:27 +0200
commit3596f92fadfe55e6262098727fffdb1edfb91a6d (patch)
treef1a037ddf546c5eca95e36aafbfcb6bdd9ef676a /osmo-gsup-hlr/src/gsup_router.h
parentb565a56607e7006bf2ce843611bc3d32c8c651dc (diff)
Major update; Code now supports SAI, LU and ISD transactions
We also introduce a 'gsup_router' which enables us to route a transaction to a given VLR. It works based on the SERIAL attribute communicated at time of the IPA multiplex setup as part of the CCM sub-protocol.
Diffstat (limited to 'osmo-gsup-hlr/src/gsup_router.h')
1 files changed, 8 insertions, 0 deletions
diff --git a/osmo-gsup-hlr/src/gsup_router.h b/osmo-gsup-hlr/src/gsup_router.h
new file mode 100644
index 0000000..7a5bd25
--- /dev/null
+++ b/osmo-gsup-hlr/src/gsup_router.h
@@ -0,0 +1,8 @@
+struct osmo_gsup_conn *gsup_route_find(struct osmo_gsup_server *gs,
+ const uint8_t *addr, size_t addrlen);
+/* add a new route for the given address to the given conn */
+int gsup_route_add(struct osmo_gsup_conn *conn, const uint8_t *addr, size_t addrlen);
+/* delete all routes for the given connection */
+int gsup_route_del_conn(struct osmo_gsup_conn *conn);