Holger Hans Peter Freyther
0e2f9116f8
mtp: Rename link_data to mtp_link and move out the transport specific things
...
Rename link_data to mtp_link and move it into the mtp_data header
file, also remove the union to ease creating more of the subtypes.
This is done in preparation to the linkset knowing more about the
link (e.g. having a link test per link instead of per link).
2011-01-17 14:11:26 +01:00
Holger Hans Peter Freyther
0f833b084b
mtp: take the linkset down when the last link is failing
2011-01-17 11:27:01 +01:00
Holger Hans Peter Freyther
fe72c160e2
mtp: Turn the MTPl2 link into a list of links.
2011-01-17 11:27:00 +01:00
Holger Hans Peter Freyther
069e635413
mtp: Keep an array for the SLS -> SLC mapping for active links.
2011-01-17 11:21:12 +01:00
Holger Hans Peter Freyther
644aafbc94
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.
2011-01-17 11:21:11 +01:00
Holger Hans Peter Freyther
c8405692b3
mtp: Propagate link and linkset failures in two stages
...
Handle a single link failure in links.c and if all the
links have failed propagate it up. This is preparing the
multiple links support.
2011-01-17 11:21:11 +01:00
Holger Hans Peter Freyther
569f1e171d
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.
2011-01-17 11:21:11 +01:00
Holger Hans Peter Freyther
45738887be
mtp: Kill the link variable from the mtp link.
2011-01-17 11:21:10 +01:00
Holger Hans Peter Freyther
b6edf97481
linkset: Prepare the UDP support to support multiple links.
2011-01-17 11:21:10 +01:00
Holger Hans Peter Freyther
016ba29ec2
msc: Remove the msc_clear_queue now that it is not needed
2011-01-17 11:21:10 +01:00
Holger Hans Peter Freyther
a99b04b700
mtp: Move the link code into a new file called links.
2011-01-17 11:21:09 +01:00