aboutsummaryrefslogtreecommitdiffstats
path: root/include
AgeCommit message (Collapse)AuthorFilesLines
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-24udp: Create a SNMP session per UDPHolger Hans Peter Freyther1-3/+5
We do not have the multiple callbacks from SNMP under control and we can only save the last request if the SNMP Session is inside the link. This is mostly a workaround for Net-SNMP and the missing documentation on the async functionality.
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-22debug: Add two categories to be used in the future.Holger Hans Peter Freyther1-0/+2
2011-01-22pcap: Allow to log on a link or linkset levelHolger Hans Peter Freyther1-0/+2
2011-01-22pcap: Classify the direction of such a messageHolger Hans Peter Freyther1-1/+5
2011-01-22pcap: Run all pcap operations through one methodHolger Hans Peter Freyther2-2/+5
2011-01-22udp: Allow to create multiple links via UDPHolger Hans Peter Freyther1-0/+1
This is the easiest way to support multiple links over UDP. Specify the number you want and they will be initiated. All these links will run via the same UDP port.
2011-01-22vty: Classify the application that we run and provide different optionsHolger Hans Peter Freyther1-0/+8
The VTY interface is used for three different application and not every option will make sense for every app. In the long run we will split the vty interface but for now we just qualify the application.
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-22stats: Add rate_counter for more statistics on the MTP sideHolger Hans Peter Freyther2-1/+47
2011-01-21udp: Make the SNMP code asynchronouson-waves/multiple-linksHolger Hans Peter Freyther2-1/+25
Do not block the application when doing a SNMP request. Work with the results coming back from the callback. Right now a link can only be taken down and up.
2011-01-21udp: Make two snmp functions internalHolger Hans Peter Freyther1-3/+0
2011-01-21udp: Poll SNMP for timeouts and fd every 100msHolger Hans Peter Freyther2-0/+2
This is the easiest way to integrate net-snmp with the event loop, every 100ms we are going to check for timeouts or incoming messages
2011-01-21udp: Allow to run multiple links through the same socketHolger Hans Peter Freyther1-5/+17
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: 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 Freyther2-13/+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-20mtp: Fix the address mask, macro to extract opc/dpcHolger Hans Peter Freyther1-1/+9
Fix the address mask, add macro to extract the DPC and OPC from an address. Write a test case for this.
2011-01-20isup: Attempt a short cut in the link bring up by sending a unblockHolger Hans Peter Freyther1-0/+2
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: Make status parsing and status response be genericHolger Hans Peter Freyther1-1/+1
2011-01-20isup: Attempt to handle a RSC on the exchangeHolger Hans Peter Freyther1-0/+5
2011-01-20isup: Allow to have a different OPC for ISUP messages.Holger Hans Peter Freyther2-1/+2
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: 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 Freyther1-0/+2
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 Freyther2-1/+2
2011-01-20stp: Create a M2UA link by hand and connect the SCCP routinesHolger Hans Peter Freyther1-0/+1
This is a hacked version that will just forward SCCP from one linkset to another one. It is missing configuration and ISUP.
2011-01-17m2ua: Create a MTP Link class using SCTP/M2UA for the transporton-waves/m2uaHolger Hans Peter Freyther2-1/+61
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 Freyther2-40/+42
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: take the linkset down when the last link is failingHolger Hans Peter Freyther1-0/+2
2011-01-17mtp: Remove the forced_down as it is never read in that applicationHolger Hans Peter Freyther1-1/+0
2011-01-17mtp: Turn the MTPl2 link into a list of links.Holger Hans Peter Freyther2-2/+8
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 Freyther2-1/+6
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 Freyther2-6/+14
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 Freyther4-17/+17
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-17linkset: Prepare the UDP support to support multiple links.Holger Hans Peter Freyther2-2/+3
2011-01-17msc: Remove the msc_clear_queue now that it is not neededHolger Hans Peter Freyther1-1/+0