aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmocom/gprs/gprs_ns2.h
diff options
context:
space:
mode:
authorAlexander Couzens <lynxis@fe80.eu>2020-10-11 18:41:24 +0200
committerlaforge <laforge@osmocom.org>2020-10-12 13:08:42 +0000
commit4f60845552024419ecf8ad2c20cf108be7be4e04 (patch)
treead81f2eca11ca21ba33accdfd73c261dacd6dbe8 /include/osmocom/gprs/gprs_ns2.h
parentbb0a53ba40222afd3d3625e5adc3c0f1bfe6dd80 (diff)
gprs_ns2: add gprs_ns2_ip_bind_by_sockaddr() to search for binds by sockaddr
Diffstat (limited to 'include/osmocom/gprs/gprs_ns2.h')
-rw-r--r--include/osmocom/gprs/gprs_ns2.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/osmocom/gprs/gprs_ns2.h b/include/osmocom/gprs/gprs_ns2.h
index dc27c96c..cbd6647d 100644
--- a/include/osmocom/gprs/gprs_ns2.h
+++ b/include/osmocom/gprs/gprs_ns2.h
@@ -110,6 +110,8 @@ int gprs_ns2_ip_bind(struct gprs_ns2_inst *nsi,
const struct osmo_sockaddr *local,
int dscp,
struct gprs_ns2_vc_bind **result);
+struct gprs_ns2_vc_bind *gprs_ns2_ip_bind_by_sockaddr(struct gprs_ns2_inst *nsi,
+ const struct osmo_sockaddr *sockaddr);
void gprs_ns2_bind_set_mode(struct gprs_ns2_vc_bind *bind, enum gprs_ns2_vc_mode mode);
/* create a VC connection */