aboutsummaryrefslogtreecommitdiffstats
path: root/src/gb/gprs_ns2_udp.c
diff options
context:
space:
mode:
authorAlexander Couzens <lynxis@fe80.eu>2020-11-19 02:34:49 +0100
committerAlexander Couzens <lynxis@fe80.eu>2020-11-24 03:53:22 +0100
commit24a14ac80c46b7ac82dcddecb7068a484cd9e93c (patch)
tree9399d057700805787f83ce08a6c90367302ecb46 /src/gb/gprs_ns2_udp.c
parent0bd8a4b5b39797901407c69de2da7992ebecb931 (diff)
ns2: move LL into public api
Also fix prefix. GPRS_NS -> GPRS_NS2. In preparation to move LL into upper layer. Change-Id: I3b5e0d51ce69b095095e5160ca0cf0d4534db1b8
Diffstat (limited to 'src/gb/gprs_ns2_udp.c')
-rw-r--r--src/gb/gprs_ns2_udp.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gb/gprs_ns2_udp.c b/src/gb/gprs_ns2_udp.c
index 26a04836..38c1a161 100644
--- a/src/gb/gprs_ns2_udp.c
+++ b/src/gb/gprs_ns2_udp.c
@@ -391,7 +391,7 @@ struct gprs_ns2_vc *gprs_ns2_ip_bind_connect(struct gprs_ns2_vc_bind *bind,
priv = nsvc->priv;
priv->remote = *remote;
- nsvc->ll = GPRS_NS_LL_UDP;
+ nsvc->ll = GPRS_NS2_LL_UDP;
return nsvc;
}
@@ -403,7 +403,7 @@ const struct osmo_sockaddr *gprs_ns2_ip_vc_local(const struct gprs_ns2_vc *nsvc)
{
struct priv_bind *priv;
- if (nsvc->ll != GPRS_NS_LL_UDP)
+ if (nsvc->ll != GPRS_NS2_LL_UDP)
return NULL;
if (nsvc->bind->driver != &vc_driver_ip)
@@ -420,7 +420,7 @@ const struct osmo_sockaddr *gprs_ns2_ip_vc_remote(const struct gprs_ns2_vc *nsvc
{
struct priv_vc *priv;
- if (nsvc->ll != GPRS_NS_LL_UDP)
+ if (nsvc->ll != GPRS_NS2_LL_UDP)
return NULL;
priv = nsvc->priv;
@@ -442,7 +442,7 @@ bool gprs_ns2_ip_vc_equal(const struct gprs_ns2_vc *nsvc,
struct priv_vc *vpriv;
struct priv_bind *bpriv;
- if (nsvc->ll != GPRS_NS_LL_UDP)
+ if (nsvc->ll != GPRS_NS2_LL_UDP)
return false;
vpriv = nsvc->priv;