From 125298f2b5484912d805c2d152a94341ddee3d69 Mon Sep 17 00:00:00 2001 From: Alexander Couzens Date: Sun, 11 Oct 2020 21:22:42 +0200 Subject: gprs_ns2: add gprs_ns2_nse_sns_remote() returns the initial SNS address Allows the PCU to get the SNS remote address. Change-Id: I54f110acc3acccb362f6e554324d08cc42b7c328 --- include/osmocom/gprs/gprs_ns2.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/osmocom/gprs/gprs_ns2.h') diff --git a/include/osmocom/gprs/gprs_ns2.h b/include/osmocom/gprs/gprs_ns2.h index d332e484..0d08af52 100644 --- a/include/osmocom/gprs/gprs_ns2.h +++ b/include/osmocom/gprs/gprs_ns2.h @@ -138,6 +138,7 @@ void gprs_ns2_free_binds(struct gprs_ns2_inst *nsi); int gprs_ns2_ip_connect_sns(struct gprs_ns2_vc_bind *bind, const struct osmo_sockaddr *remote, uint16_t nsei); +const struct osmo_sockaddr *gprs_ns2_nse_sns_remote(struct gprs_ns2_nse *nse); const struct osmo_sockaddr *gprs_ns2_ip_vc_remote(struct gprs_ns2_vc *nsvc); const struct osmo_sockaddr *gprs_ns2_ip_vc_local(const struct gprs_ns2_vc *nsvc); -- cgit v1.2.3