aboutsummaryrefslogtreecommitdiffstats
path: root/src/link_udp.c
AgeCommit message (Collapse)AuthorFilesLines
2011-01-28mtp: Turn error messages into full sentences.Holger Hans Peter Freyther1-12/+20
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-28udp: Use link up/down signals from the MIB for the linkHolger Hans Peter Freyther1-8/+17
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-24udp: Create a SNMP session per UDPHolger Hans Peter Freyther1-13/+11
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-7/+19
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: Classify the direction of such a messageHolger Hans Peter Freyther1-2/+2
2011-01-22pcap: Run all pcap operations through one methodHolger Hans Peter Freyther1-4/+2
2011-01-21udp: Make the SNMP code asynchronouson-waves/multiple-linksHolger Hans Peter Freyther1-11/+49
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: Poll SNMP for timeouts and fd every 100msHolger Hans Peter Freyther1-0/+11
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-25/+63
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: Create a method for a link failure to restart the link.Holger Hans Peter Freyther1-3/+2
Make sure that a failed link will be restarted by calling the reset method which should take the link down.
2011-01-20mtp: Rename the the_link to set as it is a link setHolger 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-17mtp: Rename link_data to mtp_link and move out the transport specific thingsHolger Hans Peter Freyther1-36/+44
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: Remove the forced_down as it is never read in that applicationHolger Hans Peter Freyther1-1/+0
2011-01-17mtp: Propagate link and linkset failures in two stagesHolger Hans Peter Freyther1-5/+5
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-1/+1
The link_udp is actually below the linkset. We need to get this right now and then can have multiple links.
2011-01-17linkset: Prepare the UDP support to support multiple links.Holger Hans Peter Freyther1-3/+3
2011-01-16license: Switch to the GNU AGPLv3 for this network serviceHolger Hans Peter Freyther1-7/+6
2010-08-04Use libosmocore instead of the old temporary laF0rge1 lib..Holger Hans Peter Freyther1-2/+2
2010-07-28Public release of the cellmgr_ng code to convert E1 to IPA SCCPHolger Hans Peter Freyther1-0/+235