diff options
author | Alexander Couzens <lynxis@fe80.eu> | 2020-10-11 21:01:48 +0200 |
---|---|---|
committer | Alexander Couzens <lynxis@fe80.eu> | 2020-10-12 15:54:21 +0200 |
commit | 979f5f5449909c1b779258e5c5ec66f5de02a3b2 (patch) | |
tree | fa8e10cfe5c1d21139b8ea793093d9e6a0007e58 /include/osmocom/gprs/gprs_ns2.h | |
parent | c4229a458c28af184260ee8e02aca4f124ec01b1 (diff) |
gprs_ns2: add gprs_ns2_ip_vc_local() return the local sockaddr
Change-Id: I65a739772596015b90473045d32d4934d924e43f
Diffstat (limited to 'include/osmocom/gprs/gprs_ns2.h')
-rw-r--r-- | include/osmocom/gprs/gprs_ns2.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/osmocom/gprs/gprs_ns2.h b/include/osmocom/gprs/gprs_ns2.h index 5f341d98..d332e484 100644 --- a/include/osmocom/gprs/gprs_ns2.h +++ b/include/osmocom/gprs/gprs_ns2.h @@ -140,6 +140,7 @@ int gprs_ns2_ip_connect_sns(struct gprs_ns2_vc_bind *bind, uint16_t nsei); 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); const struct osmo_sockaddr *gprs_ns2_ip_bind_sockaddr(struct gprs_ns2_vc_bind *bind); int gprs_ns2_is_ip_bind(struct gprs_ns2_vc_bind *bind); int gprs_ns2_ip_bind_set_dscp(struct gprs_ns2_vc_bind *bind, int dscp); |