aboutsummaryrefslogtreecommitdiffstats
path: root/src/mtp_link.c
AgeCommit message (Collapse)AuthorFilesLines
2011-05-08Adopt to recent libosmocore namespace changes and libosmogsmHarald Welte1-8/+8
2011-02-23mtp: Do not start linktest on a blocked linkHolger Hans Peter Freyther1-0/+6
2011-02-17mtp: Rename link_no to nr, add a name like for the other commandsHolger Hans Peter Freyther1-22/+22
2011-02-17mtp: Make the mtp_link point to a specific type of linkHolger Hans Peter Freyther1-16/+69
We might want to be able to change the type of a link at runtime. Decouple the link and the actual type of the link.
2011-01-28mtp: Turn error messages into full sentences.Holger Hans Peter Freyther1-6/+8
Turn the error messages into full sentences that end with a full stop. Try to put the link set name and the link number into these messages.
2011-01-28mtp: Forbid link up/failure on blocked links.Holger Hans Peter Freyther1-0/+6
2011-01-26mtp: Assign a name to linkset, use this name in the log messagesHolger Hans Peter Freyther1-4/+11
2011-01-24mtp: Call it mtp_link_submit and use it in mtp_linkHolger Hans Peter Freyther1-1/+1
Remove the _set from the API, call it from the mtp_link.c. This will fix the statistics for outgoing packets.
2011-01-24mtp: Make it possible to block a link.Holger Hans Peter Freyther1-0/+14
The semantic of a block is to take the physical link down, call mtp_link_down and to make sure that the link remains down and no packets are forwarded there. The unblock call will reset the link and this should get it back into operation again.
2011-01-22stats: Count packets on a per link levelHolger Hans Peter Freyther1-1/+13
2011-01-20mtp: Return SLTA on the same SLS, send SLTM with a static slsHolger Hans Peter Freyther1-0/+1
Derive the SLS from the static link_no we have assigned.
2011-01-20mtp: Send the SLTM/SLTA on the link directlyHolger Hans Peter Freyther1-1/+1
For both the SLTM that the app is sending and the SLTM we are receiving we don't want to go through the SLC.
2011-01-20mtp: Create a method for a link failure to restart the link.Holger Hans Peter Freyther1-1/+7
Make sure that a failed link will be restarted by calling the reset method which should take the link down.
2011-01-20mtp: Remove the unused linkset_sccp_down routine as it is not usedHolger Hans Peter Freyther1-1/+1
2011-01-20mtp: Move the link testing into a new file for mtp_linkHolger Hans Peter Freyther1-0/+150
The link testing should work under the linkset and if the SLTM is failing the link should be taken down and it should be restarted.