diff options
Diffstat (limited to 'include/osmocom/hlr/gsup_router.h')
-rw-r--r-- | include/osmocom/hlr/gsup_router.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/osmocom/hlr/gsup_router.h b/include/osmocom/hlr/gsup_router.h index 0fc10d0..ee12a2b 100644 --- a/include/osmocom/hlr/gsup_router.h +++ b/include/osmocom/hlr/gsup_router.h @@ -3,6 +3,8 @@ #include <stdint.h> #include <osmocom/hlr/gsup_server.h> +struct osmo_ipa_name; + struct gsup_route { struct llist_head list; @@ -12,10 +14,12 @@ struct gsup_route { struct osmo_gsup_conn *gsup_route_find(struct osmo_gsup_server *gs, const uint8_t *addr, size_t addrlen); +struct osmo_gsup_conn *gsup_route_find_by_ipa_name(struct osmo_gsup_server *gs, const struct osmo_ipa_name *ipa_name); struct gsup_route *gsup_route_find_by_conn(const struct osmo_gsup_conn *conn); /* add a new route for the given address to the given conn */ +int gsup_route_add_ipa_name(struct osmo_gsup_conn *conn, const struct osmo_ipa_name *ipa_name); int gsup_route_add(struct osmo_gsup_conn *conn, const uint8_t *addr, size_t addrlen); /* delete all routes for the given connection */ @@ -24,3 +28,6 @@ int gsup_route_del_conn(struct osmo_gsup_conn *conn); int osmo_gsup_addr_send(struct osmo_gsup_server *gs, const uint8_t *addr, size_t addrlen, struct msgb *msg); +int osmo_gsup_send_to_ipa_name(struct osmo_gsup_server *gs, const struct osmo_ipa_name *ipa_name, struct msgb *msg); +int osmo_gsup_enc_send_to_ipa_name(struct osmo_gsup_server *gs, const struct osmo_ipa_name *ipa_name, + const struct osmo_gsup_message *gsup); |