aboutsummaryrefslogtreecommitdiffstats
path: root/include/mtp_data.h
AgeCommit message (Collapse)AuthorFilesLines
2011-05-08Adopt to recent libosmocore namespace changes and libosmogsmHarald Welte1-8/+8
2011-03-03ss7: Drop the input of packages as wellzecke/test-forward-failureHolger Hans Peter Freyther1-0/+1
We don't want the input change any state on the linkset and will drop them if we think our application is not reachable.
2011-02-23mtp: Call the mtp_link_set always set otherwise things get confusingHolger Hans Peter Freyther1-7/+7
In a backtrace it is confusing to see variables called link and link and one is a mtp_link and the other is a mtp_link_set.
2011-02-23mtp: Attempt to implement the MTP Restart properlyHolger Hans Peter Freyther1-0/+6
For the SSP functionatilty we will need to have the timers T18 and T20. In the period of T18 we will collect TFP/TFR/TFA for the reachable nodes of the system. Each of this node will send us a TRA when it is finished. Right now we assume to only have one node and stop the T18 after the TRA of this node. Then we would need to send the TFP/TFR we have collected. On the expiry of the T20 timer we will need to send our TRA and notify local users. For more complex routing we will need to have a shared routing cache and remember which SSNs and OPCs are reachable and have inter linkset notifications.
2011-02-23vty: Add all mighty new vty interface for osmo-stpHolger Hans Peter Freyther1-0/+1
This new interface allows to have multiple linksets, msc connections and ways to connect those in one instance of the osmo-stp. Forbid to reset linksets without an app.
2011-02-17mtp: Rename link_no to nr, add a name like for the other commandsHolger Hans Peter Freyther1-1/+2
2011-02-17mtp: Make the mtp_link point to a specific type of linkHolger Hans Peter Freyther1-2/+13
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-02-17mtp: Stop hardcoding the supported SSN inside the mtp_layer3.cHolger Hans Peter Freyther1-0/+3
Stop hardcoding the supported ssn's inside the mtp_layer3.c and make it possible to allow to configure this in the future.
2011-02-17mtp: Remove the bsc pointer from the MTP LinkSetHolger Hans Peter Freyther1-1/+0
2011-02-17mtp: Rename no to nr to align with the rest of the structsHolger Hans Peter Freyther1-1/+1
2011-02-17ss7: Create a SS7 application that is responsible for the routingHolger Hans Peter Freyther1-3/+2
2011-02-17msc: Move the MSC Connection into a new header fileHolger Hans Peter Freyther1-2/+2
This is in preparation of splitting the MSC part and the nat logic for the upcoming config rewriting.
2011-02-17mtp: Allow to find a linkset by numberHolger Hans Peter Freyther1-0/+1
2011-02-17mtp: Allocate the MTPLinkSet as a child of the BSCHolger Hans Peter Freyther1-5/+6
In preparation of the VTY code change, make the mtp linkset a child of the bsc.
2011-02-10bsc: Remove the global link_set pointer from the bscHolger Hans Peter Freyther1-0/+3
Start removing the static names for the linkset
2011-02-10bsc: Move the BSC<->MSC variables to a new struct.Holger Hans Peter Freyther1-0/+2
Move the MSC related information out of the bsc_data and update the code to use this BSC configuration. This is greatly cleaning up the code and in theory there might now be two BSC and two MSCs that one application can handle (minus the missing VTY config)
2011-02-10stp: Add code that allows to inject messages on any linksetHolger Hans Peter Freyther1-0/+1
This can be useful to test out certain messages without having any of the linksets be fully connected. It is not possible to get the result. In the future this code should reply with an M2UA error message if something went wrong.
2011-01-26mtp: Assign a name to linkset, use this name in the log messagesHolger Hans Peter Freyther1-0/+2
2011-01-25mtp: Remember the first SLS this link is onHolger Hans Peter Freyther1-0/+1
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/+5
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-22pcap: Allow to log on a link or linkset levelHolger Hans Peter Freyther1-0/+2
2011-01-22stats: Count packets on a per link levelHolger Hans Peter Freyther1-2/+5
2011-01-22stats: Collect statistics on the linksetHolger Hans Peter Freyther1-0/+4
Collect incoming, in sccp, in isup, out isup, out sccp packets. This does not yet work for out in total.
2011-01-20mtp: Send the SLTM/SLTA on the link directlyHolger Hans Peter Freyther1-1/+0
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: Count the links in a linksetHolger Hans Peter Freyther1-0/+2
2011-01-20mtp: Create a method for a link failure to restart the link.Holger Hans Peter Freyther1-0/+2
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/+0
2011-01-20mtp: Move the link testing into a new file for mtp_linkHolger Hans Peter Freyther1-11/+26
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.
2011-01-20mtp: Rename the the_link to set as it is a link setHolger Hans Peter Freyther1-1/+1
2011-01-20mtp: Start the linktest directlyHolger Hans Peter Freyther1-2/+0
No need for delaying the linktest, start it directly when the linkset should come up
2011-01-20mtp: Send the TFP/TRA once the first link is availableHolger Hans Peter Freyther1-0/+1
Instead of sending SCCP TFP/TRA as a response to a TRA the code will now send one as a response to the first SLTA we receive in the linkset on the first link.
2011-01-20isup: Allow to have a different OPC for ISUP messages.Holger Hans Peter Freyther1-1/+1
2011-01-20mtp: Make the input path work on a specific link of the linksetHolger Hans Peter Freyther1-1/+1
2011-01-20stp: Allow to forward all ISUP messages without any modificationHolger Hans Peter Freyther1-0/+3
2011-01-20stp: Forward unhandled ISUP from one end to anotherHolger Hans Peter Freyther1-0/+1
2011-01-17mtp: Rename link_data to mtp_link and move out the transport specific thingsHolger Hans Peter Freyther1-5/+28
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-17mtp: Turn the MTPl2 link into a list of links.Holger Hans Peter Freyther1-2/+3
2011-01-17mtp: Keep an array for the SLS -> SLC mapping for active links.Holger Hans Peter Freyther1-1/+4
2011-01-17mtp: Make the link_data be a child of the link_setHolger Hans Peter Freyther1-0/+3
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-17mtp: Propagate link and linkset failures in two stagesHolger Hans Peter Freyther1-2/+7
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-17mtp: Rename mtp_link to mtp_link_set as this is the linksetHolger Hans Peter Freyther1-12/+12
The link_udp is actually below the linkset. We need to get this right now and then can have multiple links.
2011-01-17mtp: Attempt to select the sls properly in the round robin fashionHolger Hans Peter Freyther1-0/+2
When we call the submit method with a SLS of -1 we will try to find the next SLS to do things in a round robin way.
2011-01-17mtp: Kill the link variable from the mtp link.Holger Hans Peter Freyther1-4/+0
2011-01-17sccp: Stop queueing messages between SLTM messagesHolger Hans Peter Freyther1-2/+0
Remove the queueing of messages that was added during a debugging session and should not be needed. This will simply bringing down the linkset.
2011-01-16license: Switch to the GNU AGPLv3 for this network serviceHolger Hans Peter Freyther1-7/+6
2011-01-01mtp: Allow to have a different POC for SCCPHolger Hans Peter Freyther1-1/+1
2010-12-10isup: Respond to a ISUP GRS with a GRA.Holger Hans Peter Freyther1-0/+1
2010-11-26mtp: Be able to set the spare bits in the network indicatorHolger Hans Peter Freyther1-0/+1
2010-11-26mtp: Store the NetworIndicator in the mtp_link and use itHolger Hans Peter Freyther1-0/+1
Prepare to make the ni configurable and store it inside the mtp_link where it can be changed by the user of the mtp_link. Initialize this to the current value.