From 569f1e171df2f055d0be5fc637e050a523a9ae8a Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sun, 2 Jan 2011 18:47:49 +0100 Subject: 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. --- src/links.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/links.c') 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; -- cgit v1.2.3