From 3596f92fadfe55e6262098727fffdb1edfb91a6d Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Tue, 3 May 2016 18:49:27 +0200 Subject: 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. --- osmo-gsup-hlr/src/gsup_router.h | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 osmo-gsup-hlr/src/gsup_router.h (limited to 'osmo-gsup-hlr/src/gsup_router.h') 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); -- cgit v1.2.3