aboutsummaryrefslogtreecommitdiffstats
path: root/src/links.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2011-01-02 18:47:49 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2011-01-17 11:21:11 +0100
commit569f1e171df2f055d0be5fc637e050a523a9ae8a (patch)
tree889e8751a8b433332fb3c5673b1129feb8453445 /src/links.c
parent346e1c4bc4266ad645aab88d6357518e17055fb3 (diff)
mtp: Rename mtp_link to mtp_link_set as this is the linkset
The link_udp is actually below the linkset. We need to get this right now and then can have multiple links.
Diffstat (limited to 'src/links.c')
-rw-r--r--src/links.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/links.c b/src/links.c
index 64e3a3d..adc74d1 100644
--- a/src/links.c
+++ b/src/links.c
@@ -27,16 +27,16 @@
extern struct bsc_data bsc;
-void mtp_link_sccp_down(struct mtp_link *link)
+void mtp_link_set_sccp_down(struct mtp_link_set *link)
{
}
-void mtp_link_submit(struct mtp_link *link, struct msgb *msg)
+void mtp_link_set_submit(struct mtp_link_set *link, struct msgb *msg)
{
bsc.link.write(&bsc.link, msg);
}
-void mtp_link_restart(struct mtp_link *link)
+void mtp_link_set_restart(struct mtp_link_set *link)
{
LOGP(DINP, LOGL_ERROR, "Need to restart the SS7 link.\n");
bsc.link.reset(&bsc.link);
@@ -56,7 +56,7 @@ static void start_rest(void *start)
int link_init(struct bsc_data *bsc)
{
- bsc->link.the_link = mtp_link_alloc();
+ bsc->link.the_link = mtp_link_set_alloc();
bsc->link.the_link->dpc = bsc->dpc;
bsc->link.the_link->opc = bsc->opc;
bsc->link.the_link->sccp_opc = bsc->sccp_opc > -1 ? bsc->sccp_opc : bsc->opc;