aboutsummaryrefslogtreecommitdiffstats
path: root/include/bsc_data.h
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-12-23 13:06:57 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2011-01-01 14:28:12 +0100
commit26b8233050a3808408dfb25333287b2d1577536f (patch)
tree098768c8ba31060a92c7f3069c278b4dd4cb220c /include/bsc_data.h
parentd40fb5133fb41054c6dfd14a16352875e71585c6 (diff)
linkset: Make it possible to create multiple links for a linksetmultiple-linksets
We now create multiple links and will start all of them. This still requires good balancing between these links.
Diffstat (limited to 'include/bsc_data.h')
-rw-r--r--include/bsc_data.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/bsc_data.h b/include/bsc_data.h
index ad45982..9e4be92 100644
--- a/include/bsc_data.h
+++ b/include/bsc_data.h
@@ -103,7 +103,6 @@ struct bsc_data {
int pcap_fd;
int udp_reset_timeout;
struct llist_head links;
- struct link_data first_link;
const char *token;
@@ -180,4 +179,7 @@ int linkset_send_bsc_data(struct bsc_data *link, int sls, const uint8_t *data, i
/* another callback for SCCP data from the linkset */
void linkset_forward_sccp(struct bsc_data *bsc, struct msgb *msg, int sls);
+/* find the link */
+struct link_data *linkset_find_link(struct bsc_data *bsc, int link_index);
+
#endif