Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-01-24 | mtp: Call it mtp_link_submit and use it in mtp_link | Holger Hans Peter Freyther | 1 | -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-24 | udp: Create a SNMP session per UDP | Holger Hans Peter Freyther | 1 | -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-24 | mtp: Make it possible to block a link. | Holger Hans Peter Freyther | 1 | -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-22 | debug: Add two categories to be used in the future. | Holger Hans Peter Freyther | 1 | -0/+2 | |
2011-01-22 | pcap: Allow to log on a link or linkset level | Holger Hans Peter Freyther | 1 | -0/+2 | |
2011-01-22 | pcap: Classify the direction of such a message | Holger Hans Peter Freyther | 1 | -1/+5 | |
2011-01-22 | pcap: Run all pcap operations through one method | Holger Hans Peter Freyther | 2 | -2/+5 | |
2011-01-22 | udp: Allow to create multiple links via UDP | Holger Hans Peter Freyther | 1 | -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-22 | vty: Classify the application that we run and provide different options | Holger Hans Peter Freyther | 1 | -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-22 | stats: Count packets on a per link level | Holger Hans Peter Freyther | 1 | -2/+5 | |
2011-01-22 | stats: Collect statistics on the linkset | Holger Hans Peter Freyther | 1 | -0/+4 | |
Collect incoming, in sccp, in isup, out isup, out sccp packets. This does not yet work for out in total. | |||||
2011-01-22 | stats: Add rate_counter for more statistics on the MTP side | Holger Hans Peter Freyther | 2 | -1/+47 | |
2011-01-21 | udp: Make the SNMP code asynchronouson-waves/multiple-links | Holger Hans Peter Freyther | 2 | -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-21 | udp: Make two snmp functions internal | Holger Hans Peter Freyther | 1 | -3/+0 | |
2011-01-21 | udp: Poll SNMP for timeouts and fd every 100ms | Holger Hans Peter Freyther | 2 | -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-21 | udp: Allow to run multiple links through the same socket | Holger Hans Peter Freyther | 1 | -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-20 | mtp: Send the SLTM/SLTA on the link directly | Holger Hans Peter Freyther | 1 | -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-20 | mtp: Count the links in a linkset | Holger Hans Peter Freyther | 1 | -0/+2 | |
2011-01-20 | mtp: Create a method for a link failure to restart the link. | Holger Hans Peter Freyther | 1 | -0/+2 | |
Make sure that a failed link will be restarted by calling the reset method which should take the link down. | |||||
2011-01-20 | mtp: Remove the unused linkset_sccp_down routine as it is not used | Holger Hans Peter Freyther | 1 | -1/+0 | |
2011-01-20 | mtp: Move the link testing into a new file for mtp_link | Holger Hans Peter Freyther | 2 | -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-20 | mtp: Rename the the_link to set as it is a link set | Holger Hans Peter Freyther | 1 | -1/+1 | |
2011-01-20 | mtp: Start the linktest directly | Holger Hans Peter Freyther | 1 | -2/+0 | |
No need for delaying the linktest, start it directly when the linkset should come up | |||||
2011-01-20 | mtp: Send the TFP/TRA once the first link is available | Holger Hans Peter Freyther | 1 | -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-20 | mtp: Fix the address mask, macro to extract opc/dpc | Holger Hans Peter Freyther | 1 | -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-20 | isup: Attempt a short cut in the link bring up by sending a unblock | Holger Hans Peter Freyther | 1 | -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-20 | isup: Make status parsing and status response be generic | Holger Hans Peter Freyther | 1 | -1/+1 | |
2011-01-20 | isup: Attempt to handle a RSC on the exchange | Holger Hans Peter Freyther | 1 | -0/+5 | |
2011-01-20 | isup: Allow to have a different OPC for ISUP messages. | Holger Hans Peter Freyther | 2 | -1/+2 | |
2011-01-20 | isup: ANSI/ITU have a different idea about the CIC and spare bits | Holger Hans Peter Freyther | 1 | -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-20 | isup: Add the isup_types.h to the header files (fixes distcheck) | Holger Hans Peter Freyther | 1 | -1/+2 | |
2011-01-20 | mtp: Add defines for the test messages | Holger Hans Peter Freyther | 1 | -0/+4 | |
2011-01-20 | mtp: Send a TFA for the point codes we are routing to. | Holger Hans Peter Freyther | 1 | -0/+2 | |
2011-01-20 | mtp: Make the input path work on a specific link of the linkset | Holger Hans Peter Freyther | 1 | -1/+1 | |
2011-01-20 | stp: Allow to forward all ISUP messages without any modification | Holger Hans Peter Freyther | 1 | -0/+3 | |
2011-01-20 | stp: Forward unhandled ISUP from one end to another | Holger Hans Peter Freyther | 2 | -1/+2 | |
2011-01-20 | stp: Create a M2UA link by hand and connect the SCCP routines | Holger Hans Peter Freyther | 1 | -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-17 | m2ua: Create a MTP Link class using SCTP/M2UA for the transporton-waves/m2ua | Holger Hans Peter Freyther | 2 | -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-17 | mtp: Rename link_data to mtp_link and move out the transport specific things | Holger Hans Peter Freyther | 2 | -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-17 | mtp: take the linkset down when the last link is failing | Holger Hans Peter Freyther | 1 | -0/+2 | |
2011-01-17 | mtp: Remove the forced_down as it is never read in that application | Holger Hans Peter Freyther | 1 | -1/+0 | |
2011-01-17 | mtp: Turn the MTPl2 link into a list of links. | Holger Hans Peter Freyther | 2 | -2/+8 | |
2011-01-17 | mtp: Keep an array for the SLS -> SLC mapping for active links. | Holger Hans Peter Freyther | 1 | -1/+4 | |
2011-01-17 | mtp: Make the link_data be a child of the link_set | Holger Hans Peter Freyther | 2 | -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-17 | mtp: Propagate link and linkset failures in two stages | Holger Hans Peter Freyther | 2 | -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-17 | mtp: Rename mtp_link to mtp_link_set as this is the linkset | Holger Hans Peter Freyther | 4 | -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-17 | mtp: Attempt to select the sls properly in the round robin fashion | Holger Hans Peter Freyther | 1 | -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-17 | mtp: Kill the link variable from the mtp link. | Holger Hans Peter Freyther | 1 | -4/+0 | |
2011-01-17 | linkset: Prepare the UDP support to support multiple links. | Holger Hans Peter Freyther | 2 | -2/+3 | |
2011-01-17 | msc: Remove the msc_clear_queue now that it is not needed | Holger Hans Peter Freyther | 1 | -1/+0 | |