aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2011-01-20mtp: Allow to run multiple links through the same socketmultiple-linksets-2Holger Hans Peter Freyther3-34/+88
The UDP socket will be shared between multiple links, the snmp session will be also shared between multiple links on the same hardware.
2011-01-20mtp: Return SLTA on the same SLS, send SLTM with a static slsHolger Hans Peter Freyther2-2/+8
Derive the SLS from the static link_no we have assigned.
2011-01-20mtp: Send the SLTM/SLTA on the link directlyHolger Hans Peter Freyther3-8/+2
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 Freyther2-0/+3
2011-01-20mtp: Create a method for a link failure to restart the link.Holger Hans Peter Freyther3-4/+11
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 Freyther4-10/+1
2011-01-20mtp: Move the link testing into a new file for mtp_linkHolger Hans Peter Freyther6-139/+214
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 Freyther4-13/+14
2011-01-20mtp: Stop assigning the link_set it will be done in mtpl3Holger Hans Peter Freyther2-2/+0
2011-01-20mtp: Start the linktest directlyHolger Hans Peter Freyther2-11/+1
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 Freyther2-21/+40
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-20mtp: Only respond to regular maintainenance for our code pointHolger Hans Peter Freyther1-0/+6
2011-01-20mtp: Fix the address mask, macro to extract opc/dpcHolger Hans Peter Freyther2-1/+21
Fix the address mask, add macro to extract the DPC and OPC from an address. Write a test case for this.
2011-01-20Merge branch 'on-waves/stp'Holger Hans Peter Freyther15-51/+520
2011-01-20isup: Attempt a short cut in the link bring up by sending a unblockHolger Hans Peter Freyther2-8/+29
Attempt to unblock all circuits after the Gateway has blocked them. In the ISUP spec we would need to go through the continuity test and such.
2011-01-20isup: Handle a CGB with a CGBA and claim all circuits to be blockedHolger Hans Peter Freyther1-3/+37
This is to help the Exchange B to go through the start procedure.
2011-01-20isup: Make status parsing and status response be genericHolger Hans Peter Freyther3-9/+9
2011-01-20isup: Attempt to handle a RSC on the exchangeHolger Hans Peter Freyther2-0/+43
2011-01-20isup: Allow to have a different OPC for ISUP messages.Holger Hans Peter Freyther7-2/+8
2011-01-20isup: ANSI/ITU have a different idea about the CIC and spare bitsHolger Hans Peter Freyther1-7/+1
There can be 2 or 4 spare bits depending on the ISUP spec, it is better to handle this in higher code and assume the whole thing is a cic.
2011-01-20isup: Fix the lebgth check in this packetHolger Hans Peter Freyther1-1/+1
2011-01-20isup: Add the isup_types.h to the header files (fixes distcheck)Holger Hans Peter Freyther1-1/+2
2011-01-20mtp: Add defines for the test messagesHolger Hans Peter Freyther1-0/+4
2011-01-20mtp: Send a TFA for the point codes we are routing to.Holger Hans Peter Freyther2-4/+26
2011-01-20mtp: Send TRA messages on all affected point codesHolger Hans Peter Freyther1-5/+20
2011-01-20mtp: Send the TFP for every POC we want to handle.Holger Hans Peter Freyther1-3/+20
2011-01-20mtp: Make the input path work on a specific link of the linksetHolger Hans Peter Freyther4-9/+9
2011-01-20stp: Set the pcap fd properly... WIP merge thisHolger Hans Peter Freyther1-1/+1
2011-01-20stp: Allow to forward all ISUP messages without any modificationHolger Hans Peter Freyther3-0/+12
2011-01-20stp: Forward unhandled ISUP from one end to anotherHolger Hans Peter Freyther8-8/+29
2011-01-20stp: Create a M2UA link by hand and connect the SCCP routinesHolger Hans Peter Freyther3-1/+24
This is a hacked version that will just forward SCCP from one linkset to another one. It is missing configuration and ISUP.
2011-01-20stp: Begin to implement a signalling transfer pointHolger Hans Peter Freyther2-1/+245
This is creating a new application that will be a signalling transfer point. Right now it is a stripped down version of the udt_relay, which is a stripped down version of cellmgr_ng.
2011-01-20mtp: Do not send anything in case the there is no linkHolger Hans Peter Freyther1-0/+3
If there is no usable link in the linkset we should not try to send. This assumes that all incoming packages come from links that are up. We do not check this right now but we will have to check this.
2011-01-20mtp: Send the SSA/SSP for the apoc and assn of the requestHolger Hans Peter Freyther1-3/+3
2011-01-20mtp: Send the SSA with the affected POC for SCCP.Holger Hans Peter Freyther1-1/+1
2011-01-20m2ua: Write MTP packets to the pcap file if requested.Holger Hans Peter Freyther1-1/+10
2011-01-17Merge branch 'on-waves/m2ua'Holger Hans Peter Freyther10-105/+808
2011-01-17m2ua: Create a MTP Link class using SCTP/M2UA for the transporton-waves/m2uaHolger Hans Peter Freyther5-3/+696
This is a MTP Link that can be used with a MTP LinkSet. E.g. with some config changes one could use cellmgr_ng or udt_relay over a M2UA link.
2011-01-17mtp: Rename link_data to mtp_link and move out the transport specific thingsHolger Hans Peter Freyther5-102/+112
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-17Merge branch 'on-waves/multiple-links'Holger Hans Peter Freyther17-387/+414
2011-01-17mtp: Create the SLC with all linksHolger Hans Peter Freyther1-2/+35
2011-01-17mtp: take the linkset down when the last link is failingHolger Hans Peter Freyther2-2/+29
2011-01-17mtp: Remove the forced_down as it is never read in that applicationHolger Hans Peter Freyther2-2/+0
2011-01-17mtp: Turn the MTPl2 link into a list of links.Holger Hans Peter Freyther6-23/+70
2011-01-17mtp: Keep an array for the SLS -> SLC mapping for active links.Holger Hans Peter Freyther3-9/+21
2011-01-17mtp: Make the link_data be a child of the link_setHolger Hans Peter Freyther7-48/+60
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 Freyther6-46/+54
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 Freyther12-91/+91
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 Freyther5-4/+11
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 Freyther2-5/+0