aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2011-01-28mtp: Turn error messages into full sentences.Holger Hans Peter Freyther4-21/+31
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 Freyther2-0/+12
2011-01-28udp: Use link up/down signals from the MIB for the linkHolger Hans Peter Freyther2-8/+20
The mib was patched to send link up/down in case of failures, only put a link service when the MIB tells us the link is up, the failure case should only happen for remote links failing. We will reset and go through link alignment.
2011-01-26mgcp: Turn the endpoint-offset into a proper config optionHolger Hans Peter Freyther1-3/+2
2011-01-26mgcp: Make it possible to control the offset from Endpoint to CICHolger Hans Peter Freyther1-4/+17
2011-01-26mtp: Assign a name to linkset, use this name in the log messagesHolger Hans Peter Freyther5-9/+23
2011-01-26sctp: Close the socket if we get <= 0 as a result for sctp_rcvmsgHolger Hans Peter Freyther1-1/+1
The manpage says that -1 is the indication for error but on 2.6.12 we just ended up in a infinite loop as select shows the socket as readable but a recvmsg does not give any data.
2011-01-25mgcp: Merge from master to respond to a RQNTHolger Hans Peter Freyther1-2/+27
2011-01-25mtp: Send the TFP/TRA/TFA with the first SLS provided by that link1.1.0Holger Hans Peter Freyther1-4/+5
2011-01-25mtp: Make SCCP tfa/tra/tfp messages work on the linksetHolger Hans Peter Freyther1-22/+24
This will be used to send the data with the right SLS from the right link of the linkset.
2011-01-25mtp: Remember the first SLS this link is onHolger Hans Peter Freyther2-1/+8
2011-01-25vty: Fix the up/down of the MSC linkHolger Hans Peter Freyther1-1/+1
2011-01-25configure: We do not want to always link to -lsctpHolger Hans Peter Freyther1-0/+2
The AC_CHECK_LIB is always setting the LIBS variable and this will be used for every linker call. We do not want this.
2011-01-25mtp: Fix the logic... close the socket if we are blockedHolger Hans Peter Freyther1-1/+1
Thinko or such.
2011-01-24vty: Show the SLC mapping of a linksetHolger Hans Peter Freyther1-0/+31
2011-01-24stats: Fix counting incoming packets from a linkHolger Hans Peter Freyther1-0/+1
2011-01-24mtp: Call it mtp_link_submit and use it in mtp_linkHolger Hans Peter Freyther3-9/+9
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 Freyther3-18/+18
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: Show blocked links as blocked in the vty statHolger Hans Peter Freyther1-4/+8
2011-01-24mtp: Implement VTY routines to block,unblock,reset a linkHolger Hans Peter Freyther1-0/+58
This can help in link management and reconfiguration of a link at runtime. It is also a good engineering mode for multiple linksets.
2011-01-24mtp: Make it possible to block a link.Holger Hans Peter Freyther4-10/+49
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-23pcap: Fix stupid bug and unbreak pcap writingHolger Hans Peter Freyther1-2/+2
2011-01-22vty: Install the vty logging commandsHolger Hans Peter Freyther1-0/+2
2011-01-22pcap: Dump each packet in the DCAP categoryHolger Hans Peter Freyther1-0/+3
2011-01-22debug: Set the right debug area for the M2UA codeHolger Hans Peter Freyther2-0/+6
2011-01-22debug: Add two categories to be used in the future.Holger Hans Peter Freyther2-0/+12
2011-01-22stat: Dump a name next to the OPCHolger Hans Peter Freyther1-4/+4
2011-01-22pcap: Allow to start tracing on a specific linkset after app startHolger Hans Peter Freyther1-0/+62
Allow to start to trace on a specific linkset after the application has been started. This allows to stop tracing on a linkset as well.
2011-01-22pcap: Allow to log on a link or linkset levelHolger Hans Peter Freyther3-4/+9
2011-01-22pcap: Classify the direction of such a messageHolger Hans Peter Freyther4-6/+10
2011-01-22pcap: Run all pcap operations through one methodHolger Hans Peter Freyther5-10/+18
2011-01-22udp: Allow to create multiple links via UDPHolger Hans Peter Freyther6-23/+42
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: Print the MSC status on the VTY for relay/cellmgrHolger Hans Peter Freyther1-0/+15
2011-01-22vty: Classify the application that we run and provide different optionsHolger Hans Peter Freyther5-4/+16
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-22Merge branch 'on-waves/stats'Holger Hans Peter Freyther10-16/+237
2011-01-22stats: Print some statistics about the state of the current setHolger Hans Peter Freyther1-0/+33
2011-01-22stats: Implement VTY command to dump the linksetsHolger Hans Peter Freyther1-0/+29
2011-01-22stats: Count packets on a per link levelHolger Hans Peter Freyther4-7/+32
2011-01-22stats: Collect statistics on the linksetHolger Hans Peter Freyther3-5/+28
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 Freyther4-4/+115
2011-01-21Merge branch 'on-waves/multiple-links'Holger Hans Peter Freyther5-60/+253
2011-01-21udp: Make the SNMP code asynchronouson-waves/multiple-linksHolger Hans Peter Freyther5-29/+131
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 Freyther2-5/+2
2011-01-21udp: Poll SNMP for timeouts and fd every 100msHolger Hans Peter Freyther4-0/+40
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 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-21msc: Fix crash due pong timeout started from a msc resetHolger Hans Peter Freyther1-0/+10
This is fixing a crash that is caused by the MTP link going down/up and the main routines asking to send a reset to the MSC. The sending of a reset is triggering the ping/pong timeouts. In case there is no MSC connection we could crash.
2011-01-20Merge branch 'on-waves/multiple-links'Holger Hans Peter Freyther10-190/+300
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