aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2011-01-03 23:51:07 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2011-01-17 11:21:11 +0100
commit644aafbc94a2c2bfb49b2352fe31452a1cddab27 (patch)
tree3e140e6454358d853eec32af370c87d6715f74b4 /include
parentc8405692b381e4079eeaf52f38610a6a24f64773 (diff)
mtp: Make the link_data be a child of the link_set
Change the order of the link and linkset. The link will be below the linkset. This change should make it more easy to introduce multiple linksets.
Diffstat (limited to 'include')
-rw-r--r--include/bsc_data.h4
-rw-r--r--include/mtp_data.h3
2 files changed, 6 insertions, 1 deletions
diff --git a/include/bsc_data.h b/include/bsc_data.h
index 76e6b44..d734177 100644
--- a/include/bsc_data.h
+++ b/include/bsc_data.h
@@ -96,7 +96,9 @@ struct bsc_data {
int setup;
- struct link_data link;
+ int pcap_fd;
+ int udp_reset_timeout;
+ struct mtp_link_set *link_set;
const char *token;
diff --git a/include/mtp_data.h b/include/mtp_data.h
index 5afcb92..f2aeaec 100644
--- a/include/mtp_data.h
+++ b/include/mtp_data.h
@@ -25,6 +25,7 @@
#include <osmocore/utils.h>
struct bsc_data;
+struct link_data;
/* MTP Level3 timers */
@@ -63,6 +64,8 @@ struct mtp_link_set {
struct timer_list delay_timer;
+ struct link_data *link;
+
/* custom data */
struct bsc_data *bsc;
};